- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to recreate boot definitions
Operating System - HP-UX
1753876
Members
7345
Online
108809
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
Discussions
Discussions
Forums
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
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
тАО08-07-2009 06:03 PM
тАО08-07-2009 06:03 PM
how to recreate boot definitions
hi,
can any one tell me how tho delete the boot definitions when the OS is running, i mean root,boot,dump,swap,..
and how to create it online.
my actual plan is --
I have one server .in that i have splitted the lvols,for patching. after patching i found that the application is not working. so i booted the server with the unpatched volume. NO wi want to boot the server from patched volume and to test the application..
this is my action plan i created.please correct me if there is somethin gwron in this steps,because its a production server..
------------------
Action Plan
---------------
1) Edit the /etc/fstab file--remove the entry of "b"
#mount /dev/vg00/lvol3 /mnt
#cd /mnt/etc
#vi fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol11 /apps vxfs delaylog 0 2
/dev/vg00/lvol10 /apps/appworx vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvol12 /data vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvol13 /oracle vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/lvol14 /apps/retek/rdw9.0 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvsrm /var/adm/perfmgr vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvol15 /opt/oracle vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
2) Remove and recreate the boot definitions
lnrmboot -R
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
------
please help me..
and is this the right command (lvrmboot -R)to delete all the boot definitions.and if i delete this can i create the boot definition with above command for the patched volume..
and my back out plan is
do the same in reverse..
can any one tell me how tho delete the boot definitions when the OS is running, i mean root,boot,dump,swap,..
and how to create it online.
my actual plan is --
I have one server .in that i have splitted the lvols,for patching. after patching i found that the application is not working. so i booted the server with the unpatched volume. NO wi want to boot the server from patched volume and to test the application..
this is my action plan i created.please correct me if there is somethin gwron in this steps,because its a production server..
------------------
Action Plan
---------------
1) Edit the /etc/fstab file--remove the entry of "b"
#mount /dev/vg00/lvol3 /mnt
#cd /mnt/etc
#vi fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol11 /apps vxfs delaylog 0 2
/dev/vg00/lvol10 /apps/appworx vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvol12 /data vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvol13 /oracle vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/lvol14 /apps/retek/rdw9.0 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvsrm /var/adm/perfmgr vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvol15 /opt/oracle vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
2) Remove and recreate the boot definitions
lnrmboot -R
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
------
please help me..
and is this the right command (lvrmboot -R)to delete all the boot definitions.and if i delete this can i create the boot definition with above command for the patched volume..
and my back out plan is
do the same in reverse..
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2009 02:11 AM
тАО08-08-2009 02:11 AM
Re: how to recreate boot definitions
Binu,
1) Edit the /etc/fstab file--remove the entry of "b"(if it is there)
Boot the system in LVM maintenance mode using hpux -lm from ISL.
remove LVM logical volume link to root, primary swap, or dump volume using lvrmboot
man pages for lvrmboot:
http://docs.hp.com/en/B9106-90008/lvrmboot.1M.html
prepare LVM logical volume to be root, boot, primary swap, or dump volume using lvlnboot.
Man pages for lvlnboot:
http://docs.hp.com/en/B9106-90008/lvlnboot.1M.html
reboot the system in multiuser mode.
Thanks,
1) Edit the /etc/fstab file--remove the entry of "b"(if it is there)
Boot the system in LVM maintenance mode using hpux -lm from ISL.
remove LVM logical volume link to root, primary swap, or dump volume using lvrmboot
man pages for lvrmboot:
http://docs.hp.com/en/B9106-90008/lvrmboot.1M.html
prepare LVM logical volume to be root, boot, primary swap, or dump volume using lvlnboot.
Man pages for lvlnboot:
http://docs.hp.com/en/B9106-90008/lvlnboot.1M.html
reboot the system in multiuser mode.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2009 03:40 AM
тАО08-09-2009 03:40 AM
Re: how to recreate boot definitions
Hi,
1) can any one tell me how to delete the boot definitions when the OS is running,
i mean root,boot,dump,swap,.??
===>
#lvrmboot -r vg00
2) how to create it online?
===>
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
3) so i booted the server with the unpatched volume.
==> How did you booted from unpatched volume?.
>Did you changed BDRA information with lvrmboot and lvlnboot command?
>When did you edited /etc/fstab? Before splitting lvols or after splitiing lvols?
4) Now i want to boot the server from patched volume and to test the application,How?
==>I hope you changed BDRA and I hope the present lvlnboot -v command output is,
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
-- Boot Disk
-- Boot Disk
Boot: lvol1b on:
Root: lvol3b on:
Swap: lvol2b on:
Dump: lvol2b on:
If yes, change it with lvrmboot and lvlnboot commands,
#lvrmboot -r vg00
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
==>For /etc/fstab entry,When did you changed the entry; Before splitting lvols
or after splitting lvols.
=>If before splitting lvols,you have to change the fstab entry; as you told remove "b",
#mkdir /lvol3
#mount /dev/vg00/lvol3 /lvol3
#vi /lvol3/etc/fstab
=>If after splitting lvols,I hope you changed only in unpatched volume by mounting
the lvol3b manually. In this case no need to change fstab entry.
==>Reboot the server with patched disk.
5) Please correct me if there is something wrong in this steps,because its a production server?
I recommend you
==>Take ignite backup always if you do patching.
==>Use DRD-Dynamic Root Disk product like this situation instead of doing splitting and merging.
Can you give me following command present outputs as ***attachment***.
#lvlnboot -v
#cat /etc/fstab
#bdf
#mount
#vgdisplay -v vg00
Regards,
LIJEESH N G
1) can any one tell me how to delete the boot definitions when the OS is running,
i mean root,boot,dump,swap,.??
===>
#lvrmboot -r vg00
2) how to create it online?
===>
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
3) so i booted the server with the unpatched volume.
==> How did you booted from unpatched volume?.
>Did you changed BDRA information with lvrmboot and lvlnboot command?
>When did you edited /etc/fstab? Before splitting lvols or after splitiing lvols?
4) Now i want to boot the server from patched volume and to test the application,How?
==>I hope you changed BDRA and I hope the present lvlnboot -v command output is,
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
Boot: lvol1b on:
Root: lvol3b on:
Swap: lvol2b on:
Dump: lvol2b on:
If yes, change it with lvrmboot and lvlnboot commands,
#lvrmboot -r vg00
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
==>For /etc/fstab entry,When did you changed the entry; Before splitting lvols
or after splitting lvols.
=>If before splitting lvols,you have to change the fstab entry; as you told remove "b",
#mkdir /lvol3
#mount /dev/vg00/lvol3 /lvol3
#vi /lvol3/etc/fstab
=>If after splitting lvols,I hope you changed only in unpatched volume by mounting
the lvol3b manually. In this case no need to change fstab entry.
==>Reboot the server with patched disk.
5) Please correct me if there is something wrong in this steps,because its a production server?
I recommend you
==>Take ignite backup always if you do patching.
==>Use DRD-Dynamic Root Disk product like this situation instead of doing splitting and merging.
Can you give me following command present outputs as ***attachment***.
#lvlnboot -v
#cat /etc/fstab
#bdf
#mount
#vgdisplay -v vg00
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2009 03:46 AM
тАО08-09-2009 03:46 AM
Re: how to recreate boot definitions
Can you give me following command present outputs as ***attachment***.
#lvlnboot -v
#cat /etc/fstab
#bdf
#mount
#vgdisplay -v vg00
Also,
#mkdir /lvol3
#mount /dev/vg00/lvol3 /lvol3
#cat /lvol3/etc/fstab <<==this optput also
Regards,
LIJEESH N G
#lvlnboot -v
#cat /etc/fstab
#bdf
#mount
#vgdisplay -v vg00
Also,
#mkdir /lvol3
#mount /dev/vg00/lvol3 /lvol3
#cat /lvol3/etc/fstab <<==this optput also
Regards,
LIJEESH N G
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP