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
тАО08-23-2008 09:43 PM
тАО08-23-2008 09:43 PM
On the cluster partner I need to run vgimport with the vgname and device name. do I have to list all the devices with paths to the disk or just the first one
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2008 11:00 PM
тАО08-23-2008 11:00 PM
Re: vgimport
You didnt mention the version of OS, ans should differ for 11.11 and 11.31.
For 11.11, it has to be mentioned all paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2008 11:03 PM
тАО08-23-2008 11:03 PM
Re: vgimport
Two choices:
You can use -s option available in vgexport to search all required disk devives for you.
e.g.
vgexport -vpsm /tmp/map.file vgname
or
You can specify all the disks those are part of vg
vgexport -vpm /tmp/map.file vgname disk lists
on all other cluster nodes:
# mkdir /dev/vgname
#mknod /dev/vgoracle/group c 64 0x0x0000
x= vg no.....check in /dev dir
#vgimport -s -m /tmp/map.file /dev/vgname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2008 10:28 PM
тАО08-24-2008 10:28 PM
Re: vgimport
following are the steps
first take the minor no from the node on which you are doing vgexport for that vg
1) ll /dev/
2)on primary node run the vgexport -v -s -p -m /tmp/
3) on another cluster node
run the following command
#ll /dev/vgname/group
take the major and minor no
#vgexport /dev/vgname
#mkdir /dev/vgname
#mknod /dev/vgname/group c
#vgimport -s -m /tmp/vgname.map /dev/vgpname
Regards
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 06:58 AM
тАО08-26-2008 06:58 AM
Re: vgimport
Yes if you have created the map file without -s option you need to specify only the disk device name /dev/dsk/cxtxdx.
#vgimport -m /
if you had exported the mapfiles
with -s option then no need to specify the disk device file name as -s would create map file with vgid's.
Best Regards,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 04:27 AM
тАО08-27-2008 04:27 AM
Re: vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 04:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 04:44 AM
тАО08-27-2008 04:44 AM
Re: vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 08:27 AM
тАО08-27-2008 08:27 AM
Re: vgimport
Pls assign the points as per ITRC forum.It will encourage the people to give the ans and spend their valuable time.
Reagrds
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 08:57 AM
тАО08-27-2008 08:57 AM
Re: vgimport
vgexport -p -s -m /tm/vgXX.map /dev/vgXX
then scp the map file to the other server.
then
create the vg dir , ex.
mkdir /dev/vgXX
then create the group file, and then
vgimport -s -m /tmp/vgXX.map /dev/vgXX
This is all in the serviceguard manuals that can be viewed and downloaded from ttp://docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 09:03 AM
тАО08-27-2008 09:03 AM
Re: vgimport
You want to use the -s on the vgexport so that it puts the vgid in the mapfile. then the vgimport will get the vgid and scan the disks looking for that vgid on the other host. the vgid is stored in the vgra is what will let each server know which disks belong to which volume groups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 09:05 AM
тАО08-27-2008 09:05 AM
Re: vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 09:16 AM
тАО08-27-2008 09:16 AM
Re: vgimport
ioscan -fuC disk | wc -l
will give you a close figure. I guess if it has to scan a lot if disks that could take a while.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 01:52 AM
тАО08-28-2008 01:52 AM
Re: vgimport
There would be some storage specific commands to find out the device name of the disks in the second node which corresponds the disk device name in the first node.
And then use -f option with disk file name while vgimport in the second node instead of using -s option
It will not scan all your disks and so it will be faster.
HTH
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 10:28 AM
тАО08-29-2008 10:28 AM
Re: vgimport
Its my understanding that the partner needs to have the list of devices as seen by the partner not the primary.