1826328 Members
3485 Online
109692 Solutions
New Discussion

Re: fcmsutil

 
Martin Wells
Frequent Advisor

fcmsutil

We have two nodes in a service guard cluster sharing an external disk array connected via fiber channels. The OS is HPUX11 and they are both L-Class servers

We had one of the disk replaced last night without issue, however the second node which does not have control of this disk at the moment seems to think it has power failed.

Looking in the syslog we are getting the following message, aswell as the power failed one

"VMUNIX: 0/12/0/0: 'World-wide name' (unique identifier) for device at loop ID 0x0 has changed. If the device has been replaced intentionally, please use the fcmsutil replace_dsk command to allow the new device to be used."

Also with an ioscan we are seeing the device as no hardware again on the standby node.

When the disk was replaced the engineer ran two fcmsutil commands to enable the disk to be seen down both fibre channels. Does anyone know how this command is used and how to get rid of the two no hardwares in ioscan?
2 REPLIES 2
Jerome Baron
Respected Contributor

Re: fcmsutil

Hi Martin,

System link disk WWN with nport_id.
The fcmsutil command use in case disk replacement is :
# fcmsutil /dev/tdi replace_dsk nportid
or
# fcmsutil /dev/tdi replace_dsk -l loopid

In your case :
- nportid is 0x0

You can use :
# fcmsutil /dev/tdi devstat all | grep Loop
To list disk witch have communicate with the interface /dev/tdi.

Regards,
Jerome
Michael Steele_2
Honored Contributor

Re: fcmsutil

To list out your fibre channel adapters:

ioscan -fknC fc

To update the new disk:

Get your WWN and n_portID:

A) fcmsutil /dev/td? devstat all | more

B) fcmsutil /dev/td? replace_dsk n_portID

C1) dd if=/dev/dsk/cXtYdZ of=/dev/null count=1000000
control c (* break after 10 count *)

C2) fcmsutil /dev/td? replace_dsk n_portID

D) vgcfgrestore vg_name /dev/dsk/cxtydz
vgchange -a y vg_name
vgsync vg_name

NO_HW is a physical connection problem so use the dd command liberally to test. Physically inspect the device itself. Power? LED?

You may have to call out the HP CE again because it???s not that uncommon for them to encounter Dead on Arrival replacement parts.

Also note these fcmsutil metrics:

Loss of Signal - (* light in fibre *)
Bad TX Char Count, etc.
Support Fatherhood - Stop Family Law