Shutting down and powering on a vSAN 6.0 Cluster when vCenter Server is running on top of vSAN

In my home lab (nested environment) i have tried vSAN. I don’t want one more VM to iSCSI storage whitch reserve resourche like memory. I used to Openfiler for solve this problem, but i have wanted to try vSAN.

I little bit from my environment:

My first test whitch i tried my lab was vShere Replication, so i builded two sites. One in NY and an other in LA. I  kepd NY site after i had done my test. This site consist of 3 ESXi 6.0 host and each host has 12GB memory, and 4 vCPU, one cluster (CLU-NY-1) and one linux base VCSA with latest release.

I’m planning one more article from vSAN where i show how can configure it, but in this article i’m going to write about how do shut down a vSAN cluster whitch store in vSAN’s datastore VCSA server.

HomeLab_network_vSAN

I found vmware KB Article from this, and i will follow this intructions ins this articel.

1 – Shut down all VM exept for VCSA (this will be the last VM)

2 – Make a note which host your vCenter Server virtual machine resides on. VMware recommend to migrate the vCenter Server virtual machine to the first ESXi host, so you can easily find the virtual machine when powering on your VSAN Cluster again. (below)

001_vCenter_host

3 – Ensure there are no VSAN components currently resynching.

002_vSAN_Resyncing_components_check

4 – Shut down VCSA

003_shutdown_VCSA
Open VCSA’s console, and fress F12, fill the password…
003_shutdown_VCSA_02.jpg
Press F2
003_shutdown_VCSA_03
Shut down in progress

5 – Enable SSH all ESXi hosts. You can login to vSphere Client (becouse web interface have shuted down) and click “Configuration” button, under this tab U can found in Software box “Security Profile” menu. In the right corner click “Properties…” and enable SSH service.

004_Enable_SSH_ESXi_host_01

004_Enable_SSH_ESXi_host_02

004_Enable_SSH_ESXi_host_03

When you enabled SSH service you can see a warning messages:
“SSH for the host has been enabled”

You can disable this warning messages, when you follow the steps from Yellow-Bricks site. This still work ESXi 6.0, i tried.

6 – Enter maintenance mode all ESXi hosts, use this command:

# esxcli system maintenanceMode set -e true -m noAction

005_MaintenanceMode_01
Open PuTTY and loging into ESXi

005_MaintenanceMode_02

7 – Shut down ESXi hosts via DCUI

006_ShutDown_ESXi_host_via_DCUI
Press F12, type password…
006_ShutDown_ESXi_host_via_DCUI_01
Press F2

006_ShutDown_ESXi_host_via_DCUI_02

Powering On vSAN Cluster

1 – Power on ESXi host(s)

007_PowerOn_all_ESXi_hosts

007_PowerOn_all_ESXi_hosts_01

007_PowerOn_all_ESXi_hosts_02

2 – Exit from maintenace mode all ESXi host

# esxcli system maintenanceMode set -e false

008_Exit_MaintenanceMode_via_ssh

3 – Login that ESXi where was your VCSA when U shuted down that. In my example it is 192.168.2.150

009_LoginEsxi_where_locate_VCSA

4 – Right click VCSA (vc-ny) and select from “Power” menu “Power On” function

010_PowerOn_VCSA

010_PowerOn_VCSA_01

5 – Do a quick health check on the VSAN cluster.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s