HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding new volume group to package
Operating System - HP-UX
1833268
Members
2923
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-02-2002 06:14 AM
10-02-2002 06:14 AM
Anyone can tell me what's the correct way of adding new volume group to existing package? I have an idea but I don't want to miss any steps. Thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 06:19 AM
10-02-2002 06:19 AM
Re: Adding new volume group to package
You may have a look at the ServiceGuard chapter of the Software Recovery Handbook...
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x148f93e260b0d611abdb0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x148f93e260b0d611abdb0090277a778c,00.html
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 06:29 AM
10-02-2002 06:29 AM
Solution
Hi Michael,
Create the volume group as usual with the following procedure on one node.
1. pvcreate /dev/rdsk/c?t?d?
2. mkdir /dev/vg??
3. mknod /dev/vg?? c 64 0x0?0000
4. vgcreate /dev/vg?? /dev/dsk/c?t?d?
5. vgextend /dev/vg?? (remaining disks)
6. Create the logical volumes
(lvcreate, newfs etc.,)
7. Generate a map file using either -f or -s option. I would prefer -s if there aren't many disks.
vgexport -p -s -m /tmp/vg??.map vg??
8. Copy the map file to the other nodes
9. Repeat the steps 2 and 3 on other nodes
10. vgimport -v -s -m /tmp/vg??.map vg?? on all other nodes to import the volume groups.
11. Edit /etc/cmcluster/cmclconf.ascii (or whatever your ascii file is). Add the new volume group name. Copy the ascii file to other nodes.
12. Apply the configuration
cmapplyconf -C /etc/cmcluster/cmclconf.ascii
You don't need to bring down the cluster for this unless you have a very old version of ServiceGuard. That will prompt you to bring down the cluster anyway if it does not allow it.
Now vg?? is part of your serviceguard resources.
13. Add the volume group to your existing package control file. Copy it to all other nodes.
If you don't want to bring down the package, then do the following.
vgchange -c y vg??
vgchange -a e vg??
mount all the file systems
-Sri
Create the volume group as usual with the following procedure on one node.
1. pvcreate /dev/rdsk/c?t?d?
2. mkdir /dev/vg??
3. mknod /dev/vg?? c 64 0x0?0000
4. vgcreate /dev/vg?? /dev/dsk/c?t?d?
5. vgextend /dev/vg?? (remaining disks)
6. Create the logical volumes
(lvcreate, newfs etc.,)
7. Generate a map file using either -f or -s option. I would prefer -s if there aren't many disks.
vgexport -p -s -m /tmp/vg??.map vg??
8. Copy the map file to the other nodes
9. Repeat the steps 2 and 3 on other nodes
10. vgimport -v -s -m /tmp/vg??.map vg?? on all other nodes to import the volume groups.
11. Edit /etc/cmcluster/cmclconf.ascii (or whatever your ascii file is). Add the new volume group name. Copy the ascii file to other nodes.
12. Apply the configuration
cmapplyconf -C /etc/cmcluster/cmclconf.ascii
You don't need to bring down the cluster for this unless you have a very old version of ServiceGuard. That will prompt you to bring down the cluster anyway if it does not allow it.
Now vg?? is part of your serviceguard resources.
13. Add the volume group to your existing package control file. Copy it to all other nodes.
If you don't want to bring down the package, then do the following.
vgchange -c y vg??
vgchange -a e vg??
mount all the file systems
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 06:48 AM
10-02-2002 06:48 AM
Re: Adding new volume group to package
Create the VG's , LV's and file system normally as you would on one node .
Export the VG is preview and shareable mode into a map file .
Copy the map file on the other node and import the VG .
Make the VG cluster aware by putting the VG entry in the cluster ascii file . Distributr the ascii file on all nodes .
Reapply the cluster ascii file using cmapplyconf .
Edit your package conf file and enter your new VG, LV and file system information .
Put the VG in the cluster using vgchange -c y /dev/vg_name .
Activate the VG exclusively using vgchange -a -e y vgname .
Mount your file systems.
Export the VG is preview and shareable mode into a map file .
Copy the map file on the other node and import the VG .
Make the VG cluster aware by putting the VG entry in the cluster ascii file . Distributr the ascii file on all nodes .
Reapply the cluster ascii file using cmapplyconf .
Edit your package conf file and enter your new VG, LV and file system information .
Put the VG in the cluster using vgchange -c y /dev/vg_name .
Activate the VG exclusively using vgchange -a -e y vgname .
Mount your file systems.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP