- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Things that I can do while booted in Maintenance m...
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
01-08-2004 03:52 AM
01-08-2004 03:52 AM
Things that I can do while booted in Maintenance mode (boot -lm)
Can I also mount root so that I can edit networking and hostname info at this boot state?....
Sorry.. I've been fastracking myself in HPUX environments and have been stumbling onto a lot of "walls"...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 03:54 AM
01-08-2004 03:54 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
It would be a lot less of a headache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 03:55 AM
01-08-2004 03:55 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
Yes, You can activate VG and mount filesystems here. Not to be a problem.
Good luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 04:05 AM
01-08-2004 04:05 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
And I could not make a golden image off of the reference server as it is operating 24x7 and make_sys_image litereally renders the server unusable while doing its thing of creating a golden image...
That is why I am just planning to do a complete dd copy of the reference server's OS to another disk, pop that disk in to the new server, boot -lm, do the VG gyrations to "right" vg00, and edit networking configuration...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 04:13 AM
01-08-2004 04:13 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
Your plan is OK, But it doesn't look like a nice one. You already mentioned that both of your systems has different configurations like one has CDROM and Tape, other doesn't. There may be more mismatches like this.
I would recommend a fresh install and patch it to same level as other is, then copy any other data if you require from old system through network or NFS..etc. Otherwise go for ignite.
Good luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 04:15 AM
01-08-2004 04:15 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
Thanks.. why would it not be a nice one (the dd transported disk method)? Does'nt HP-UX rebuild its device files to suite what it sees locally on a server?
both servers are simialr in architecture, the only differences are the vdd-rom and tape drives...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 04:25 AM
01-08-2004 04:25 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
In HPUX device drivers are part of kernel. If both the systems are very similar and identical, IInd system may boot with other system's kernel. Not sure, many times doesn't succeeded due to kernel mismatches. It panics sometimes. So normally we install OS for different systems, avoid copying kernel across.
Your idea is not senseless. You can give a try like many other adminstrators.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 08:03 AM
01-16-2004 08:03 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
I can't remember if I told you about our broot script... I will post it again...
You can find it in this link or attached...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=370366
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 08:09 AM
01-16-2004 08:09 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
One method (slightly dirty) is to use "steal the mirror" method if you have reasonably latest servers like L, N and up. And you should be confident enough to fix any kind of LVM issues.
Make sure mirror is good and bootable. Replace the mirror disk as if it is bad with a new one. Follow vgcfgrestore and restoring the mirror process.
Boot up the other server with the stolen mirror disk. You will need to put it in the same slot as of the old server. If it is part of serviceguard, then you may want to change the vgid using vgchgid command in -lm mode.
It's not the clean method than dd but it works. My preference goes to make_tape_recovery though.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 07:16 PM
01-16-2004 07:16 PM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 10:14 PM
01-16-2004 10:14 PM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
The problem with dd is that it copies *absolutley everything* on the disk *including* bad block tables etc... AND any differences in disk geometry won't be taken into account
So what you end up with on the other disk is a copy of your original disk, including potentially a set of bad blocks which are in fact OK.
Of course if both disks are virtually brand new and the same model, this aint so bad. But still not perfect.
If your disks are in fact LUNs of a disk array then you have no problem (as the disk array takes care of all the bad block relocation)
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2004 07:27 AM
02-16-2004 07:27 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
Any luck on getting a dd boot disk copy procedure? We are trying to perform a similar function, but our copies are made using EMC BCVs. We want to create a "Gold" untouched virgin boot disk. This disk would have all our required patches and common software used in all our environments. We then want to be able to make a copy of the GOLD boot and use this copy as a boot disk for a new HP N-Partition. I have seen the boot copy scripts. We have one that we run here. What is wrong with the copy script process is that it copies all the flaws you may have on your current boot env. If you want a virgin finished boot disk using the script, you would have to boot a copy of the GOLD boot back on the original nPar/server and then use the boot copy script to create a new one. Not very useful if you are now using the original nPar for real work or the orginal nPar is in a new configuration. Also, the copy script methods do not seem to take into account using the copy on a second server or nPar that may have a slightly different device path setup.
More to the point, did you get a process to work from the DD copy? I know under Solaris we could do this fairly easily. You might need to tweak the booted copy from single user, but it was a dependable and repeatable process.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2004 07:45 AM
02-16-2004 07:45 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
1. present(move, plug, zone, etc) the dd'd disk to the server you want to bring it up
2. boot
3. fix VG00 (if using LVM)
if you want detailed procs. i can post it as well.
4. reboot...
Done..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2004 09:48 PM
02-16-2004 09:48 PM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
Yes, that step "fix VG00" is what I am trying to figure out. I have a day or two to play with it, but I would appreciate it if you could post the steps needed to fix the boot volume group.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 12:00 AM
02-17-2004 12:00 AM
Re: Things that I can do while booted in Maintenance mode (boot -lm)
But I would still suggest to use ignite. I've never tried it, but doesn't ignite support a recovery hard disk? Some of the ignite guru's can tell you I guess.
And the mirror option is better then the dd option, since you might copy a very inconsistent disk if you do dd, because the system will keep running.
Add the disk to vg00 (remember: pvcreate -B and mkboot), mirror all LVOL's to the disk, but skip (for now) swap, then pull the disk from the system after you ran the 'sync' command. Then lvreduce all lvols again on the running system.
You now at least have a real snapshot.