Disks name not match within two node cluster
Hi,
I have two node cluster and today I ran Virtual Fire Drill in order to see if everything is OK.
I've noticed I'm getting errors such as:
* udid.vfd: Failed to get disk information for disk san_vc0_13.
* udid.vfd: UDIDS for device <san_vc_8 do not match on cluster nodes.
[...]
Anyway, I've connected to both servers, san_vc0_13 doesn't exist on the second node.
About the other errors the disks name is not match.
Reviewing this case, I've seen we have 2 more temporary disks that the first node has, that has nothing to do with the cluster (this situation is OK).
the problem is, that these 2 disks, took the number 2 and 3 (san_vc0_2/3), so now the disks names are mismatch and it seems I'm missing a disk on the second node.
the cluster diskgroups are viewed by both nodes and they are OK (even within the cluster), the only problem is the names are not match and VFP is warning about it.
Anyway to change the disk's names and make it permanent (by UDID or so) ?
Thanks,
I can see the disknames are inconsistent across the nodes ... for e.g ..
Server 1
san_vc0_4 auto:cdsdisk dg_test101 dg_test1 onlinesan_vc0_5 auto:cdsdisk dg_oradump01 dg_oradump onlinewhile server 2san_vc0_4 auto:cdsdisk - (dg_oradump) onlinesan_vc0_5 auto:cdsdisk - (dg_oratmp) online& also, the number of disks on servr 1 are more as compared to server 2 however considering your statement that "in the first server, dg_test, dg_temp and disk 14 are used for some testing/benchmarking..." that means the number of visible disks are equal on two nodes however the names are not consistent across the nodes.To make the naming schema consistent across the nodes, you need to use vxddladm commandman page at -- https://sort.symantec.com/public/documents/sfha/5.1sp1/linux/manualpages/html/man/volume_manager/html/man1m/vxddladm.1m.htmlThere is an option with vxddladm..vxddladm set namingscheme={ebn|osn}[persistence={yes|no}]
[lowercase={yes|no}] [use_avid={yes|no}]In the above command, if you use "persistence=yes" & "use_avid=yes" .. it should assign the names refering to array volume ID which would be consistent across the nodes ...more notes on using this option which may help:set namingscheme Bases the name of a device on the enclosure name (ebn), or on the device name that is used by the operating system (osn). The change is immediate, and does not require vxconfigd to be restarted. For TPD devices, the effect of the device naming scheme also depends on the setting of the enclosure-specific attribute tpdmode. If the tpdmode is set to pseudo, the TPD naming is used, regardless of the device naming scheme. To use enclosure-based naming for TPD devices, set the tpdmode to native for the enclosure. Set the tpdmode attribute with the vxdmpadm setattr command. See the vxdmpadm(1) man page for details. The following options can be set: persistence Specifies whether the names of disk devices that are displayed by VxVM remain unchanged after disk hardware has been reconfigured and/or the system rebooted. If persistence is on, the DDL assigns device names from the persistent device name database, rather than generating new names according to the OSN or EBN naming scheme. If the naming scheme is OSN, name persistence is off by default. The generated names are not likely to differ from the names in the persistent name database, unless a change causes the OS to assign a new path name for a device. If the naming scheme is EBN, name persistence is on by default. Certain configuration changes on the array side could cause the generated name to be different from the name in the persistent name database. When name persistence is on, the name from the persistent names repository is used for the DMP meta-device, unless
the user changes it. .lowercase By default, the names of the enclosure are converted to lowercase, regardless of the case of the name specified by the ASL. The EBN names are therefore in lowercase. Use the lowercase=no option to suppress the conversion to lowercase. use_avid For EBN scheme, indicates that the Array Volume ID (AVID) is used together with the enclosure name for the disk device name. The disk devices are named as enclosure_avid. The default value is yes. If use_avid is set to no, the devices are named as enclosure_name_index_of_device where index is obtained by sorting the DMP devices based on the LUN_SERIAL_NO. hope this helpsGaurav