- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating SG failover package
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 12:57 AM
06-08-2009 12:57 AM
Need a few tips as i'm new to SG and testing it.
I have a 2 HP-UX 11.31 servers clustered set up and now want to create a package eg VG package.
I've a shared SAN disk presented to both servers and now need some tips for creating a package over the server cluster. (Im using the smh so far.)
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 01:51 AM
06-08-2009 01:51 AM
SolutionHi
you can find this as helpful.
http://thomasvogt.wordpress.com/2008/08/26/mcserviceguard-cluster-installation-on-hp-ux-1131/
refer to the Service Guard Manual:
http://docs.hp.com/en/B3936-90140/B3936-90140.pdf
creation of package.
node1:
1) create the VG(s) say vg02 to be used by the cluster package on one node. create LVs and filesys.
make this VG cluster aware.
#vgchahge -c y /dev/vg02
create a map and rcp to the other node
#vgexport -p -v -s -m /tmp/vg02.map /dev/vg02
#rcp /tmp/vg02.map node2:/tmp
2) import this VG on node2
node2:
#mkdir /dev/vg02
#mknod /dev/vg02/group c 64 0X020000
#vgimport -v -s -m /tmp/vg02.map /dev/vg02
your VGs are configured.
on node1: create the pkg template files for configuration and control.
node1:
#cd /etc/cmcluster
#mkdir pkg1
#cd pkg1
#cmcmakepkg -s pkg1.cntl
#cmamkepakg -p pkg1.conf
edit pkg1.conf
PACKAGE_NAME pkg1
PACKAGE_TYPE FAILOVER
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
SUBNET <192.168.0.0_SUBNET_ADDRESS>
run_script
halt_script
NODENAME node1
NODENAME node2
NODE_FAIL_FAST_ENABLED NO
SERVICE_NAME
SERVICE_FAIL_FAST_ENABLED NO
edit the pkg1.cntl
VG_NAME=
FS check and mount options -- put the VG,LV name amnd mount points and mount option
IP -- IP address of the package
SUBNET -- SUBNET as given in pkg1.conf
SERVICE_NAME
SERVICE_CMD
etc
create the mount points as mentioned in the pkg1.cntl on node1 as well as node2.
rcp these pkg1.conf and pkg1.cntl to node2 alsp creating on node2 /etc/cmcluster/pkg1.
cmcheckconf -v -P /etc/cmcluster/pkg1.conf
no errors returned
cmapplyconf -v -P /etc/cmcluster/pkg1.conf
cmrunpkg -v pkg1 - to start the package
cmhaltpkg -v pkg1 - to halt the package
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 01:53 AM
06-08-2009 01:53 AM
Re: Creating SG failover package
http://www.docs.hp.com/en/B3936-90117/ch03s03.html
http://docs.hp.com/en/15682/optimizingfailoversg-1119.pdf
http://docs.hp.com/en/B3936-90100/ch04s08.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 02:58 AM
06-08-2009 02:58 AM
Re: Creating SG failover package
u can see the all manuals of service guard
here
http://docs.hp.com/en/ha.html#Serviceguard
thanks and regards
Sajjad sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2009 08:46 PM
06-13-2009 08:46 PM
Re: Creating SG failover package
Procedure for creating and my very brief cookbook
1) mkdir /etc/cmcluster/package_name
2) cd /etc/cmcluster/package_name
3) cmmakepkg -v -p pkg.conf
4) vi pkg.conf
5) cmmakepkg -v -s pkg.cntl
6) vi pkg.cntl
7) ftp pkg.cntl to all other nodes
8) cmcheckconf -v -P /etc/cmcluster/package_name/pkg.conf
9) cmapplyconf -v -P /etc/cmcluster/package_name/pkg.conf