Skip to main content
Version: 2.1

Startup

Single node startup#

boot> bootstrap_cube#

$ ssh [email protected]Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.Password:Welcome to the Cube ApplianceEnter "help" for a list of available commandsHOSTNAME> bootHOSTNAME:boot> bootstrap_cubebootstraping cube...if this is a single node start, just run "boot> cluster_sync"if this is a cluster start, wait until bootstrap_done is done in all nodesand run "cluster> start" to sync cluster data for all nodesHOSTNAME:boot>

boot> cluster_sync#

HOSTNAME:boot> cluster_synccluster_sync successfully

Run services checking & repair#

CLI: cluster> check_repair

HOSTNAME> clusterHOSTNAME:cluster> check_repair          Service  Status  Report      ClusterLink      ok  [ link(v) ]  ClusterSettings      ok  [ etcd(v) ]        HaCluster  FIXING  [ hacluster(3) ]                       ok  [ hacluster(f) ]warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)         MsgQueue      ok  [ rabbitmq(v) ]           IaasDb      ok  [ mysql(v) ]        VirtualIp      ok  [ vip(v) haproxy_ha(v) ]          Storage      ok  [ ceph(v) ceph_mon(v) ceph_mgr(v) ceph_mds(v) ceph_osd(v) ceph_rgw(v) ]       ApiService      ok  [ haproxy(v) httpd(v) lmi(v) memcache(v) ]          Compute      ok  [ nova(v) ]          Network      ok  [ neutron(v) ]            Image      ok  [ glance(v) ]        BlockStor      ok  [ cinder(v) ]         FileStor      ok  [ manila(v) ]       ObjectStor      ok  [ swift(v) ]    Orchestration      ok  [ heat(v) ]            LBaaS      ok  [ octavia(v) ]           DNSaaS      ok  [ designate(v) ]           K8SaaS      ok  [ k3s(v) rancher(v) ]       InstanceHa      ok  [ masakari(v) ] DisasterRecovery      ok  [ freezer(v) ]         DataPipe      ok  [ zookeeper(v) kafka(v) ]          Metrics      ok  [ monasca(v) telegraf(v) grafana(v) ]     LogAnalytics      ok  [ filebeat(v) auditbeat(v) logstash(v) es(v) kibana(v) ]    Notifications      ok  [ influxdb(v) kapacitor(v) ]HOSTNAME:cluster> 

Cluster startup#

Control Node#

Order by: control_node1 > control_node2 > control_node3

Connect to control_node1 with ssh/ikvm/console

Run link_check#

run CLI boot> link_check to ensure all network links are connected

$ ssh [email protected]Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.Password:Welcome to the Cube ApplianceEnter "help" for a list of available commandsCONTROL1> bootCONTROL1:boot> link_checkPing 192.168.1.211 ... OKPing 192.168.1.212 ... OKPing 192.168.1.213 ... OKPing 192.168.10.211 ... OKPing 192.168.10.212 ... OKPing 192.168.10.213 ... OK

Run bootstrap_cube#

run CLI boot > bootstrap_cube on the control_node1 , wait for the Master node to finish the CLI boot > bootstrap_cube and repeat the same CLI boot > bootstrap_cube on control_node2 then control_node3

CONTROL1> bootCONTROL1:boot> bootstrap_cubebootstraping cube...if this is a single node start, just run "boot> cluster_sync"if this is a cluster start, wait until bootstrap_done is done in all nodesand run "cluster> start" to sync cluster data for all nodesCONTROL1:boot>

Compute Node#

Run bootstrap_cube#

Order by: compute_node1 > compute_node2 > compute_node3

Instruction: After 3 control nodes are complete CLI boot > bootstrap_cube , then you can run the CLI boot > bootstrap_cube on the compute nodes 1 by 1 Connect to compute_node1 with ssh/ikvm/console

$ ssh [email protected]Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.Password:Welcome to the Cube ApplianceEnter "help" for a list of available commandsCOMPUTE1> bootCOMPUTE1:boot> bootstrap_cubebootstraping cube...if this is a single node start, just run "boot> cluster_sync"if this is a cluster start, wait until bootstrap_done is done in all nodesand run "cluster> start" to sync cluster data for all nodesCOMPUTE1:boot>

Run cluster> start#

Once all nodes are complete CLI boot > bootstrap_cube , We need to run cluster> start on the one of the control nodes

$ ssh [email protected]Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.Password:Welcome to the Cube ApplianceEnter "help" for a list of available commandsCONTROL1> clusterCONTROL1:cluster> start         role                                           map------------------------------------------------------------          all     192.168.1.211,192.168.1.212,192.168.1.213      control     192.168.1.211,192.168.1.212,192.168.1.213      network     192.168.1.211,192.168.1.212,192.168.1.213      compute     192.168.1.211,192.168.1.212,192.168.1.213      storage     192.168.1.211,192.168.1.212,192.168.1.213------------------------------------------------------------mark host 192.168.1.211 upmark host 192.168.1.212 upmark host 192.168.1.213 upcluster start successfully

Run services checking & repair#

CLI: cluster> check_repair

CONTROL1> clusterCONTROL1:cluster> check_repair          Service  Status  Report      ClusterLink      ok  [ link(v) ]  ClusterSettings      ok  [ etcd(v) ]        HaCluster  FIXING  [ hacluster(3) ]                       ok  [ hacluster(f) ]         MsgQueue      ok  [ rabbitmq(v) ]           IaasDb      ok  [ mysql(v) ]        VirtualIp      ok  [ vip(v) haproxy_ha(v) ]          Storage      ok  [ ceph(v) ceph_mon(v) ceph_mgr(v) ceph_mds(v) ceph_osd(v) ceph_rgw(v) ]       ApiService      ok  [ haproxy(v) apache2(v) lmi(v) memcache(v) ]          Compute      ok  [ nova(v) ]          Network      ok  [ neutron(v) ]            Image      ok  [ glance(v) ]        BlockStor      ok  [ cinder(v) ]         FileStor      ok  [ manila(v) ]       ObjectStor      ok  [ swift(v) ]    Orchestration      ok  [ heat(v) ]            LBaaS      ok  [ octavia(v) ]           DNSaaS      ok  [ designate(v) ]       InstanceHa      ok  [ masakari(v) ] DisasterRecovery      ok  [ freezer(v) es235(v) ]         DataPipe      ok  [ zookeeper(v) kafka(v) ]          Metrics      ok  [ ceilometer(v) monasca(v) telegraf(v) grafana(v) ]     LogAnalytics      ok  [ filebeat(v) auditbeat(v) logstash(v) es(v) kibana(v) ]    Notifications      ok  [ influxdb(v) kapacitor(v) ]CONTROL1:cluster>
Last updated on by Roy Tan