- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- add a new vg in cluster
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-16-2010 12:47 AM
11-16-2010 12:47 AM
add a new vg in cluster
To add a new vg vgtest to SG cluster(2 node) I would do following:
Please let me know am i correct?
(SG is up)
on node A:
vgchange -a n /dev/vgtest
vgchange -c y /dev/vgtest
vgchange -a e /dev/vgtest
vi /etc/cmcluster/cmclconf.ascii
(add VOLUME_GROUP /dev/vgtest).
vi /etc/cmcluster/packageA/packageA.cntl
What i need to add in packageA.cntl file?
rcp cmclconf.ascii to nodeB
rcp packageA.cntl to nodeB
cd /etc/cmcluster/packageA
vgexport -v -p -s -m vgtest.map /dev/vgtest
rcp vgtest.map nodeB:/etc/cmcluster/packageA
go to node B.
on node B:
mkdir /dev/vgtest
mknod /dev/vgtest/group c 64 0xXX0000
(XX next available or especially assigned minor number)
cd /etc/cmcluster/packageA
vgimport -v -s -m vgtest.map /dev/vgtest
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2010 01:13 AM
11-16-2010 01:13 AM
Re: add a new vg in cluster
vi /etc/cmcluster/packageA/packageA.cntl
What i need to add in packageA.cntl file?
Specify new volume groups.
VG[n]=/dev/vgtest
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2010 01:20 AM
11-16-2010 01:20 AM
Re: add a new vg in cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2010 01:29 AM
11-16-2010 01:29 AM
Re: add a new vg in cluster
Probe VG configuration:
Node A:
# vgdisplay -v vgtest
# vgchange -a n vgtest
Node B:
# vgchange -a e vgtest
# vgdisplay -v vgtest
# vgchange -a n vgtest
Node A:
# vgchange -a e vgest
If all OK:
# cd /etc/cmcluster
# cgmgetconf -v -c cluster_name cmclconf.ascii
# cmgetconf -v -c cluster_name -p packageA
man cmgetconf
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2010 04:28 AM
11-16-2010 04:28 AM
Re: add a new vg in cluster
A VG can only be used by a single package unless you are using Serviceguard extension for RAC (which is more rare than common Serviceguard).
If you add a VG reference to a package (configuration file (modular format) or control script (legacy format), you will likely need to add references to the logical volumes that you create in the new VG, for use in the package unless the package is used for Oracle RAC, which uses raw volumes.
Example addition to legacy package control script:
LV[3]="/dev/vg07/lvol4"; FS[3]="/mnt4"; FS_MOUNT_OPT[3]="-o rw"
Example addition to modular package configuration file:
fs_name /dev/vg07/lvol1
fs_directory /mnt4
fs_mount_opt "-o rw"
fs_umount_opt "-s"
fs_fsck_opt "-s"
fs_type "vxfs"
If you are dealing with legacy packages, copy such file modifications to the same file on the other nodes.
If you are dealing with modular packages, cmapplyconf the change made to the package configuration file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2010 05:17 AM
11-16-2010 05:17 AM
Re: add a new vg in cluster
(XX next available or especially assigned minor number)
minor number should be exactly same as the one you given in Node A.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 12:57 AM
11-17-2010 12:57 AM
Re: add a new vg in cluster
After completing those steps (which i mentioned above in my post) shall I follow your steps which you mentioned in your second reply?
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 01:34 AM
11-17-2010 01:34 AM
Re: add a new vg in cluster
>>> vi /etc/cmcluster/cmclconf.ascii
(add VOLUME_GROUP /dev/vgtest).
no vi.
# cd /etc/cmcluster
# cmgetconf -v -c cluster_name cluster_name.ascii
cmgetconf - Get cluster or package configuration information
man cmclconfig
# vgchange -a e vgtest
Next vgexport and vgimport probe to activate vgtest in both nodes.
Activate each specified volume group and all associated physical and logical volumes for exclusive read-write access. The volume group must be marked as part of a high availability cluster, and the availability software must be running on the system; otherwise, the volume group is not activated
man vgchange
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 01:39 AM
11-17-2010 01:39 AM
Re: add a new vg in cluster
You need to add the LV information in pkg control file, something like below
LV[x]="
after that you can use the steps in 2nd point of Rari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2010 09:57 PM
11-21-2010 09:57 PM