- 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-08-2010 05:22 AM
тАО01-08-2010 05:22 AM
I have one HP-UX 11.11 server with some LUN (SAN disks).
Now i want to use the LUN linked with one HP-UX server in another HP-UX server.
Actually we are going to scrap the old HP-UX server.
How to use that LUN in new HP-UX server with all VGs and LVs and data intact.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2010 05:30 AM
тАО01-08-2010 05:30 AM
Re: How to use the LUN of one HP-UX server to another server
mkdir /dev/vgNN
mknod /dev/vgNN/group c 64 0xNN0000
vgimport -s -m /tmp/vgNN.map /dev/vgNN
vgchange -a y /dev/vgNN
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2010 05:34 AM
тАО01-08-2010 05:34 AM
Re: How to use the LUN of one HP-UX server to another server
>> How to use that LUN in new HP-UX server with all VGs and LVs and data intact.
I *think* you have to:
- Create mapfiles of VGs in old server.
- Present LUNs from san side to the new server.
- Transfer the mapfiles to new server
- vgimport these VGs on new server.
This should solve the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2010 03:25 PM
тАО01-08-2010 03:25 PM
Re: How to use the LUN of one HP-UX server to another server
vgexport -pvs -m /tmp/vg01.map /dev/vg01
on the source and then rcp the file to the other node.
On the other node:
Vgexport /dev/vg01
Umask 655
Mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -vs -m /tmp/vg01.map /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2010 12:21 AM
тАО01-10-2010 12:21 AM
Re: How to use the LUN of one HP-UX server to another server
first vgexport:
vgexport -pvs -m /tmp/vg01.map /dev/vg01
on the source and then rcp the file to the other node.
Request SAN storagee team to make them avail to new server .
On new node:
Vgexport /dev/vg01
Umask 655
Mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -vs -m /tmp/vg01.map /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2010 02:33 AM
тАО01-10-2010 02:33 AM
Solutiona. Create a map file for the VG you want to remove, say NODE1:
# vgexport -p -s -v -m /tmp/vgxx.map /dev/vgxx
b. identify the UUID of the LUN and the Port WWN of the port the LUN is currently assigned to and will be assigned to:
ex : if you use IBM sdd "datapath query devices" will give the UUID of the VPATH you want to remove and "datapath query wwpn" or "fcmsutil /dev/tdx" will give the WWPN of the FC adapter port to which the LUN is assigned.
c. scp or ftp or rcp the map file to Node 2 where you want to move the LUN to.
d. unmount all the LVs and remove the VG permanently from Node1
# vgexport vgxx.
e. Disassociate the lun from the Port on Node1 and zone it to the port on Node 2. SAN storage team should be able to tell you how. the procedure Varies according to Storage Brand.
f. On Node 2 import the VG:
# ioscan -f
# ioscan -funC disk
# insf -eC disk
If you are using SDD "datapath query devices" will give the UUID of the VPATH you have just added.
# mkdir /dev/vgxx
# mknod /dev/vgxx/group c 64 0xMM0000 <- MM is the minor number you want to use.
# vgimport -s -v -m /tmp/vgxx /dev/vgxx
# vgdisplay vgxx <-- if it says not active use vgchange -a y vgxx - Cant remember if it will activate after you import-->
You can then start mounting the LVs.
All the Best!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 05:45 AM
тАО01-11-2010 05:45 AM
Re: How to use the LUN of one HP-UX server to another server
Why are you doing "Vgexport /dev/vg01" in another node.
Why it is required?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 05:56 AM
тАО01-11-2010 05:56 AM
Re: How to use the LUN of one HP-UX server to another server
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 06:07 AM
тАО01-11-2010 06:07 AM
Re: How to use the LUN of one HP-UX server to another server
How to find the UUID of the local disk and LUN (SAN disk)?
What is the command in HP-UX?
What is the purpose of "# insf -eC disk"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 06:39 AM
тАО01-11-2010 06:39 AM
Re: How to use the LUN of one HP-UX server to another server
So we have to execute "vgexport vgXX" in source server after unmounting LV, then removing the LV, and then removing the vgXX, Am i correct?
Is it a custom that we have to run "vgexport vgXX in source or is there any special purpose to this?