HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I need to change to backup server
Operating System - HP-UX
1832678
Members
3065
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-13-2006 04:56 AM
01-13-2006 04:56 AM
I need to change to backup server
I have two L2000s and a VA7400. I only have a single L2000 using the VA7400 at a time. Running bdf on the "active" server yields
/dev/vg00/lvol3 159744 100655 55462 64% /
/dev/vg00/lvol1 111637 60085 40388 60% /stand
/dev/vg00/lvol7 1048576 853119 185272 82% /var
/dev/vg00/lvol6 2560000 1331026 1152948 54% /usr
/dev/vg00/lvol5 155648 23078 124595 16% /tmp
/dev/vg00/lvol4 1638400 1475181 153062 91% /opt
/dev/vg00/lvol8 1073152 1471 1004760 0% /home
/dev/vg04/lvol9 51200000 29013 47972808 0% /dump_load
/dev/vg01/lvol1 56610816 37621064 18844240 67% /database
/dev/vg02/lvol1 56610816 25618360 30756800 45% /backup
/dev/vg03/lvol3 17408000 1053292 16100132 6% /apps
Running bdf on my "standby" server yields
/dev/vg00/lvol3 196608 130106 62388 68% /
/dev/vg00/lvol1 111637 59338 41135 59% /stand
/dev/vg00/lvol7 4194304 2305835 1770469 57% /var
/dev/vg00/lvol6 2560000 1336032 1147518 54% /usr
/dev/vg00/lvol5 155648 42768 105885 29% /tmp
/dev/vg00/lvol4 1638400 1232573 380501 76% /opt
/dev/vg00/lvol8 20480 1359 17940 7% /home
/dev/vg03/lvol3 17408000 4882288 12331368 28% /apps
Virtual Groups 1,2, and 4 are on the VA7400. I want to unmount vg01, vg02, vg04 on my active server and mount the same virtual groups now on my standby server, making it the active one. Both servers are connected to the VA7400. Both servers are identical, and are running HP-UX 11i.
What's the easiest way to do this?
/dev/vg00/lvol3 159744 100655 55462 64% /
/dev/vg00/lvol1 111637 60085 40388 60% /stand
/dev/vg00/lvol7 1048576 853119 185272 82% /var
/dev/vg00/lvol6 2560000 1331026 1152948 54% /usr
/dev/vg00/lvol5 155648 23078 124595 16% /tmp
/dev/vg00/lvol4 1638400 1475181 153062 91% /opt
/dev/vg00/lvol8 1073152 1471 1004760 0% /home
/dev/vg04/lvol9 51200000 29013 47972808 0% /dump_load
/dev/vg01/lvol1 56610816 37621064 18844240 67% /database
/dev/vg02/lvol1 56610816 25618360 30756800 45% /backup
/dev/vg03/lvol3 17408000 1053292 16100132 6% /apps
Running bdf on my "standby" server yields
/dev/vg00/lvol3 196608 130106 62388 68% /
/dev/vg00/lvol1 111637 59338 41135 59% /stand
/dev/vg00/lvol7 4194304 2305835 1770469 57% /var
/dev/vg00/lvol6 2560000 1336032 1147518 54% /usr
/dev/vg00/lvol5 155648 42768 105885 29% /tmp
/dev/vg00/lvol4 1638400 1232573 380501 76% /opt
/dev/vg00/lvol8 20480 1359 17940 7% /home
/dev/vg03/lvol3 17408000 4882288 12331368 28% /apps
Virtual Groups 1,2, and 4 are on the VA7400. I want to unmount vg01, vg02, vg04 on my active server and mount the same virtual groups now on my standby server, making it the active one. Both servers are connected to the VA7400. Both servers are identical, and are running HP-UX 11i.
What's the easiest way to do this?
I may not know everything, but I'm working on it...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2006 05:07 AM
01-13-2006 05:07 AM
Re: I need to change to backup server
Paul,
I expect you'll need to vgexport the VG's. Unmount the files systems, run "vgchange -a n" on each VG, then vgexport them:
vgexport -s -m /tmp/vg01map /dev/vg01
etc.
Then, on the standby server, copy the mapfiles into place and import them:
mkdir /dev/vg01
mknod /dev/vg01/group c64 0x010000
vgimport -s -m /tmp/vg01map /dev/vg01
vgchange -a y /dev/vg01
and so on for the other VGs. The only thing that is going to cause you problems is that you already have a vg03 /apps on your standby server. You can import it as vg04 and mount it as /active_apps or some such.
Pete
Pete
I expect you'll need to vgexport the VG's. Unmount the files systems, run "vgchange -a n" on each VG, then vgexport them:
vgexport -s -m /tmp/vg01map /dev/vg01
etc.
Then, on the standby server, copy the mapfiles into place and import them:
mkdir /dev/vg01
mknod /dev/vg01/group c64 0x010000
vgimport -s -m /tmp/vg01map /dev/vg01
vgchange -a y /dev/vg01
and so on for the other VGs. The only thing that is going to cause you problems is that you already have a vg03 /apps on your standby server. You can import it as vg04 and mount it as /active_apps or some such.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2006 05:59 PM
01-13-2006 05:59 PM
Re: I need to change to backup server
Hi,
Alongwith the above details you should also consider Zoning changes at the FC-Switch level if there are some zones configured.
I have not worked on VA7400 but if some sort of LUN protectin is there than that also may require modifications for making these LUNs visible to the new server. If you are not going to use existing LUNs on standby server or the standby sever has no VA LUNs currently allocated, the Zone and security changes can be avoided by putting FC controller from active server to standby server.
HTH,
Devender
Alongwith the above details you should also consider Zoning changes at the FC-Switch level if there are some zones configured.
I have not worked on VA7400 but if some sort of LUN protectin is there than that also may require modifications for making these LUNs visible to the new server. If you are not going to use existing LUNs on standby server or the standby sever has no VA LUNs currently allocated, the Zone and security changes can be avoided by putting FC controller from active server to standby server.
HTH,
Devender
Impossible itself mentions "I m possible"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 02:57 AM
01-30-2006 02:57 AM
Re: I need to change to backup server
I had forgotten all about it, but I had created the following script to create the references to my VA:
vgchange -a n /dev/vg01
vgchange -a n /dev/vg02
vgchange -a n /dev/vg04
vgexport /dev/vg01
vgexport /dev/vg02
vgexport /dev/vg04
mkdir /dev/vg01
mkdir /dev/vg02
mkdir /dev/vg04
mknod /dev/vg01/group c 64 0x010000
mknod /dev/vg02/group c 64 0x020000
mknod /dev/vg04/group c 64 0x040000
vgimport -v /dev/vg01 /dev/dsk/c6t0d1
vgimport -v /dev/vg02 /dev/dsk/c6t0d2
vgimport -v /dev/vg04 /dev/dsk/c6t0d3
vgchange -a y /dev/vg01
vgchange -a y /dev/vg02
vgchange -a y /dev/vg04
mount /dev/vg01/lvol1 /database
mount /dev/vg02/lvol1 /backup
mount /dev/vg04/lvol9 /dump_load
Then I had to make the following entries in FSTAB:
/dev/vg01/lvol1 /database vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg02/lvol1 /backup vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg04/lvol9 /dump_load vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
After a freboot, all was well on my secondary server.
On the server I moved off of, I just had to umount the file systems in question and remove the entries from FSTAB.
vgchange -a n /dev/vg01
vgchange -a n /dev/vg02
vgchange -a n /dev/vg04
vgexport /dev/vg01
vgexport /dev/vg02
vgexport /dev/vg04
mkdir /dev/vg01
mkdir /dev/vg02
mkdir /dev/vg04
mknod /dev/vg01/group c 64 0x010000
mknod /dev/vg02/group c 64 0x020000
mknod /dev/vg04/group c 64 0x040000
vgimport -v /dev/vg01 /dev/dsk/c6t0d1
vgimport -v /dev/vg02 /dev/dsk/c6t0d2
vgimport -v /dev/vg04 /dev/dsk/c6t0d3
vgchange -a y /dev/vg01
vgchange -a y /dev/vg02
vgchange -a y /dev/vg04
mount /dev/vg01/lvol1 /database
mount /dev/vg02/lvol1 /backup
mount /dev/vg04/lvol9 /dump_load
Then I had to make the following entries in FSTAB:
/dev/vg01/lvol1 /database vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg02/lvol1 /backup vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg04/lvol9 /dump_load vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
After a freboot, all was well on my secondary server.
On the server I moved off of, I just had to umount the file systems in question and remove the entries from FSTAB.
I may not know everything, but I'm working on it...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP