Compute node (HCI) Replacement Guide
#
Remove Compute node from cluster#
Stop the compute hostGoto Admin > Compute > All Hypervisors
and click Compute host
tab. Look for the hostname you wish to remove and click on button DISABLE SERVICE
#
Disable serviceLeave a reason and click DISABLE SERVICE
#
Service DisabledMake sure the service is disabled
#
Migrate Instances from disabled hostGoto Admin > Compute > Instances
, look for the instances which is hosted on DISABLED Host
and start the LIVE MIGRATE INSTANCE
from the action menu
#
Allocate the instance to new hostYou can choose a preferred host to migrate or Automatically and SUBMIT
#
All instances has been migratedRepeat the steps and migrate the rest of the Instances
#
Connect to control node$ ssh [email protected]Warning: Permanently added '192.168.1.x' (ECDSA) to the list of known hosts.Password:
#
Remove the compute nodecontrol01> clustercontrol01:cluster> remove_node1: compute012: control033: compute024: control015: control02Enter index: 3this command is only applicable for compute or storage nodesmake sure its running instances have been properly terminated or migratedshutdown the target host before proceedingEnter 'YES' to confirm: YES
#
ResultsGoto Admin > Compute > All Hypervisors
and click Compute host
tab. Host compute02
has been removed from the Cluster
#
Backup Compute02 policiesFrom your local pc terminal
$ scp -r root@Compute02_IPADDRESS:/etc/policies Downloads/compute02_policy
#
Shutdown the compute02#
Adding Compute HostPrepare a new node with Cube.COS installed
#
ConfigurationReconfigure a new compute02 node by following any options of the list below:
#
Connect to controller$ ssh [email protected]Warning: Permanently added '192.168.1.x' (ECDSA) to the list of known hosts.Password:
#
Check & Repair servicesWelcome to the Cube ApplianceEnter "help" for a list of available commandscontrol1> clustercontrol1:cluster> check Service Status Report ClusterLink ok [ link(v) clock(v) dns(v) ] ClusterSys ok [ bootstrap(v) license(v) ] ClusterSettings ok [ etcd(v) ] HaCluster ok [ hacluster(v) ] 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) rbd_target(v) ] ApiService ok [ haproxy(v) httpd(v) lmi(v) memcache(v) ] SingleSignOn ok [ keycloak(v) ] Compute ok [ nova(v) ] Baremetal ok [ ironic(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) ] BusinessLogic ok [ mistral(v) murano(v) cloudkitty(v) senlin(v) watcher(v) ] ApiManager ok [ tyk(v) redis(v) mongodb(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) ]control1:cluster>
#
ResultsGoto Admin > Compute > All Hypervisors
and click Compute host
tab. Host compute02
has been added back to the Cluster