VxVM 5.0 - change hostguid
Updated: 23 May 2010 | 4 comments
Dear experts,
could anyone advice me how to change hostguid? It is for example printed in output of command "vxdctl list". We have cloned SystemA to SystemB, have changed hostid but we are not able to change hostguid.
Platform: HPUX 11.23
Best regards,
Marek Lukes
Discussion Filed Under:
Comments
Can you show the output of vxdctl list? I haven't touched HPUX in a long time.
--
Darren
If I understan your question correctry, then yes, you can.
vxdctl hostid newhostid
And that's all
Hi all,
first I would like to thank you for your answers and will try to reply to them at once.
Darren, below is output from “vxdctl list” from both systems:
systema:/root # vxdctl list
Volboot file
version: 3/1
seqno: 0.3
cluster protocol version: 70
hostid: systema
hostguid: {2eb2f636-1dd2-11b2-a5de-37cb1f1e2cad}
systemb:/root # vxdctl list
Volboot file
version: 3/1
seqno: 0.3
cluster protocol version: 70
hostid: systemb
hostguid: {2eb2f636-1dd2-11b2-a5de-37cb1f1e2cad}
Anthony, I assume that “vxdctl hostid” changes just hostid not hostguid and I hope we tried it in test and it didn’t passed.
In production we used “vxdctl init” and it changed only hostid not hostguid as well. Its function seems to be same as in VxVM 4.1.
Best regards,
Marek Lukes
Hello.
Yes, you are right, vxdctl hostid change hostidnly. hostguid is generated by
/etc/vx/uuid/bin/osuuid command and you can look at it by :
/etc/vx/uuid/bin/osuuid list
also it is written to /etc/.osuuid and /etc/vx/volboot file.
So you can change osuuid by removing
/etc/.osuuid
/etc/vx/uuid/bin/osuuid create --reset
then stop vxconfigd
rm /etc/vx/volboot
vxdctl init
vxdctl enable
I'm not sure that this is "supported" way but it works.
Would you like to reply?
Login or Register to post your comment.