- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Serviceguard
- >
- clusted environment create new LV
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-16-2002 06:36 PM
12-16-2002 06:36 PM
clusted environment create new LV
I have a MC/SG clusted with two nodes. Both are sharing a VA7400. What is the correct procedure if I want to create a new LV in a volume group that is part of clusteed package so that when the failover occurred the new LV will be mounted on the second node.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-16-2002 06:43 PM
12-16-2002 06:43 PM
Re: clusted environment create new LV
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-16-2002 06:47 PM
12-16-2002 06:47 PM
Re: clusted environment create new LV
Create the LV on the primary node and then sync the device file of that lv on the failover node. You can do that by doing mknod on the failover server with the same major and minor number.
Then edit the package script on the primary server and add the new lv for getting it mounted my package and copy these scripts to failover machine to sync them.
This should be sufficent in nut shell. Let me know if you need more details.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-17-2002 03:09 AM
12-17-2002 03:09 AM
Re: clusted environment create new LV
1. Halt the package corresponding to that VG in which you are creating the new LV.
2. Activate the VG in exclusive mode on the pimary node.
vgchange -a e vgtest
3. Create the LV (and filesystem if needed) and backup the configuration using vgcfgbackup vgtest
4. Then create a map file for the VG using vgexport command with -p and -s switches
vgexport -p -v -s -m vgtest.map vgtest
rcp the map file to the secondary node
5. Deactivate the VG
6. On Secondary node remove the old VG configuration
vgexport vgtest
7. Then create the directory for the VG and create a group file with the same minor number as in the primary node.
8. Now import the VG and back up the configuration
vgimport -v -s -m /tmp/vgtest.map /dev/dsk/cxtxdx ....
vgcfgbackup vgtest
Activate the VG in exclusive mode and do a vgdisplay to make sure it works
9. On primary node edit the package configuration file which uses the above VG and add new mount points ( add to the LV[x] FS [x] entries )
10. Distribute the package configuration file to the other node and reapply the configuration using cmapplyconf.
Note: you should not use the new LV for other packages, a VG can belong to only one package
Hope this helps,
Regards
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-17-2002 06:30 AM
12-17-2002 06:30 AM
Re: clusted environment create new LV
The steps provided by techssk are good, but it should be noted that the package need not be down to perform the change.
The reason I say this is because the only change to the package is in the package.cntl file, where you are merely adding an lvol/filesystem. The control file doesn't care what was in place at startup and that everything is the same at shutdown. As long as the filesystem is present for unmount at package halt, you will receive no errors.
This way you will experience no downtime for your application.
Hope this helps
Chris
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP