- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX MC/ServiceGuard: vgexport/vgimport comman...
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
Discussions
Discussions
Forums
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
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
тАО05-28-2002 07:18 PM
тАО05-28-2002 07:18 PM
Solved! Go to Solution.
- Tags:
- vgexport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2002 08:24 PM
тАО05-28-2002 08:24 PM
Solution(doc id = UXSGLVKBAN00000012)
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058849494
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2002 11:14 PM
тАО05-28-2002 11:14 PM
Re: HPUX MC/ServiceGuard: vgexport/vgimport commands
http://docs.hp.com/hpux/ha
But simple answer, yes you can do this while it is active;
vgexport -p -m mapfilename -s vgname
This assumes you are NOT using large VG configured on something like an EMC or XP array.
If you are using these, then the -s option is not recommended.
man vgexport
then copy the mapfile to the othernode, make sur eyou have created the vg directory and group file correctly, then
vgimport -m mapfilename -s vgname
again same restriction on the -s option.
If you do NOT use -s, you will need to specify the device files for each pv or lun that has to be in hte vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2002 08:57 AM
тАО05-29-2002 08:57 AM
Re: HPUX MC/ServiceGuard: vgexport/vgimport commands
On nodeA
#vgexport -p -s -m /tmp/vgoracle.map /dev/vgoracle
# rcp /tmp/vgoracle.map nodeB:/tmp/vgoracle.map
On nodeB
# mkdir /dev/vgoracle
#mknod /dev/vgoracle/group c 64 0x0x0000
x= vg no.....check in /dev dir
#vgimport -s -m /tmp/vgoracle.map /dev/vgoracle
The
#vgchange -a y /dev/vgdata
Mount lvol on the directory for checking
If you are using PVGs then check the /etc/lvmpvg file also on both the nodes.
Do a vgchange -a n /dev/vgoracle after that
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 10:11 AM
тАО11-15-2002 10:11 AM
Re: HPUX MC/ServiceGuard: vgexport/vgimport commands
(MC/SG is up)
on node A:
vgchange -a n /dev/vgoracle
vgchange -c y /dev/vgoracle
vgchange -a e /dev/vgoracle
vi /etc/cmcluster/cmclconf.ascii
(add VOLUME_GROUP /dev/vgoracle).
vi /etc/cmcluster/packageA/packageA.cntl
(add VG[XX]=/dev/vgoracle)
XX is next index for VGs in this file.
rcp cmclconf.ascii to nodeB
rcp packageA.cntl to nodeB
cd /etc/cmcluster/packageA
vgexport -v -p -s -m vgoracle.map /dev/vgoracle
rcp vgoracle.map nodeB:/etc/cmcluster/packageA
go to node B.
on node B:
mkdir /dev/vgoracle
mknod /dev/vgoracle/group c 64 0xXX0000
(XX next available or especially assigned minor number)
cd /etc/cmcluster/packageA
vgimport -v -s -m vgoracle.map /dev/vgoracle
set correct permissions for devices (like for raw devices oracle uses etc to reflect exact settings on nodeA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2012 12:14 AM
тАО06-21-2012 12:14 AM
Re: HPUX MC/ServiceGuard: vgexport/vgimport commands
I tried the steps given:
On nodeA
vgexport -p -s -m /tmp/oldqhr_test.map /dev/vgna_oldqhr
vgexport: Volume group "/dev/vgna_oldqhr" is still active.
vgexport: Preview of vgexport on volume group "/dev/vgna_oldqhr" succeeded.
rcp /tmp/oldqhr_test.map oldqhr:/tmp/oldqhr_test.map
cat /tmp/oldqhr_test.map
VGID df5bfad24fe2be32
1 lvol1
On node B:
mkdir /dev/vgna_oldqhr
mknod /dev/vgna_oldqhr/group c 64 0x330000
vgimport -s -m /tmp/oldqhr_test.map /dev/vgna_oldqhr
Couldn't access the list of physical volumes for volume group "/dev/vgna_oldqhr".
What did I miss, please tell me.