- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installing 11.0
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
Forums
Discussions
Discussions
Discussions
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
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
07-10-2002 12:11 PM
07-10-2002 12:11 PM
Installing 11.0
following before starting the install on the
server as suggested by HP to preserver other
volumes and filesystem information.
Unmount all the file systems in vgxx umount /mount_point.
Deactivate the volume group vgchange -a n /dev/vgxx
create a map file for vgxx_mapfile cd /; touch vgxx_mapfile
vgexport -m vgxx_mapfile -sv /dev/vgxx Export the volume group
My question is can a map file be created in
preview mode and work just as well without
having to umount the filesystems and performing a deactivation on the volume groups?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 12:13 PM
07-10-2002 12:13 PM
Re: Installing 11.0
Yes. There will be no difference in the contents of the map file with or without 'preview' option.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 12:17 PM
07-10-2002 12:17 PM
Re: Installing 11.0
Make sure you save the map files where you can get at after the install (i.e. not on vg00). backup to tape, ftp, etc.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 12:17 PM
07-10-2002 12:17 PM
Re: Installing 11.0
You should be aware that it is possible that some of your controller instances may change between OS loads especially if cards have been added/moved/removed since the current OS was installed. What was c1 may now be c3, for example. I woulds make sure that I had hardcopies of bdf, ioscan -fn, /etc/fstab, and a strings /etc/lvmtab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 12:25 PM
07-10-2002 12:25 PM
Re: Installing 11.0
have a look at the '-s' option of 'vgexport'. This allows you do create map files without actually exporting the volume group.
When you get to 11.0, 'vgimport' allows you to specify the device pv_paths on the command line or in a file ('-f infile'). This is quite useful coupled with the 11.x '-f outfile' companion option of 11.x 'vgexport'. You can collect the current pv_path information and edit it as/if necessary.
Unfortunately, you do not have the '-f' feature in 10.20, but after your upgrade you could immediately use it in the 'vgimport' processing.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 12:28 PM
07-10-2002 12:28 PM
Re: Installing 11.0
As others have already said the preview option works fine for creating a map file but I would stress the last point above to have an ioscan and would also suggest you print the output of a "vgdisplay -v" command for all of your volumes. This will give you a list off all of the disks in each volume (put the output through grep and just get the disk ids as thats all you really want). The reason for this is that it is possible to perform a vgimport without a map file provided you can sepcify all of the disks that were in the original volume group. I did'nt realise this until a few months ago and it saved me several hours of work when a consultant knackered a system during a rebuild.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 12:34 PM
07-10-2002 12:34 PM
Re: Installing 11.0
Nick makes an important point. The mapfiles are really convienent insurance. 'vgimport' creates logical volume devices files under the vg_name directory using the naming convention given in a mapfile. In the absence of the mapfile, the default naming convention used by the 'lvcreate' applies (which is what one generally (?) uses anyway.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 02:15 AM
07-12-2002 02:15 AM
Re: Installing 11.0
Looks like you have recieved some great advice, I always make map files while the vg is still active. Like advised I make a important files dir in /var/tmp. I make the map file like so:
vgexport -p -v -s -m /var/tmp/important/vg01.mapfile /dev/vg01
Unlike many Unix tools, the options cannot be combined (-pvsm).
Note that you my see a massages saying that Volume group "/dev/vgXX" is still active. Ignore it as the mapfile is created anyway, each mapfile should look something like this:
VG serial number 1234567890
1 lvol1
2 lvol2
3 lvol3
...
and so on. vgimport (and SAM) understands this file with or without the serial number(the serial number is added by using the -s option). The serial number ensures that the right disk(s) will be assigned to the selected volume group.
Hope this helps, and good luck
Everett