- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MC ServiceGuard
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
11-06-2002 05:59 AM
11-06-2002 05:59 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 06:28 AM
11-06-2002 06:28 AM
Re: MC ServiceGuard
- create VG and lvol's on one node
- vgexport -v -s -p -m vg
- copy mapfile to second node
- vgimport -v -s -m vg
- stop packages
- update clusterscripts on both nodes (cmclconf.ascii, package-control-script)
- cmcheckconf ..., cmapplyconf...
- start packages
- stop packages and start on the other node
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 06:35 AM
11-06-2002 06:35 AM
Re: MC ServiceGuard
vgchange -a n
vgchange -a e
2. vgexport the VG and import onto the other node.
3. Amend your package config file to include the VG as a VOLUME GROUP.
4. Amend your package control script(s) to include the new VG and LV's.
5. cmcheckconf then cmapplyconf.
According to the documentation, this can be done with the cluster and package running.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 06:53 AM
11-06-2002 06:53 AM
Solutioncreate the new VG and the Lvols on the first node:
- check which minor-number is the next available by "ll -d /dev/vg*/gr*"
the output is like this:
# ll -d /dev/vg*/gr*
crw-r----- 1 root sys 64 0x000000 May 29 2000 /dev/vg00/group
crw-r--r-- 1 root sys 64 0x010000 Mar 17 2001 /dev/vg01/group
crw-r--r-- 1 root sys 64 0x020000 Apr 3 2001 /dev/vgomni/group
crw-r--r-- 1 root sys 64 0x060000 Jan 23 2001 /dev/vgswap/group
- the create charakterdevicefile for your VG:
1. mkdir /dev/
2. mknod /dev/
- pvcreate your disks for the new VG
- vgcreate your new VG
- create your lvols and the mountpoints
- change the VG to be a cluster-VG that can be activated in exclusiv mode by "vgchange -c y
- deactivate your VG "vgchange -a n
- produce a mapfile with VG-ID of you VG by "vgexport -p -s -m
- copy the mapfile to your sec. Node, create the charakterdevicefile and import you new VG by "vgimport -s -m
- create your mountpoints, activate your VG "vgchange -a e
- if all works well do a "vgcfgbackup
Now you can imlement your new VG in your MC/SG.
The way you implement your VG depents on what you want to do.
If you want to modify an existing MC/SG Package you have to edit the package-control-script which you can find in /etc/cmcluster/
In this scrpit you have to add the VG and the Lvols (easy to find). Afterwards copy this script to the secondary node.
To check the modification just do a cmhaltpkg / cmrunpkg on both nodes and check if all Lvols are there.
Best regards
Gerrit Beyken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 07:53 AM
11-06-2002 07:53 AM
Re: MC ServiceGuard
Pvcreate your disks that go in this VG then do a vgcreate/vgextend on these disks .
Create your lvols and mount points . Create your filsystems and mount them .
Edit your cluster config ascii file and enter the new vg there .
Make your vg cluster aware by doing vgchange -c y /dev/vgname .
Unmount your new file sytems and deactivate the volume group .
Exort the VG in a map file . vgexport -p -s -m
Now if you want to add a the VG in a new package then create a new package template file and control script and modify the entries as you would normally do for any other package . then do a cmcheckconf and cmapplyconf and then simply start the package using cmrunpkg . Before that sync all your config files on both the nodes .
If you want to add the VG in an existing package then all you have to do is modify the package conf files and control script files accordingly and then do a cmcheckconf and cmaaplyconf .
THen activacte the vg . vgchange -a e /dev/vgname . mount all filsystems and you are good to go . Again sync all config files on both the nodes .
Copy the map file on the other node . Create the same group file as you did on the first node . Then vgimport the VG . vgimport -s -m
vgchange -a e /dev/vgname .
THe mount your logical volumes to check they mount fine . THen deactivate the VG again .
Now if you want to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 06:51 AM
11-07-2002 06:51 AM