Microsoft's best practice is to have all other hosts offline when adding a new LUN to a MSCS cluster, but honestly I have been managing clusters for years and never use that method anymore. There were some issues with early releases of Windows 2000 and 2003 but the current version of Windows 2003 and 2008 are safe IMHO to add LUNs to while all hosts are online.
Use one Storage Group for all hosts as recommended. Once the new LUN is visible as a RAW device to all hosts in the cluster, use one host to confgure the disk: create partition, mount, format etc... Then add the new LUN as a Physical Disk resource. Run a diskpart rescan on all other hosts in the clusters, and then test moving the Cluster Group with the new LUN to each host in the cluster. If you want to do this will all other Groups online, you can create a new test group, put the new disk in that group, and use that group to test failover of the disk and the mount of the disk on the other hosts. Once the funcationality is confirmed you can move the disk resource to the Cluster Group it was intended for.
I have used this process on two and four node clusters regularly. The only thing that I have had difficulty with is that sometimes the other hosts won't recognize the file system on the new LUN until they have been rebooted. But with the latest service pack and storport hotfixes I don't see this that often anymore.
If all the hosts in the cluster are to share all the LUNs in the SG, a single SG will do. If your requirement dictates that only some LUNs are shared by all hosts(individual hosts will have exclusive access to some LUNs), separate SGs is the trodden path.
One thing about separate SGs- ensure that the HLU numbers are consistent across the SGs for a shared LUN.
Thanks for your reply. However, when that new LUN is presented, ALL the clustered hosts see it as the disk is "raw" and has not yet been created as a physical disk resource, hence the SCSI conflict error. So I would need to create it as a physical disk resource first in order for it to be protected by the cluster service. And according to Microsoft's recommendation and general recommendation for SCSI reservation, I would have to SHUTDOWN all the other hosts; if we do not do that, then as you see from our results above, disk errors appear (which I presume are caused by SCSI reservation conflicts). This is the problem - we do not want to have to shutdown all the clustered host in a production environment.
I guess my question is whether there is any way in having all the hosts online, but be able to only present the new LUN to one host (at a time), and how do I achieve this within the storage group definition that is available on the Clarion? Otherwise, if I have one-host-to-one-storage-group, then I know it would work, but this would be inefficient. Correct me if I am wrong, perhaps I do not have the whole picture, but these are the results I see. Thanks for any input!
when you present new LUN to this cluster, once it's been presented to storage group go to one of the cluster nodes, rescan it, align the drive, format it and then configure it as physical resource. At that point go to other cluster members and rescan. Tools like PowerPath or inq will show you that the new LUN is visible.
AranH1
2163 Posts
373
0
Posted January 13th, 2010 12:00
Microsoft's best practice is to have all other hosts offline when adding a new LUN to a MSCS cluster, but honestly I have been managing clusters for years and never use that method anymore. There were some issues with early releases of Windows 2000 and 2003 but the current version of Windows 2003 and 2008 are safe IMHO to add LUNs to while all hosts are online.
Use one Storage Group for all hosts as recommended. Once the new LUN is visible as a RAW device to all hosts in the cluster, use one host to confgure the disk: create partition, mount, format etc... Then add the new LUN as a Physical Disk resource. Run a diskpart rescan on all other hosts in the clusters, and then test moving the Cluster Group with the new LUN to each host in the cluster. If you want to do this will all other Groups online, you can create a new test group, put the new disk in that group, and use that group to test failover of the disk and the mount of the disk on the other hosts. Once the funcationality is confirmed you can move the disk resource to the Cluster Group it was intended for.
I have used this process on two and four node clusters regularly. The only thing that I have had difficulty with is that sometimes the other hosts won't recognize the file system on the new LUN until they have been rebooted. But with the latest service pack and storport hotfixes I don't see this that often anymore.