HCI/NUTANIX

NUTANIX ESXi 재부팅 순서

Nutanix ESXi 노드 Shutdown 순서

 

1) PRISM 에서 클러스터의 상태 확인

(Ensure that the “Data Resiliency – Status” is Normal in PRISM Portal for the target Cluster.)

 

2) 해당 ESXi 노드의 CVM을 제외한 모든 VM을 다른 ESXi로 마이그레이션

(Migrated all the user VMs (except CVM) residing in the target ESXi host to other healthy nodes part of the cluster.)

 

3) 해당 ESXi노드의 CVM에 nutanix 유저로 접속 SSH로 접속

(Connect the CVM via SSH and find its UUID using below mentioned command.)
 

$ ncli host ls | grep -C7 [IP address of CVM]

4) 해당 CVM VM 유지보수 모드 시작

(Place the CVM in maintenance mode using below mentioned command with UUID which we have traced using previous step.)

 

$ ncli host edit id=[uuid] enable-maintenance-mode="true"

5) CVM 상태 확인

(Verify that the CVM has been placed in maintenance mode using following command.)

$ cluster status | grep CVM

6) 해당 CVM VM 종료

(Perform shutdown of CVM using below mentioned command.)

$ cvm_shutdown –h now

7) ESXi 호스트 유지보수 모드 & 종료(또는 재부팅)

(Place the ESXi host in maintenance mode and do your maintenance activity.)

 

Nutanix ESXi 노드 Startup 순서

 

1) 유지보수 모드 종료 & CVM vm Start

(Exit the host from maintenance mode and Power ON the CVM.)

 

2) 다른 CVM SSH접속

Connect any one of neighbor CVM in cluster using SSH.

 

3) CVM이 유지 보수모드 인지 확인

Check the status of CVM which we have Powered ON using following command. In this stage CVM should be reported as it is in maintenance mode.

ncli host ls | grep -C7 [IP address of CVM]

4) 해당 CVM 유지보수 모드 종료

Exit the CVM from maintenance mode using below mentioned command.

$ ncli host edit id=[uuid] enable-maintenance-mode="false”

5) Cluster 상태 확인

Verify that the CVM has been removed from maintenance mode using following command.

$ cluster status | grep CVM

6) PRISM 에서 데이터 상태 및 동기화 상태 확인

Ensure that the “Data Resiliency and Meta-data sync status” came normal post completing the maintenance activity in PRISM portal. It may take 5 to 10 minutes to reflect.



NOTE: In the given commands, parameters in brackets [ ] should be replaced with correct value.For example –ncli host ls | grep -C7 [IP address of CVM]  ncli host ls | grep -C7 169.254.10.1

 

반응형