Operating System - HP-UX
1752806 Members
5610 Online
108789 Solutions
New Discussion

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

 
SOLVED
Go to solution
vandevoort
Valued Contributor

HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Hi ,

tried to setup HPVM Guest as SG PACKAGE.

using hpvmsg_package -P testguest :

 

This is the HP Virtual Machine Serviceguard Toolkit package creation

script.

 

This script will assist the user to develop and manage a set of

Serviceguard package configuration and associated toolkit template

files.

 

The templates generated by these scripts will handle many guest

configurations, but they are only templates and may not be

appropriate for your particular configuration needs. You are

encouraged to review and modify these template files, as needed,

for your particular environment.

 

 

Do you wish to continue? (y/n):y

 

[Virtual Machine Details]

Virtual Machine Name VM #  OS Type State

==================== ===== ======= ========

testguest                   5 HPUX    On (EFI)

[Storage Interface Details]

Guest                                 Physical

Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device

======= ========== === === === === === ========= =========================

disk    avio_stor    0   0   0   0   0 disk      /dev/rdisk/disk260

[Network Interface Details]

Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address

========= ========== ========== ======= === === === =================

 

Package the Virtual Machine Summarized above? (y/n):y

 

Checking the virtual machine and cluster configuration

 

Analysis of the hpvmstatus -m command on each node indicates that the

HPVM multi-server environment is not configured correctly.  Before

hpvmsg_package can assist in creating the package configuration template files

the HPVM multi-server environment must be configured.

 

Configure Serviceguard nodes into the HPVM multi-server environment now? (y/n):y

 

ERROR : hpvmsg_package : The multi-server environment is not configured consistently on each node

 

 

 ssh ahp009 /opt/hpvm/bin/hpvmdevmgmt -l env
HPVM_MSE_GROUP_ENTRY:CONFIG=env,EXIST=NO,DEVTYPE=UNKNOWN,SHARE=NO,UUID=df118256-8d35-11e0-a00c-0017a4779c0c,GROUPNAME=HPVM-SG-cl_iris1::WWID_NULL
root@ahp007:/opt/cmcluster/toolkit/hpvm
#  /opt/hpvm/bin/hpvmdevmgmt -l env
HPVM_MSE_GROUP_ENTRY:CONFIG=env,EXIST=NO,DEVTYPE=UNKNOWN,SHARE=NO,UUID=df118256-8d35-11e0-a00c-0017a4779c0c,GROUPNAME=HPVM-SG-cl_iris1::WWID_NULL
root@ahp007:/opt/cmcluster/toolkit/hpvm
#  /opt/hpvm/bin/hpvmdevmgmt -l server
ahp007:CONFIG=server,SERVERADDR=141.93.115.20,SERVERID=007,Server_physical_uuid=cbd59d59-1557-4277-92e9-c39055454107::WWID_NULL
ahp009:CONFIG=server,SERVERADDR=141.93.115.23,SERVERID=009,Server_physical_uuid=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d::WWID_NULL
root@ahp007:/opt/cmcluster/toolkit/hpvm
# ssh ahp009 /opt/hpvm/bin/hpvmdevmgmt -l server
ahp007:CONFIG=server,SERVERADDR=141.93.115.20,SERVERID=007,Server_physical_uuid=cbd59d59-1557-4277-92e9-c39055454107::WWID_NULL
ahp009:CONFIG=server,SERVERADDR=141.93.115.23,SERVERID=009,Server_physical_uuid=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d::WWID_NULL
root@ahp007:/opt/cmcluster/toolkit/hpvm
# hpvmstatus -m
[HPVM Multi-server environment]

        Server group name       : HPVM-SG-cl_iris1
        Server group uuid       : df118256-8d35-11e0-a00c-0017a4779c0c
        This server's identifier: 7

        Server_id               : 7
        Server_state            : 1
        Server_ipaddr           : 141.93.115.20
        Server_hostname         : ahp007
        Server_uuid             :
        Server_physical_uuid    :

        Server_id               : 9
        Server_state            : 1
        Server_ipaddr           : 141.93.115.23
        Server_hostname         : ahp009
        Server_uuid             :
        Server_physical_uuid    :

