- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: auto file
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
06-18-2010 08:27 PM
06-18-2010 08:27 PM
how to configure it.
ver v1
can i have docs for that .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 09:20 PM
06-18-2010 09:20 PM
SolutionYou dont need to configure it manually, it is a part of the disk mirroring checklist:
- To set the boot string in the AUTO file , you can use :
# mkboot -a "hpux -lq" /dev/rdsk/c1t1d1
- To see the content of the AUTO file of the boot disk, you can use:
# lifcp /dev/rdsk/c1t1d1:AUTO -
The output would be similar to this:
hpux -lq
For more details, you can check mkboot -a option : ( -a auto_file_string )
http://docs.hp.com/en/B3921-90010/mkboot.1M.html
[ Where c1t1d1 is the Pri or Alt boot disk ]
Further: to find the boot disk:
# lblnboot -v vg00
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 09:31 PM
06-18-2010 09:31 PM
Re: auto file
in v1 i use lifcp to see autofile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 10:01 PM
06-18-2010 10:01 PM
Re: auto file
Same applicable for vpar and 11.31 .
- For vpar check the root disk using lvlnboot -v vg00 , and you can use lifls or lifcp command to see the content of lif area or content of AUTO file:
lifls -lC /dev/rdsk/c0t6d4
lifcp /dev/rdsk/c1t1d1:AUTO
- For 11iv3 : find disk vs dsk format of ctd, using # ioscan -m dsf
- If you have vxvm you can use :
# vxdisk path # to see the ctd.
# then run lifcp /dev/dsk/c1t1d1:AUTO -
To see the content of auto file.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 10:07 PM
06-18-2010 10:07 PM
Re: auto file
- Example to see the AUTO file in vpar:
# lifcp /dev/rdsk/c1t1d1:AUTO -
hpux /stand/vpmon -a
#
on Itanium system you can use:
# efi_cp -d /dev/rdsk/c1t1d1s1 -u /EFI/HPUX/AUTO /tmp/auto.out; cat /tmp/auto.out
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 10:07 PM
06-18-2010 10:07 PM
Re: auto file
so i have another doubt when to use configure this ,, after configuring vg00 and mirror disk or before that .
do we can use it os or only in pdc.
can u have any docs for this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 11:05 PM
06-18-2010 11:05 PM
Re: auto file
Yes, low quorum is recomended ( however it is optional) if the disks are mirrored.
- In case of one disk failure the other disk (Alt disk) will automatically boot if setboot is correctly pointed to alternate disk. If (hp-ux -lq) is there in the boot string there will be no interuption while booting. If -lq is not there one has to choose manually the alternate disk to boot from . (from PDC or EFI) .
> so i have another doubt when to use configure this ,, after configuring vg00 and mirror disk or before that .
- mkboot need to be use during mirroring the first OS disk to the
> we can use it os or only in pdc.
- The commands to mirror the root disk needs to be execute in OS command prompt. (as root)
> have any docs for this:
- Here are few documents for LVM : root disk mirroring.
Mirroring in PA-RISC and in Integrity : (Page : 48 & 50 )
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Root disk Mirroring: Itanium:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?&threadId=1292268
Good Luck,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 11:22 PM
06-18-2010 11:22 PM
Re: auto file
Also check the PDF doc, nicely explained the LVM root disk mirroring on PA-RISC system:
1. RootDiskMirror.pdf : Attached: 31KB.
A] LVM mirroring:
Basically you have to familiar and remember few basic command:
# pvcreate
# vgextend
# mkboot ..
# lvextend -m 1
... do lvextend for all lvol....
# lvlnboot ..
B] By the way If you are Using VXVM on hp-ux root disk mirroring is very simple:
You will surprise to see that there is just one command to mirror the root disk to the alternate disk:
# vxrootmir -b -v c1t1d1
- Finally I would suggest to understand LVM & to go through RootDiskMirror.pdf , and also go through the man pages with hands on. Once you have done few root disk mirroring it will easy to understand. And also keep hanging around ITRC , this is a great forum.
Enjoy Have fun!,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010 11:34 PM
06-18-2010 11:34 PM
Re: auto file
1. RootDiskMirror.pdf (attached):
2. When_Good_Disks_Go_Bad_WP.pdf (page 48 & 50)
There are plenty of customized and automated root disk mirror script also available (just need to pass the Alternate disk as input) . for 11i v1/2/3. But doing step by step using command prompt is great for beginners. Enjoy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2010 02:53 AM
06-21-2010 02:53 AM
Re: auto file
lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk3_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk3_p2
Root: lvol3 on: /dev/disk/disk3_p2
Swap: lvol2 on: /dev/disk/disk3_p2
Dump: lvol2 on: /dev/disk/disk3_p2, 0
$efi_cp -d /dev/rdisk/disk3_p2 -u /EFI/HPUX/AUTO /tmp/AUTOexe.ALT
Invalid EFI partition: /dev/rdisk/disk3_p2
efi_cp: invalid efi device
$efi_cp -d /dev/rdisk/disk3_p1 -u /EFI/HPUX/AUTO /tmp/AUTOexe.ALT
when seeing the contents of auto file i used the above cmd.
from the output of lvlnboot boot disk path is
/dev/disk/disk3_p2
but when i used the same in efi_cp cmd i can get answer only for /dev/disk/disk3_p1 and if i used /dev/disk/disk3_p2 it shows invalid efi partition
but my lvlnboot -v shows only the p2 partition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2010 03:09 AM
06-21-2010 03:09 AM
Re: auto file
You are using vPars.
The AUTOFILE located on the disk is not related to a vPars OS.
The settings are stored in vpdb; so you can set it with vparmodify only.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2010 03:29 AM
06-21-2010 03:29 AM
Re: auto file
/stand/vpmon -a
but not /stand/vmunix !
You can see the boot options for OS with "vparstatus".
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
