08/04/2019 HP Serviceguard Cluster Configuration Guide - A Cheat Sheet - FoxuTech 1/13 HP Serviceguard Cluster Con±guration Guide – A Cheat Sheet HP Serviceguard HP Serviceguard was the very first solution for high availability clustering software. Serviceguard uses resource virtualization to ensure that critical applications, databases, or services are continually up and running. Users typically don’t care which server they run their application on—they just want to make sure that application is running. Serviceguard hides the details of which server an application is actually running on at any given time, which means it can move applications between servers on the fly. What is a Serviceguard cluster? Any host system running in a Serviceguard cluster is called an active node . Under normal conditions, a fully operating Serviceguard cluster monitors the health of the cluster’s components on all its active nodes.Most Serviceguard packages are failover packages. When you configure a failover package, you specify which active node will be the primary node where the package will start, and one or more other nodes, called adoptive nodes , that can also run the package. Creating a Serviceguard cluster By motoskia - March 7, 2017
08/04/2019 HP Serviceguard Cluster Configuration Guide - A Cheat Sheet - FoxuTech 2/13 Before you configure the cluster, you will need to create a volume group on the shared disks, so that Service Guard can create a “Cluster Lock Disk”. On testnode1 # pvcreate /dev/rdsk/c0t4d0 # pvcreate /dev/rdsk/c1t4d0 # mkdir /dev/vg01 # mknod /dev/vg01/group c 64 0×010000 # vgcreate vg01 /dev/dsk/c0t4d0 /dev/dsk/c1t4d0 # mkdir /etc/cmcluster/maps # vgexport –p –s –m vg01 /etc/cmcluster/maps/vg01 On testnode2 # mkdir /dev/vg01 # mknod /dev/vg01/group c 64 0×010000 # mkdir /etc/cmcluster/maps # rcp testnode1:/etc/cmcluster/maps/vg01 /etc/cmcluster/maps/vg01 # vgimport –s –m /etc/cmcluster/maps/vg01 vg01 # vgchange –a y vg01 # vgchange –a n vg01 You can now go ahead and create the cluster. # cd /etc/cmcluster
08/04/2019 HP Serviceguard Cluster Configuration Guide - A Cheat Sheet - FoxuTech 3/13 # cmquerycl –v –C cmclconfig.ascii –n testnode1 -n testnode2 After creating this file, you will need to edit it to suit your cluster. You will need to alter the following lines: # vi cmclconfig.ascii CLUSTER_NAME simeon1 NODE_NAME testnode1 NETWORK_INTERFACE lan0 HEARTBEAT_IP 192.168.100.101 NETWORK_INTERFACE lan1 HEARTBEAT_IP 220.127.116.11 NETWORK_INTERFACE lan2 NODE_NAME testnode2
You've reached the end of your free preview.
Want to read all 13 pages?
- Fall '19
- Following, Configuration files