root@ahp007:/opt/cmcluster/toolkit/hpvm
# ssh ahp009 /opt/hpvm/bin/hpvmstatus -m
[HPVM Multi-server environment]

        Server group name       : HPVM-SG-cl_iris1
        Server group uuid       : df118256-8d35-11e0-a00c-0017a4779c0c
        This server's identifier: 9

        Server_id               : 7
        Server_state            : 1
        Server_ipaddr           : 141.93.115.20
        Server_hostname         : ahp007
        Server_uuid             :
        Server_physical_uuid    :

        Server_id               : 9
        Server_state            : 1
        Server_ipaddr           : 141.93.115.23
        Server_hostname         : ahp009
        Server_uuid             :
        Server_physical_uuid    :

root@ahp007:/opt/cmcluster/toolkit/hpvm

 

 

 

does someone has any idea what's wrong ??

thanks

Wim van de Voort

20 REPLIES 20
Steven E. Protter
Exalted Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Shalom,

Please post the link to the cookbook you are using. Check that you are following it correctly.

After that, I'd say you might want to contact HP and see if you have uncovered a bug.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
vandevoort
Valued Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Hi Steven

we do not use a cookbook .

only from the HP Integrity Virtual Machines 4.3: Installation, Configuration, and Administration Manual chapter 10.4 .

only we created the Hosts and Guest a while ago  they are up and running now we want to install Service Guesrd and set these up .

kind regards

Wim van de voort.

Eric SAUBIGNAC
Honored Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Bonjour,

 

Not sure but strange things in uuid. 2 points :

 

- Where does come 'Server_physical_uuid' in output of hpvmdevmgmt command ? As far as i know It should be libelled PHYSUUID. (it was in HPVM 4.20)

- Fore each server, you miss the UUID wich is the same value than the PHYSUUID

 

An other thing is that hpvmstatus -m doesn't show any server's ID. I guess that it's due to this "'Server_physical_uuid' " that doesn't mean anything with hpvmdevmgmt

 

I did a post in the good old forum on a similar problem; I can't find it in the new forum grrrr ... But here is the google cached version : http://webcache.googleusercontent.com/search?q=cache:fmfI2UO2pEEJ:forums11.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D1448014+hpvmdevmgmt+uuid+Eric+SAUBIGNAC&cd=1&hl=en&ct=clnk&source=www.google.com

 

Eric

 

vandevoort
Valued Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Hi I added  Server_uuid

hpvmdevmgmt -m server:ahp009:attr:Server_uuid=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d

and

hpvmdevmgmt -m server:ahp007:attr:Server_uuid=cbd59d59-1557-4277-92e9-c39055454107

on both systems :

 No change :

from 1st Guest ahp007:

hpvmdevmgmt -l env -V; hpvmdevmgmt -l server
HPVM_MSE_GROUP_ENTRY:CONFIG=env,EXIST=NO,DEVTYPE=UNKNOWN,SHARE=NO,UUID=df118256-8d35-11e0-a00c-0017a4779c0c,GROUPNAME=HPVM-SG-cl_iris1::WWID_NULL
ahp007:CONFIG=server,SERVERADDR=141.93.115.20,SERVERID=007,Server_physical_uuid=cbd59d59-1557-4277-92e9-c39055454107,Server_uuid=cbd59d59-1557-4277-92e9-c39055454107::WWID_NULL
ahp009:CONFIG=server,SERVERADDR=141.93.115.23,SERVERID=009,Server_physical_uuid=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d,Server_uuid=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d::WWID_NULL
root@ahp007:/
# hpvmstatus -m
[HPVM Multi-server environment]

        Server group name       : HPVM-SG-cl_iris1
        Server group uuid       : df118256-8d35-11e0-a00c-0017a4779c0c
        This server's identifier: 7

        Server_id               : 7
        Server_state            : 1
        Server_ipaddr           : 141.93.115.20
        Server_hostname         : ahp007
        Server_uuid             :
        Server_physical_uuid    :

        Server_id               : 9
        Server_state            : 1
        Server_ipaddr           : 141.93.115.23
        Server_hostname         : ahp009
        Server_uuid             :
        Server_physical_uuid    :

 

 

seconf Guest ( ahp009)

  hpvmdevmgmt -l env -V; hpvmdevmgmt -l server
