VMware Cloud Community
mtx2015
Contributor
Contributor

What is the Procedure to Reboot a iSCSI target on a NAS

Hi, all

I am new to VSPhere/iSCSI

I have a setup with two datastores, a local datastore with the VMs and a second 'backup' datastore to which I backup the VMs

The second datastore is via iSCSI to a NAS.

I need to reboot the NAS (the iSCSI target).

What do i need to do on the vsphere ? do i need to unmount the datastore or is it safe to "just" reboot.

There's only load on the backup datastore at night.

Thanks

Tags (1)
9 Replies
mohdhanifk
Enthusiast
Enthusiast

Hi,

can you provide more info on this ?

Reply
0 Kudos
mtx2015
Contributor
Contributor

Hi again

I posted this question about 2 years ago, then solved it by rebooting everything

I have the same issue again - I have a NAS that is an iSCSI target for a VMFS datastore.

I Need to reboot the NAS, What do I need to do on VPshere, do I need to detach the volume and reattach

Thanks

Reply
0 Kudos
VijayKumarMyada
Enthusiast
Enthusiast

Did you get an answer for this?

if yes, would you share please.

Reply
0 Kudos
daphnissov
Immortal
Immortal

From the vSphere side it can be as simple as shutting down any VMs that use this iSCSI target. When you reboot the NAS and it comes back up, ESXi will re-connected to the target.

Reply
0 Kudos
MadhuMurali
Contributor
Contributor

in our environment couple of datastores connected to hosts through iscsi (solidfire/netapp), one of the node they want to reboot(for this policy path to be round robin before reboot node) due to which they asked to check the multipath, we see that it is set fixed(vmware). in this case before they reboot the node do i need to shutdown the VM(s) on all datastores which are coming from that node?

can we not achieve this task without taking the VM's down?

Reply
0 Kudos
daphnissov
Immortal
Immortal

If you need to change the multipathing policy on a given iSCSi datastore, you can do so by putting that host in maintenance mode and then changing the multipathing setting to round robin.

Reply
0 Kudos
VijayKumarMyada
Enthusiast
Enthusiast

Before chainging to round robin policy, anything to check like multipath(as hosts having one iscsi software adapater).

okay, so first i need to evacuate the vm's from the host and put it in maintence mode(by placing host in  MM, VM's will move to other host).

Then selecting iscsi datastore, selecting managingpath change the policy to round robin after this host reboot is required?

as these iscsi datastores are shared to 8 hosts do i need to perform same step on all these 8 hosts for all the attached iscsi datastore?

so when storage guy rebooting the node(soldfire) do we have to power off the VM which are running on iscsi datastore which are comming from the node going to be reboot?

Reply
0 Kudos
daphnissov
Immortal
Immortal

Then selecting iscsi datastore, selecting managingpath change the policy to round robin after this host reboot is required?

Reboot is not required.

as these iscsi datastores are shared to 8 hosts do i need to perform same step on all these 8 hosts for all the attached iscsi datastore?

You will have to perform the same steps on all hosts mounting this iSCSI datastore. This can be manual interaction or scripted programmatically.

so when storage guy rebooting the node(soldfire) do we have to power off the VM which are running on iscsi datastore which are comming from the node going to be reboot?

You should not have to if the access to that datastore has been set correctly and the storage network is working properly. For specific requirements on SolidFire, you may want to open a support request with them or peruse their knowledge base to see if they offer guidance. I have not used SolidFire storage so cannot give you those specifics.

naderawad
Contributor
Contributor

i find it oddly strange that no have posted an answer to such basic question, i've been on this community for 3 months only and pretty surprised how poor member's contribution is

 
 

 

 

Reply
0 Kudos