Operating System - HP-UX
1832610 Members
2487 Online
110043 Solutions
New Discussion

Re: creating a SG Cluster between two HP Integrity VM's

 
Grayh
Trusted Contributor

creating a SG Cluster between two HP Integrity VM's

How do i create a SG Cluster of two HP Integrity VM's.

I have two VM hosts and couple of VM's in each of them.

I would like to test the below feature in the IVM manual.

10.4 Migrating Serviceguard Packaged Guests and Serviceguard Cluster
Nodes

7 REPLIES 7
Grayh
Trusted Contributor

Re: creating a SG Cluster between two HP Integrity VM's

on on of my systems I get

# cmviewcl
cmviewcl: Cannot view the cluster configuration: No such file or directory.
Either this node is not configured in a cluster, user doesn't have
access to view the cluster configuration, or there is some obstacle
to viewing the configuration. Check the syslog file for more information.
For a list of possible causes, see the Serviceguard manual for cmviewcl.

and on the other I get

#cmviewcl
Permission denied to 127.0.0.1
cmviewcl: Cannot view the cluster configuration: Permission denied.
This user doesn't have access to view the cluster configuration.
#whoami
root
Michael Steele_2
Honored Contributor

Re: creating a SG Cluster between two HP Integrity VM's

What is in /etc/cmnodelist?
Support Fatherhood - Stop Family Law
Grayh
Trusted Contributor

Re: creating a SG Cluster between two HP Integrity VM's

I do not have cmnodelist in any of my systems...

# swlist|grep -i Serviceguard
B5140BA A.11.31.04 Serviceguard NFS Toolkit
T1905CA A.11.19.00 Serviceguard

This would be the first time I will be configuring a cluster on my test system
Grayh
Trusted Contributor

Re: creating a SG Cluster between two HP Integrity VM's

How do i create cmnodelist
melvyn burnard
Honored Contributor

Re: creating a SG Cluster between two HP Integrity VM's

first, please clear up whether you want teh Virtual Machine to be a cluster node, or a cluster package.

If it is the first, having created and installed your Virtual Machines with HP-UX, you create a cluster as per normal, using the Managing Serviceguard manuals at:
http://docs.hp.com/en/B3936-90144/B3936-90144.pdf
Remember that you have to share the backing stores from each Virtual Machine, and also set up enough vswitches to give you the redundancy.


If it is the second, then that is a different procedure.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
sujit kumar singh
Honored Contributor

Re: creating a SG Cluster between two HP Integrity VM's


Hi,

consice of creating a cluster

http://thomasvogt.wordpress.com/2008/08/26/mcserviceguard-cluster-installation-on-hp-ux-1131/


also you shall need to learn sharing devices among the IVM guests.

hpvmdevmgmt command:


http://docs.hp.com/en/T2767-90141/ch09s08.html#hpvmdevmgmt_section
Grayh
Trusted Contributor

Re: creating a SG Cluster between two HP Integrity VM's

there it goes...

Thanks Melvin & surjit...

I would like to create a cluster package of my VM's

As of now I have created a one VM on each host:

What I want to achive is something like below on my test servers:

# /opt/cmcluster/toolkit/hpvm/hpvmsg_move -n serverA guest6
Moving (online) Serviceguard package guest6 from node serverB to node serverA
cmmodpkg: Completed successfully on all packages specified
hpvmmigrate: Connected to target host using 'serverA'
hpvmmigrate: Starting guest 'guest6' on target host 'serverA'
(C) Copyright 2000 - 2009 Hewlett-Packard Development Company, L.P.
Opening minor device and creating guest machine container
Creation of VM, minor device 6
Initialize guest memory mapping tables
Starting event polling thread

Online migration initiated by source 'serverB' (192.168.11.112)

hpvmmigrate: Init phase completed successfully.
hpvmmigrate: Copy phase completed successfully.
hpvmmigrate: I/O quiesce phase completed successfully.
hpvmmigrate: Frozen phase completed successfully.


I am going through

http://docs.hp.com/en/B3936-90144/B3936-90144.pdf &
http://thomasvogt.wordpress.com/2008/08/26/mcserviceguard-cluster-installation-on-hp-ux-1131/

In the mean time could you advise me on how to achive the above.