HPVM_MSE_GROUP_ENTRY:CONFIG=env,EXIST=NO,DEVTYPE=UNKNOWN,SHARE=NO,UUID=df118256-8d35-11e0-a00c-0017a4779c0c,GROUPNAME=HPVM-SG-cl_iris1::WWID_NULL
ahp007:CONFIG=server,SERVERADDR=141.93.115.20,SERVERID=007,Server_physical_uuid=cbd59d59-1557-4277-92e9-c39055454107,Server_uuid=cbd59d59-1557-4277-92e9-c39055454107::WWID_NULL
ahp009:CONFIG=server,SERVERADDR=141.93.115.23,SERVERID=009,Server_physical_uuid=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d,Server_uuid=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d::WWID_NULL
root@ahp009:/
# hpvmstatus -m
[HPVM Multi-server environment]

        Server group name       : HPVM-SG-cl_iris1
        Server group uuid       : df118256-8d35-11e0-a00c-0017a4779c0c
        This server's identifier: 9

        Server_id               : 7
        Server_state            : 1
        Server_ipaddr           : 141.93.115.20
        Server_hostname         : ahp007
        Server_uuid             :
        Server_physical_uuid    :

        Server_id               : 9
        Server_state            : 1
        Server_ipaddr           : 141.93.115.23
        Server_hostname         : ahp009
        Server_uuid             :
        Server_physical_uuid   

I wonder why the Server_UUID and Server_physical_uuid in hpvmstatus -m is not filled in ??

 

But anyway :

still the same problem :

# /opt/cmcluster/toolkit/hpvm/hpvmsg_package -s -P tgast1

This is the HP Virtual Machine Serviceguard Toolkit package creation
script.

This script will assist the user to develop and manage a set of
Serviceguard package configuration and associated toolkit template
files.

The templates generated by these scripts will handle many guest
configurations, but they are only templates and may not be
appropriate for your particular configuration needs. You are
encouraged to review and modify these template files, as needed,
for your particular environment.


Do you wish to continue? (y/n):y

