- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Yet more 10.20 to 11.00 Upgrade questions
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
10-08-2002 10:42 AM
10-08-2002 10:42 AM
Tomorrow I have to upgrade a E55 & a D230 from 10.20 to 11.00. Using the cold-install method, I'm a therefore trying to gather and backup as much configuration information as I can before overwriting both of these systems with HP-UX 11.00. I am running the print_manifest from Ignite, and I have also written a script to gather other information (hostname, ip addr, gateway, filesystem, swapinfo, netstat -r, etc..).
I have a few questions and I hope I can beg out some answers here.
1. Is there a file that I can backup that contains the routing information? If there is, can I safely copy it back after the installation of 11.00?
2. If I have a 2 disk system, vg00 on disk1 & a second app vg on disk2, after the HP11.00 installation on vg00, will I have to restore/recreate the 2nd vg, or is there a way to just import it?
3. Which CD is OnlineJFS on? I have core, app, & support CDs.
4. I had installed HP11.00 on a D series last week and found that it was dumping to a core file in /var/adm/core. It was taking up too much diskspace and causing problems. Is there a way to keep this dump from occurring on every boot? Other E series that I have upgraded did not do this.
Thanks for any assistance.
Donald O'Brien.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 10:49 AM
10-08-2002 10:49 AM
Re: Yet more 10.20 to 11.00 Upgrade questions
1. I don't think there is a single file with the route information, but it should be configured in your /etc/rc.config.d/netconf file. With a copy of that and the output from netstat -rn, you should be able to put the routing back together when you configure your LAN cards.
2. You can just vgimport in the 2nd vg. You'll have to mkdir the /dev/2nd vg directory and mknod the group file.
3. Don't know. I'll have to look.
4. Weird. What exactly was core dumping? What did 'file /var/adm/core' show you?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 10:53 AM
10-08-2002 10:53 AM
Re: Yet more 10.20 to 11.00 Upgrade questions
1) /etc/rc.config.d/netconf is the file - I would suggest that you merge it rather than just copy it back
2) Do a vgchange -a n /dev/vg01, vgexport -s -m /tmp/mapfile /dev/vg01, then copy the mapfile somewhere where you can get to it, then you can do a vgimport -s -m /tmp/mapfile /dev/vg01 (after making the /dev/vg01 directory and running mknod.
3) Not sure.
4) Not sure.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 10:54 AM
10-08-2002 10:54 AM
Re: Yet more 10.20 to 11.00 Upgrade questions
1) Predefined routes will be in
/etc/rc.config.d/netconf
any routes added after will show up in the
netstat -rn
output.
2) Yes just vgexport it beforehand
vgexport -m /etc/lvmconf/vgapp.map -s -v -p /dev/vgapp
Then back that map file up, bring it back post install. Create the vg dir & group file for vgapp
mkdir /dev/vgapp
cd /dev/vgapp
mknod group c 64 0x020000
vgimport -m /etc/lvmconf/vgapp.map -s -v /dev/vgapp
Don't forget to add the entry to the /etc/fstab file to mount @ boot.
3) Should be on the Support CD I believe
4) Yes use the lvlnboot -d command to define the dump volume after load OR create a larger /var LV during initial load to hold it in case it dumps during load. We also like to link the /var/adm/crash dir to a large LV used specifically for this purpose.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 11:00 AM
10-08-2002 11:00 AM
Re: Yet more 10.20 to 11.00 Upgrade questions
The Online JFS looks like it is on the app CD, on 1 of 5. There is a CD_TABLE_OF_CONTENTS file that lists all the products on all the CD's. You can mount up the CD and see where everything is in that file.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 11:01 AM
10-08-2002 11:01 AM
Re: Yet more 10.20 to 11.00 Upgrade questions
1. The file you want is 'etc/rc.config.d/netconf'.
In general, capture your key configuration files before you start. I like to 'diff' files in the list below, to those provided in a new release and "marry' my local needs to any enhanced features. Otherwise, many can be loaded as is.
Here's the basic list I transfer to safe-keeping for reference, reuse, and comparison against new configurations (via 'diff') during a cold installation process:
# /.forward
# /.profile
# /etc/ftpd/ftpusers
# /etc/group
# /etc/hosts
# /etc/inetd.conf
# /etc/inittab
# /etc/nsswitch
# /etc/ntp.conf
# /etc/passwd
# /etc/profile
# /etc/rc.config.d/netconf
# /etc/rc.config.d/netdaemons
# /etc/rc.config.d/nfsconf
# /etc/resolv.conf
# /etc/sendmail.cf
# /etc/services
# /etc/shells
# /etc/shutdown.allow
# /var/adm/at/*.allow|deny
# /var/adm/cron/*.allow|deny
# /var/adm/fbackupfiles/*
# /var/adm/inetd.sec
# /var/spool/cron/crontabs/*
# /sbin/init.d/
Don't forget to add your volume group 'vgexport' mapfiles too.
2. No, the whole concept of 'vgexport' and 'vgimport' is to be able to push a volume group "out" of one system and to pull it into another (or the same system to rename it, or to associate it with changed device files). This is what you will do for your non-vg00 volume groups.
Essentially, you can do this:
Use the 'mapfile' option of 'vgexport'. This allows the 'vgimport' to create logical volume devices files under the vg_name directory using the naming convention given in mapfile as opposed to the default naming convention used by the 'lvcreate'.
Before the cold-installation:
# vgexport -s -p -m /tmp/lvmconf_vgNN.map /dev/vgNN
After the cold-installation [having copied the mapfile from a tape, for instance]:
# mkdir /dev/vgNN
# mknmod /dev/vgNN/group c 64 0xNN0000
# vgimport -v -s -m /tmp/lvmconf_vgNN.map /dev/vgNN
# vgchange -a y /dev/vgNN
3. I believe that OnlineJFS is found on CD#1.
4. If you are taking memory dumps you need to have HP Support analyze "why". Open a support call to do this if this isn't a one-time occurance.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 02:54 PM
10-08-2002 02:54 PM
Re: Yet more 10.20 to 11.00 Upgrade questions
Donald O'Brien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 03:07 PM
10-08-2002 03:07 PM
Re: Yet more 10.20 to 11.00 Upgrade questions
You don't need luck.
A good plan trumps luck every single time!
Later,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 03:16 PM
10-08-2002 03:16 PM
Re: Yet more 10.20 to 11.00 Upgrade questions
Though a good plan INCLUDES a way back!
get the latest version of ignite (3.7.95?) and BACK YOUR 10.20 SYSTEM UP. If you miss a configuration file, the make_tape_recovery tape can be used to extract that file!!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 07:50 AM
12-17-2002 07:50 AM
Re: Yet more 10.20 to 11.00 Upgrade questions
I have now begun work on a dozen systems with additional volume groups. My test system here in the office is a D250 with two disks. One is vg00, the second is a vg called hekvg. I upgraded HP-UX 11.0 on vg00 and I was able to import hekvg (with the previously created mapfile copied back on the system).
I used the following commands.
# vgexport -s -p -m /tmp/lvmconf_hekvg.map /dev/hekvg
[cold install]
# mkdir /dev/hekvg
# mknod /dev/hekvg/group c 64 0x010000
# vgimport -v -s -m /tmp/lvmconf_hekvg.map /dev/hekvg
# vgchange -a y /dev/hekvg
I created the mount point and mounted up my old filesystems. Worked great!
But I have one question, I looked at the map file, and I can't see where the physical volumes are specified. How does the vgimport know which hard disks the volume group is on? Since my test box is only two disks, it is of course the only other disk which could have the hekvg, but how does vgimport know this? If I have a 3rd vg, will the system know which disks it is on?
Thanks again everyone.
Donald O'Brien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 07:55 AM
12-17-2002 07:55 AM
SolutionSince you used the '-s' option to create your mapfiles, the VGID (Volume Group ID) of the physical disk belonging to the volume group was placed in the mapfile. During 'vgimport' your physical disk were scanned for a matching ID. Those matching were "imported" and the information added to 'etc/lvmtab'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 09:30 AM
12-17-2002 09:30 AM
Re: Yet more 10.20 to 11.00 Upgrade questions
Donald