- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cold installation of HPUX 11i
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-20-2004 03:32 AM
тАО01-20-2004 03:32 AM
volume groups, can I vgimport them after the upgrade without any problems? Any comments or suggestions will be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 03:37 AM
тАО01-20-2004 03:37 AM
Re: Cold installation of HPUX 11i
Typically - Yes.
I would imagine that you may have to reinstall the Oracle binaries, but if not they would need to be relinked at a minimum.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 03:37 AM
тАО01-20-2004 03:37 AM
Re: Cold installation of HPUX 11i
Yes you can import them. The easiest way is to run a "vgexport -p -s -m /tmp/vgXX.map /dev/vgXX" prior to the beginning of your re-install. Then save the map(s) so that you can access them after you've installed. Then, to import, simply do:
mkdir /dev/vgXX
mknod /dev/vgXX/group c 64 0xXX0000
vgimport -s -m /tmp/vgXXmap /dev/vgXX
vgchange -a y /dev/vgXX
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 03:39 AM
тАО01-20-2004 03:39 AM
Re: Cold installation of HPUX 11i
I recently did something similar to this after a Disaster Recovery test went wild.
As a failsafe, prior to the upgrade, i also do the following:
down the database.
Use fbackup to back up all the filesystems.
Just being anal.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2004 03:42 AM
тАО01-20-2004 03:42 AM
SolutionYes. You shoudl be able to vgimport them if you have map files. There are few ways of creating the map files.
1. Export them with -s option. While importing, you do not need to specify the PVs. System will scan the disks corresponding to the VG and import them.
vgexport -p -v -s -m /tmp/vgxx.map vgxx
copy vgxx.map to another system.
After the cold install, do
mkdir /dev/vgxx
mknod /dev/vgxx/group c 64 0x0?0000 (replace ? with a uniq number)
Copy vgxx.map from the remote system and import the vgs.
vgimport -v -s -m /tmp/vgxx.map vgxx
This is the easiest and the cleaniest way. Issues being - a) if you have many disks in your VGs, it will take a while b) it will not preserve the way PVs were configured in your old system.
2. Use with -f option to capture information about the disks.
vgexport -p -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
You will need to copy both vgxx.map and vgxx.disks to a remote system.
After the upgrade follow the mkdir and mknod process mentioned above. Copy back vgxx.disks and vgxx.map from the remote system. Edit vgxx.disks and make sure the controller numbers (cx) match. If not, then you will have to modify them. A comparision of ioscan from the old system and ioscan from the new system should tell you. Once this file is fixed, do
vgimport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
After vgimport do a 'vgchange -a y vgxx' to activate the volume groups.
So, I suggest you to do the following on the old system for successful imports.
mkdir /tmp/restore
strings /etc/lvmtab > /tmp/restore/lvmtab
cp -Rp /etc/lvmconf /tmp/restore/lvmconf
vgexport -p -v -s -m /tmp/restore/vgxx.s.map vgexport -p -v -m /tmp/restore/vgxx.map -f /tmp/restore/vgxx.disks vgxx
Repeat the above two commands for all the VGs on the system.
ioscan -f > /tmp/restore/ioscan.f.out
ioscan -fnC disks > /tmp/restore/ioscan.disks
Tar up and copy the entire directory to a remote server.
-Sri