<div dir="ltr">OK, I think I found the probably answer about removing controller.<div><br></div><div>Refer from Oracle. I know there're different between kollacli and kolla-ansible, but I think the few mechanism are the same.</div><div><br></div><div>To remove the controller that having a problem (the controller already dead caused by hardware failure for example):</div><div>1. Remove the node from inventory.</div><div>2. Do kolla-ansible reconfigure. Then check if all information has updated.</div><div><br></div><div>To add the new controller, just do the same as addition from previous mail.</div><div><br></div><div>For now I have not enough machines to try this, but this is what I approach.</div><div>Please correct me if there's something wrong.</div><div><br></div><div><br></div><div>Many thanks,</div><div>Eddie.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Eddie Yen <<a href="mailto:missile0407@gmail.com">missile0407@gmail.com</a>> 於 2019年9月3日 週二 下午3:51寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I wanna know the correct way to add/remove nodes since I can't find the completely document or tutorial about this part.</div><div><br></div><div>Here's what I know for now.</div><div><br></div><div>For addition:</div><div>1. Install OS and setting up network on new servers.</div><div>2. Add new server's information into /etc/hosts and inventory file</div><div>3. Do bootstrapping to these servers by using bootstrap-servers with --limit option</div><div>4. (For Ceph OSD node) Add disk label to the disks that will become OSD.</div><div>5. Deploy again.</div><div><br></div><div><br></div><div>For deletion (Compute):</div><div>1. Do migration if there're VMs exist on target node.</div><div>2. Set nova-compute service down on target node. Then remove the service from nova cluster.</div><div>3. Disable all Neutron agents on target node and remove from Neutron cluster.</div><div>4. Using kolla-ansible to stop all containers on target node.</div><div>5. Cleanup all containers and left settings by using cleanup-containers and cleanup-host script.</div><div><br></div><div><br></div><div>For deletion (Ceph OSD node):</div><div>1. Remove all OSDs on target node by following Ceph tutorial.</div><div>2. Using kolla-ansible to stop all containers on target node.</div><div>3. Cleanup all containers and left settings by using cleanup-containers and cleanup-host script.</div><div><br></div><div><br></div><div><br></div><div>Now I'm not sure about Controller if there's one controller down and want to add another one into HA cluster. My thought is that add into cluster first, then delete the informations about corrupted controller. But I have no clue about the details. Only about Ceph controller (mon, rgw, mds,. etc) </div><div><br></div><div>Does anyone has experience about this?</div><div><br></div><div><br></div><div>Many thanks,</div><div>Eddie.</div></div>
</blockquote></div>