Operating System - HP-UX
1833016 Members
2320 Online
110048 Solutions
New Discussion

giving different hostname in MMB

 
amit mehta_2
Regular Advisor

giving different hostname in MMB

Hi,

while starting the vxconfigd in MMB,i've given wrong hostname.
i.e let the correct hostname is abcdefgh
and i have issued the following command:
# vx_emerg_start abcd
The machine gives the following message:
hostid (abcdefgh) & arg hostid (abcd) don't match
and then it tries to recover and gives the following message:
VxVM vx_emerg_start INFO V-5-2-4280 pdating the Hostid in the /etc/vx/volboot to abcd
VxVM vx_emerg_start INFO V-5-2-4273 Enabling the volume manager for transactions.

But the machine hangs.So is giving the incorrect hostname causing the hang is expected or is some kind of bug?

Thanks,
amit
1 REPLY 1
amit mehta_2
Regular Advisor

Re: giving different hostname in MMB

Hi,

Excerpt from Man pages:
hostname

Specify the system name of the host, also called nodename, of the system being repaired. This name is used to allow importation of the desired rootdg. It must match the name of the system being repaired, as it would most likely not be recorded on the recovery media from which you are booted.

So as mentioned over here, the hostname must match the system being repaired.
But then, instead of giving the error message,why it goes ahead and tries to update the entry in /etc/vx/volboot file.

Thanks,
Amit