- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to use the LUN of one HP-UX server to anot...
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
тАО01-11-2010 07:11 AM
тАО01-11-2010 07:11 AM
Re: How to use the LUN of one HP-UX server to another server
After you have imported the vg onto the new server make sure you run a vgexport again on the source server to remove the volume group otherwise you could have two systems accessing the file system at the same time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 07:17 AM
тАО01-11-2010 07:17 AM
Re: How to use the LUN of one HP-UX server to another server
Be careful, remove the LV and VG means deleting the data!
vgexport will remove all the configuration information from the server, but not from the data disks.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 08:45 AM
тАО01-11-2010 08:45 AM
Re: How to use the LUN of one HP-UX server to another server
First, make sure that the lun is 'masked' over to the new server. This is SAN work. Confirm that every disk is masked to that new server and device files were created.
Next...with the old server up and seeing the disk, run the commands that Pete and others gave you to create mapfiles (vgexport).
On the new node run the commands to mkdir/mknod & vgimport. Stop - don't run vgchange just yet.
Umount all f/s affected on the old server, and then run vgchange -a n /dev/
Now your data is still there on the disk.
Now go over to the new server. You already ran vgimport command, so now just run vgchange -a y /dev/
Once all is up okay and mounted, remember to add to your /etc/fstab.
When your done with the old server - then from the old server you can do the cleanup if you like:
vgexport /dev/
remove entries from /etc/fstab
'unmask' disks from old server
Rgrds
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 08:49 AM
тАО01-11-2010 08:49 AM
Re: How to use the LUN of one HP-UX server to another server
Before you run vgchange -a y on the new server, go to the old server and run vgchange -a n
ok...now I'm done
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 09:05 AM
тАО01-11-2010 09:05 AM
Re: How to use the LUN of one HP-UX server to another server
1)Shall i change the name of VG in destination.
For exampled:
In source = /dev/vg01
In destination = /dev/vg04
Is it possible?
2)Has both major and minor numbers to be same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 09:48 AM
тАО01-11-2010 09:48 AM
Re: How to use the LUN of one HP-UX server to another server
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 06:59 AM
тАО01-12-2010 06:59 AM
Re: How to use the LUN of one HP-UX server to another server
I have some following questions:
1)Do we need to map all the LUNs to destination server if the VG is having lot of LUNs in source?
2)Can we map one LUN of VG (that VG is having more LUNs in source) to destination and get the LVs of that LUN in destination?
3)What i have to do if i want failover, plesase explain the steps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 07:03 AM
тАО01-12-2010 07:03 AM
Re: How to use the LUN of one HP-UX server to another server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 09:07 AM
тАО01-12-2010 09:07 AM
Re: How to use the LUN of one HP-UX server to another server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 09:52 PM
тАО01-12-2010 09:52 PM
Re: How to use the LUN of one HP-UX server to another server
1)Do we need to map all the LUNs to destination server if the VG is having lot of LUNs in source?
yes you need to do, otherwise there cane be few disks in the new Vg on new node and there shall be problems of VG activation if quorum check fails.
2)Can we map one LUN of VG (that VG is having more LUNs in source) to destination and get the LVs of that LUN in destination?
it depends how that lun is having data on that.
if that LUN is a part holding any spanned or striped logical volume, you will not get the data on that if you try to use that as it shall not find other members of the Stripped/ spanned LV. so you shall corrupt data.
also say the source VG has 4 LUNs and you use only 1 LUN for Impoerting in a new VG, the VG shall fail quorum check on activation.
if you have 2 LUNs and all the LVs on that LUN are non-striped as well as non-spanned and the LVs on one LUN are mirrored to that on the second LUN and assuming this is not a root VG, you can use one LUN to import VG and activate the VG in quorum override mode and may get the data.
so this is all that "depends".
3)What i have to do if i want failover, plesase explain the steps?
can you be more clear for this question, what type of failover?
regards