vDCA550-Objective 1.2-5-Prepare storage for maintenance

Storage devices might need to be placed into maintenance mode to conduct planned downtime operations. When this is the case, a couple of options are available to place a datastore into this state.

Option 1:

If you datastore is in SDRS cluster than you can put you datastore into the maintenance mode. Then all the VM’s reside insight that datastore is automatically migrated into the other datastore in the SDRS Cluster.

Procedure.

For sake of this example, I am going to put my “ISCSI1_DataStore” into maintenance mode. You can see it is in SDRS cluster.

In Step one, verify how many VMs are in this datastore.

From WebClient-> select your datastore-> Related Objects-> Virtual Machines.

vDCA550-Obj-1-2-Storagemaintenance-01

Now put this datastore into the maintenance mode.

Right Click into the DataStore->All vCenter Actions ->Enter Maintenance Mode.

vDCA550-Obj-1-2-Storagemaintenance-02

If SRDS did not find any Perquisite issue then it will show you the below recommendation screen. Means what it is going to do. Verify it and Click “Apply Recommendations”

vDCA550-Obj-1-2-Storagemaintenance-03

As you can see below in recent task. It will show you both VMs are now migrated to the other datastore in the SDRS Cluster. When all VMs will be migrated then it will automatically put the datastore for maintenance.

vDCA550-Obj-1-2-Storagemaintenance-04

If you can see below. “ISCSI1_Datastore” storage icon has been change. Its mean storage is in maintenance mode now.

vDCA550-Obj-1-2-Storagemaintenance-05

When you done with the datastore maintenance. You can exit it from the maintenance.

Right Click on the datastore-> All vCenter Actions-> Exit Maintenance modevDCA550-Obj-1-2-Storagemaintenance-06

Option 2:

Another option to place a datastore into maintenance mode is to unmount the datastore. When you unmount a datastore that is shared to multiple ESXi hosts, you will be prompted with a list of the shared hosts. The datastore will be unmounted from all selected hosts and will no longer be visible to those hosts. The datastore will remain mounted to the other hosts, allowing them to continue to access the data on the datastore

Before unmout your selected datastore make sure following prerequisite should meet as highlighted in the below screen shot.

vDCA550-Obj-1-2-Storagemaintenance-07

Procedure

To unmount a datastore right click on the Datastore -> All vCenter options-> Unmount Datastore.

vDCA550-Obj-1-2-Storagemaintenance-08

Read the Information carefully and select from which host you want to unmount -> Click “OK”.

vDCA550-Obj-1-2-Storagemaintenance-09

Verify you Datastore are “inactive” state now

vDCA550-Obj-1-2-Storagemaintenance-10

When you done with the datastore maintenance. Then you can mount it back by right click on the datastore -> all vCenter Actions-> Mount Datastore.

vDCA550-Obj-1-2-Storagemaintenance-11

Select in which host you want to mount.

vDCA550-Obj-1-2-Storagemaintenance-12

Your datastore is now back and ready for operations.

vDCA550-Obj-1-2-Storagemaintenance-13

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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