[Virtual Machine Details]
Virtual Machine Name VM #  OS Type State
==================== ===== ======= ========
tgast1                   5 HPUX    On (EFI)
[Storage Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
disk    avio_stor    0   0   0   0   0 disk      /dev/rdisk/disk260
[Network Interface Details]
Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================

Package the Virtual Machine Summarized above? (y/n):y

Checking the virtual machine and cluster configuration

Analysis of the hpvmstatus -m command on each node indicates that the
HPVM multi-server environment is not configured correctly.  Before
hpvmsg_package can assist in creating the package configuration template files
the HPVM multi-server environment must be configured.

ERROR : hpvmsg_package : The multi-server environment is not configured consistently on each node

 

 even checked  Both output with diff and chksum they are exact the same on both systems ..

does anyone has any Idea ??

Thanks ..

 

 

 

 

vandevoort
Valued Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Hi .

I did not know the exact parameters :

changed the settings on both systems :

hpvmdevmgmt -d server:ahp007:attr:Server_uuid
hpvmdevmgmt -d server:ahp009:attr:Server_uuid
hpvmdevmgmt -d server:ahp007:attr:Server_physical_uuid
hpvmdevmgmt -d server:ahp009:attr:Server_physical_uuid

and added PHYSUUID

 hpvmdevmgmt -m server:ahp007:attr: PHYSUUID=cbd59d59-1557-4277-92e9-c39055454107

and

hpvmdevmgmt -m server:ahp009:attr: PHYSUUID=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d

still the same problem ..

any ideas ??

 

Bhadresh
Trusted Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Hi,

 

Can you please provide following output from both the nodes:

#hpvmstatus -m

 

Regards,

Bhadresh

vandevoort
Valued Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Hi :

I added UID with hpvmdevmgmt  command :

# hpvmdevmgmt -m server:ahp007:attr:UUID=df118256-8d35-11e0-a00c-0017a4779c0c
# hpvmdevmgmt -m server:ahp009:attr:UUID=fc3d6504-47b3-4f69-8f59-692e2f9ecc1d
On Both Nodes:

hpvmstatus -m  is now  completely filled and shows like this :

 

# hpvmstatus -m
[HPVM Multi-server environment]

        Server group name       : HPVM-SG-cl_iris1
        Server group uuid       : df118256-8d35-11e0-a00c-0017a4779c0c
        This server's identifier: 1

        Server_id               : 1
        Server_state            : 1
        Server_ipaddr           : 141.93.115.20
        Server_hostname         : ahp007
        Server_uuid             : df118256-8d35-11e0-a00c-0017a4779c0c
        Server_physical_uuid    : df118256-8d35-11e0-a00c-0017a4779c0c

        Server_id               : 2
        Server_state            : 1
        Server_ipaddr           : 141.93.115.23
        Server_hostname         : ahp009
        Server_uuid             : fc3d6504-47b3-4f69-8f59-692e2f9ecc1d
        Server_physical_uuid    : fc3d6504-47b3-4f69-8f59-692e2f9ecc1d

 

On the Other system :

# hpvmstatus -m
[HPVM Multi-server environment]

        Server group name       : HPVM-SG-cl_iris1
        Server group uuid       : df118256-8d35-11e0-a00c-0017a4779c0c
        This server's identifier: 2

        Server_id               : 1
        Server_state            : 1
        Server_ipaddr           : 141.93.115.20
        Server_hostname         : ahp007
        Server_uuid             : df118256-8d35-11e0-a00c-0017a4779c0c
        Server_physical_uuid    : df118256-8d35-11e0-a00c-0017a4779c0c

        Server_id               : 2
        Server_state            : 1
        Server_ipaddr           : 141.93.115.23
        Server_hostname         : ahp009
        Server_uuid             : fc3d6504-47b3-4f69-8f59-692e2f9ecc1d
        Server_physical_uuid    : fc3d6504-47b3-4f69-8f59-692e2f9ecc1d

 

created a simple Guest  with hpvmcreate -P testaap -O hpux :

# hpvmsg_package -P testaap

This is the HP Virtual Machine Serviceguard Toolkit package creation
script.

This script will assist the user to develop and manage a set of
Serviceguard package configuration and associated toolkit template
files.

The templates generated by these scripts will handle many guest
configurations, but they are only templates and may not be
appropriate for your particular configuration needs. You are
encouraged to review and modify these template files, as needed,
for your particular environment.


Do you wish to continue? (y/n):y

[Virtual Machine Details]
Virtual Machine Name VM #  OS Type State
==================== ===== ======= ========
testaap                  9 HPUX    Off
[Storage Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
[Network Interface Details]
Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================

Package the Virtual Machine Summarized above? (y/n):y

Checking the virtual machine and cluster configuration

Analysis of the hpvmstatus -m command on each node indicates that the
HPVM multi-server environment is not configured correctly.  Before
hpvmsg_package can assist in creating the package configuration template files
the HPVM multi-server environment must be configured.

Configure Serviceguard nodes into the HPVM multi-server environment now? (y/n):y


ERROR : hpvmsg_package : The multi-server environment is not configured consistently on each node

 

still the same error ..

 

StanM
Occasional Advisor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

When adding server entry uuid using hpvmdevmgmt pls use UUID and PHYSUUID as attribute names

(not 'server_uuid' ...).

You can get their values from hpvminfo -S.

 

Make sure to configure all these values on both sides of the cluster so that hpvmstatus -m shows

the same values for cluster and for both servers on both nodes.

Eric SAUBIGNAC
Honored Contributor

Re: HPUX 11V3 HPVM 4.3 and ServiceGuard 11.20 can not execute hpvmsg_package consistency error

Bonjour,

 

Sorry for this late answer : I had some days off last week.

 

Some points :

 

- In one of your posts, servers'id were 7 and 9. In the latest post they are now 1 and 2.  Obviously you have done more changes than those announced in your posts. Could you post the latest hpvmdevmgmt -l server and -l env ?

  

- Did you tried hpvmsg_package with the "sanity check" option : -s . When used, the script will try to correct the multi-environment if necessary ... and possible ;-)

 

- Here are the checks done by the script. (extract from HPVM 4.20, not sure they are exactly the same in 4.30)  :

 

 # 1. Only the SG nodes are configured
 # 2. They are all configured the same
 # 3. Each node entry includes all name/value pairs:  PHYSUUID SERVERADDR SERVERID UUID

 

So, could you have an issue at the cluster side ? For example, more nodes than those configured in the multi_environment ... Also post output of cmviewcl.

 

Eric