Showing posts with label Unix OS HP-UX Configuration. Show all posts
Showing posts with label Unix OS HP-UX Configuration. Show all posts

HP-UX Monitoring kernel (kcusage) and Tuning kernel command

** Credit Book
# for monitoring kernel usage see part kcusage

Kernel Commands
A new set of kernel-related commands has been developed that have a common behavior. This section covers all the commands and provides examples of using some of them.
kcmodule
kcmodule queries and changes kernel modules in the currently running kernel configuration or a saved kernel configuration that you are staging for future use. Hundreds of modules are present in an HP-UX kernel that consists of device drivers, kernel subsystems, and other kernel code.
kcmodule with no options provides the modules in your system and both their current state and the state on next boot if any changes are pending, as shown in this abbreviated example:
# kcmodule
Module State Cause Notes
DeviceDriver unused
KeyboardMUX unused
LCentIf static best
MouseMUX unused
UsbBootKeyboard unused
UsbBootMouse unused
UsbHub unused
UsbMiniBus unused
UsbOhci unused
acpi_node static best
arp static depend
asio0 static best
audio static best
autofsc static best
azusa_psm static best
beep static depend

HP-UX Increasing freespace by extend file system from EVA Storage

** Myself
EVA
- create disk group ( select raid)
- create vdisk group ( from disk group,choose www name)
- Assigned LUN id and Present to OS server system
HP-UX OS
- insf –eC disk ( init disk device)
- ioscan new disk ( CXTXD[lun number] )
- set autopath set ( add all disk device and alternate disk device)
- pvcreate all new disk
- vgextend vgXX /dev/dskXXX
- lvextend -L XXX /dev/vgXX/lvXXX
- fsadm –F vxfs –b XXXm /mount point ( online JFS )

HP-UX Make New kernel parameter manual (No Use SAM tools)

** Web
1. Change directory to the build environment:
cd /stand/build
2. Create a kernel parameters file which you can then edit. Extract the parameters from the currently running system.
/usr/lbin/sysadm/system_prep -s system
3. Use your favorite editor to edit the kernel parameter file. This is an ASCII text file
containing a list of drivers, subsystems, and parameters to define in the new kernel. To
remove a driver or subsystem, simply delete the associated line in the system file. To add a driver or subsystem, simply add a line for the desired driver or subsystem to the end of the system file. To change a kernel parameter add a line to the end of the file that lists both the parameter name and value separated by one or more spaces.
vi system
4. Build a new kernel
/usr/sbin/mk_kernel -s ./system
This creates /stand/build/vmunix_test.
5. Save the old system and vmunix files in case something goes wrong. You will still have a
bootable kernel.
mv /stand/system /stand/system.prev
mv /stand/vmunix /stand/vmunix.prev
6. Move the new system and kernel files from the build environment into their proper place,
ready to use after the next reboot. Note that the kmupdate command is new with version
11.x, so at 10.x the kernel and system files must be moved into place manually.
mv /stand/build/system /stand/system
mv /stand/build/vmunix_test /stand/vmunix
7. Reboot the system to test the new kernel.
shutdown –ry 0

HP-UX Install glance + Monitoring Tools

** Myself
Install glance +
- install glance for s800 (server )
- install glance + pack ( Keep log to DB and set alert to mail )
# install C/Ansi for s800 to informic
Start service all glance
/opt/perf/bin/perfstat
Run perfstat to check all service if don’t start may be run manual all service
--or –
/opt/perf/bin/mwa for measure ware agent
If all service start /opt/perf/data have logfiles

HP-UX 11iv2 Move root disk to same/other model of machine

** Myself
Move root disk to same model of machine
-          EFI --> change boot record to hpux in disk

Move root disk to other model of machine
-          From old machine,Exported all vg to map file(ex vgexport –s –m vg00.map vg00 into root path)
-          EFI --> change boot record to hpux in disk
-          boot vmunix –lm
-          mkdir /dev/vg00
-          mknod /dev/vg00/group c 64 0x000000
-          vgimport /dev/vg00 /dev/dsk/cXtXd0
-          vgchange -a y /dev/vg00
-          repeat step to all vgs
-          mount –a
-          lvlnboot –v
-          If any errors fix it by lvlnboot
#rmlnboot -b
#rmlnboot -r
#rmlnboot -s
#rmlnboot -d
#lvlnboot -b /dev/vg00/lvol1 ===== > for boot partition
#lvlnboot -r /dev/vg00/lvol3 ===== > for root partition
#lvlnboot -s /dev/vg00/lvol2 ===== > for swap partition
#lvlnboot -d /dev/vg00/lvol2 ===== > for dump partition
- shutdown –Ry 0 (-R to reconfig)

HP-UX Step to setting up a disk under LVM control and useful command

** Myself
Step to setting up a disk under LVM control
1. build PV
#pvcreate /dev/rdsk/c0t5d0
-B make physical volume bootable
-f force overwrite of file system on disk
2. build VG
#cd /dev
#mkdir vg01
#cd vg01
#mknod group c 64 0x010000
#vgcreate /dev/vg01 /dev/dsk/c0t5d0
-s PE_Size size for PE and therefore LE
-e EXENT_Num maximum number of physical extents per volume
-p DISK_Num maximum number of physical disk per volume group
3. build LV
( ถ้ามีหลาย disk array group (เช่น storage XP หรือ EVA 2 ตัวมองตัวละ 1 array group ต่อ storage ให้ใส่ –D เพื่อ distribute file )
( if multiple disk array group example storage XP and EVA 2 Please be use one array group per storage and option –D for distribute file system)
#lvcreate –L 100 /dev/vg01
-l extents
-L size
-n name(logical volumn)
4. using LV , Create file system
#newfs –F hfs /dev/vg01/rlvol1
#mount –F hfs /dev/vg01/lvol1 /database
Or
#newfs –F vxfs –o largefile /dev/vg01/rlvol1
#mount /dev/vg01/lvol1 /database
Or
Create swap
# lvcreate -L 10240 -n lvswap1 vg00
# /etc/fstab
/dev/vg00/lvswap1 . swap defaults 0 0
#swapon /dev/vg01/lvswap1
(from lvcreate –n swaplv)
Extending a VG
1. #pvcreate /dev/rdsk/c0t3d0
2. #vgextend /dev/vg01 /dev/dsk/c0t3d0
Extending existing LV
#lvextend –L 300 /dev/vg01/lvol1
or
#lvextend –L 300 /dev/vg01/lvol1 /dev/dsk/c0t13d0
extending LV will not make the space available for file system. You must update the file system.
Extending file system
1. #umount /dev/vg01/lvol1
2. #extendfs –F hfs /dev/vg01/rlvol1
Or
#fsadm –F vxfs –b 300m /mount_point
Reduce LV space
#lvreduce –L 200 /dev/vg01/lvol1

Removing LV

#lvremove /dev/vg01/lvol1
Removing PV from VG
#vgreduce /dev/vg01 /dev/dsk/c0t3d0
(อาจใช้ตอนที่เราcreate vg แล้วใส่ minor number ผิดแล้วต้องการ mknod ใหม่แต่ไม่ต้องทำPV ใหม่)
(Use for create vg with wrong number of minor number then new make new node mknod which not create New PV)
Removing VG
#vgremove /dev/vg01
Backing up VG
#vgcfgbackup –f file /dev/vg01
(command นี้จะเก็บ file ใน file system แต่ไม่เก็บ structure ของ VG
การ backup วิธีนี้จะได้ไฟล์ /etc/lvmconf/vg01.conf มา ถ้ามีการเปลี่ยนแปลง disk ใน VG ก็ต้อง restore configuration ก่อน restore file)
command use for collect file system without VG structure
for this method will backup to /etc/lvmconf/vg01.conf in case change disk in Volume VG need to restore configuration file before restore file system
Recovering VG
#vgcfgrestore
Preview & Repair /etc/lvmtab
#vgscan –pv
Repair the failed disk
#vgchange –a y –q y
Mirroring
#lvcreate [–m copies] [-L size in MB] VG
#lvextend [-m copies] LV PV
#lvreduce [-m copies] LV PV
-m = 0, 1, 2, …
0 = ไม่มี Mirror
1 = single mirror
2 = double mirror
Synchronization
#lvsync LV
#vgsync VG
Mirroring boot volumes
1. Create PV with boot area reserved
#pvcreate –B /dev/rdsk/c1t6d0
2. Add the PV to root VG

HP-UX Step to create the VX rootdg(Veritas root disk not hp-uxlvm, Initialize a VX disk, and Create a VX Volume

** Myself
Step to create the VX rootdg, Initialize a VX disk, and Create a VX Volume
1. Start the VX I/O daemon, VX configuration daemon, VX daemon controller
# vxiod set 10
# vxconfigd –k –r reset –m disable
# vxdctl init
2. Check the status of the VX configuration daemon. It should be disables, since there are no VX resources to manage.
# vxdctl mode
3. Create an empty rootdg disk group.
# vxdg list
# vxdg init rootdg
# vxdg list
4. Remove the vg01 volume group
# umount /coredepot
# umount /appdepot
# vi /etc/fstab (remove the /appdepot and /coredepot line)
# lvremove –f /dev/vg01/lvol1
# lvremove –f /dev/vg01/lvol2
# vgremove vg01
# pvremove /dev/rdsk/c0t1d0
5. Configure the spare disk as a VxVM disk
# vxdisk –f init c0t1d0
6. Add the disk to the rootdg disk group
# vxdg –g rootdg adddisk disk1=c0t1d0
7. Now that the rootdg has been defined, the VX configuration daemon can be enabled.
# vxdctl mode
# vxdctl enable
8. create a volume in the rootdg, called test_vol, with a size of 10 MB.
# vxassist –g rootdg make test_vol 10m
9. create a file system on the newly create test_vol.
# newfs –F vxfs /dev/vx/rdsk/rootdg/test_vol
10. Make a mount point directory and mount the file system.
# mkdir /test
# mount /dev/vx/dsk/rootdg/test_vol /test
# bdf
Step to Remove the VX Volume, the VX Disk, and the VX rootdg.
1. Remove the volume from the rootdg disk group.
# umount /test
# vxvol stop test_vol
# vxedit –rf rm test_vol
2. Disable the VX configuration daemon (this must be done so the disk can be removed from the rootdg.)
# vxconfigd –k –r reset –m disable
3. Re-initialize the rootdg so that it doesn’t contain any disks.
# vxdg init rootdg
4. Remove the VX disk from the control of VxVM so it can be used for another purpose.
# vxdisk rm c0t1d0
5. Stop the VX configuration daemon.
# vxdctl stop

HP-UX lssf/lsdev/sysdev kernel driver and major number listing



** Myself


lssf listing device files system (driver and hardware add)


lssf /dev/rdsk/c1t6d0

Diskc3 card instance 1 scsi target 6 scsi lun 0 section 0 at address 52.6.0 /dev/rdks/c1t6d0



 
lssf /dev/rmt/0mn

tape2 card instance 1 scsi target 0 scsi lun 0 at&t no rewind best density available at address 52.0.0 /dev/rmt0/0mn

 
lsdev listing all device drivers,static kernel driver and major number

lsdev

 
sysdef listing currently running your kernel tunable parameter

sysdef

HP-UX QuickSpecs Hardware Requirements for HP Integrity servers and for HP 9000 systems (Cold install)

** HP Doc
The HP-UX 11i Operating System can execute on supported HP 9000 and HP Integrity systems and must include the following minimum system configuration:
- Minimum main memory - 512 MB for HP-UX 11i v2, 2 GB for HP-UX 11i v3
- Minimum swap space on disk - 1 GB
- The minimum disk space requirement for installing the HP-UX 11i Operating System is 1 GB to accommodate the EFI Boot Disk and the HP Service Partition.
clip_image002
clip_image004

HP-UX11v3 ioscan,DSF Mass Storage devices,HW,VG,LV,FS

** Web & Myself
Formats of DSFs and Hardware Paths for Mass Storage Devices
Legacy View
The legacy DSF format for disks is:
/dev/[r]dsk/cxtydz[sn]
Where x is the HBA instance
          y is the SCSI-2 target number
          z is the SCSI-2 LUN number
          n is the partition number
Example: /dev/dsk/c5t0d1 or /dev/rdsk/c6t0d1s2
Agile View
The persistent DSF format for disks introduced with the agile view in HP-UX 11i v3 is:
/dev/[r]disk/diskx[_py]
Where x is the device instance
          y is the partition number
Example: /dev/disk/disk2, /dev/rdisk/disk5_p2
Agile and Legacy Views in Ioscan
By default in HP-UX 11i v3 ioscan shows the legacy view. This view is compatible with previous releases of HP-UX. To enable the agile view in output of the ioscan command you must use the new ¿N option.
Mapping Commands
In HP-UX 11i v3, the ioscan command offers two new options to map configuration information from the legacy view to agile view:
-m dsf [dsf_name] To map legacy DSFs to persistent DSFs
-m hwpath [-H hw_path] To map legacy hardware paths to lunpath hardware paths and LUN hardware paths
Legacy DSF to Persistent DSF mapping:
The "ioscan -m dsf [dsf_name]" command shows the mapping between character legacy DSFs and character persistent DSFs if no dsf_name is specified. As a rule, the block DSFs are mapped similarly. If a dsf_name is specified, it shows the mapping for this DSF name only.
Sample "ioscan -m dsf" output:
Persistent DSF                    Legacy DSF(s)
========================================
/dev/rdisk/disk17                  /dev/rdsk/c9t0d0
/dev/rdisk/disk24                  /dev/rdsk/c4t0d0
/dev/rdisk/disk37                  /dev/rdsk/c5t0d0
/dev/rdsk/c8t0d0
/dev/rdisk/disk38                  /dev/rdsk/c5t1d0
/dev/rdsk/c8t1d0
In the example above the persistent DSF /dev/rdisk/disk17 maps to the legacy DSF /dev/rdsk/c9t0d0. The persistent DSF /dev/rdisk/disk37 maps to the legacy DSFs /dev/rdsk/c5t0d0 and /dev/rdsk/c8t0d0. This also implies that block persistent DSF /dev/disk/disk17 (not shown) maps to block legacy DSF /dev/dsk/c9t0d0.
Legacy Hardware Path to Lunpath Hardware Path mapping:
The "ioscan -m hwpath [-H hw_path]" command shows the mapping between legacy hardware paths, lunpath hardware paths, and LUN hardware paths. If a hw_path is specified with option -H, it shows the mapping for that hw_path only.
Sample "ioscan -m hwpath" output:
Lun H/W Path                             Lunpath H/W Path                          Legacy H/W Path
====================================================================
64000/0xfa00/0x10                        0/2/1/0.0x0.0x0                              0/2/1/0.0.0
64000/0xfa00/0x8                          0/5/1/1.0x0.0x0                              0/5/1/1.0.0
64000/0xfa00/0x1a                        0/2/1/1.0x0.0x0                              0/2/1/1.0.0
                                                  0/5/1/0.0x0.0x0                              0/5/1/0.0.0
64000/0xfa00/0x1b                        0/2/1/1.0x1.0x0                              0/2/1/1.1.0
                                                  0/5/1/0.0x1.0x0                              0/5/1/0.1.0  
The Legacy H/W path is the hardware path for the legacy DSF. The Lun H/W path is the virtualized hardware path representing the LUN. The Lunpath H/W Path is the physical hardware path to the LUN. The LUN under Lun H/W Path 64000/0xfa00/0x1a shows that it has two lunpaths leading to it. Note that the last two elements of a LUN H/W path and a Lunpath H/W path use the hexadecimal notation instead of the decimal notation.
 
Scan disk storage disk
ioscan –fnNC disk

Change disk id from 21 to 31 and remove special file disk21
vi /tmp/infile
64000/0xfa00/0xe disk 31
 
ioinit -f /tmp/infile
rmsf /dev/disk/disk21
rmsf /dev/rdisk/disk21
 
Create vg,lv,file
pvcreate /dev/rdisk/disk31
mkdir /dev/vgoraarch
mknod /dev/vgoraarch/group c 64 0x020000
vgcreate -s 32 /dev/vgoraarch /dev/disk/disk31
lvcreate -L 102368 -n lvoraarch /dev/vgoraarch
mkfs -F vxfs -o largefiles /dev/vgoraarch/lvoraarch
mkdir -p /oracle/ORCL/archive1
 
vi /etc/fstab #Edit fstab
/dev/vgoraarch/lvoraarch/oracle/ORCL/archive1 vxfs delaylog 0 2
mount –a

Unix HP-UX check free PCI slots for HP-UX

** Myself
For HP-UX 11iV2 use “olrad –q”
# /usr/bin/olrad –q
Slot      Path Bus Max Spd Pwr Occu Susp OLAR OLD Max Mode Num Spd Mode
3          0/4/1 128 66 66 Off No N/A N/A N/A PCI-X PCI-X
4          0/4/2 128 66 66 Off No N/A N/A N/A PCI-X PCI-X
5          0/5/1 160 66 66 Off No N/A N/A N/A PCI-X PCI-X
6          0/5/2 160 66 66 Off No N/A N/A N/A PCI-X PCI-X
7          0/2/1 64 133 133 On Yes No Yes N/A PCI-X PCI-X
8          0/6/1 192 133 133 On Yes No Yes N/A PCI-X PCI-X
Available and Unavailable slots are showed in Pwr column.
For HP-UX 11iV1 use “rad –q”
# /usr/bin/rad -q

Unix OS HP-UX Create and Extend Volume group,Logical volume,File system (vg,lv,fs) license/No license Online JFS

** Myself
Step 1. Pool the physical volumes into a volume group. To complete this step:
mkdir /dev/vgnn
mknod /dev/vgnn/group c 64 0xNN0000
#The c following the device file name specifies that group is a
#character device file.The 64 is the major number for the group device file; it will #always be 64.The 0xNN0000 is the minor number for the group file in hexadecimal.
#Note that each particular NN must be a unique number across all
volume groups.
#### if minor already in use then rm /dev/vgnn/group

Step 2. Select one or more disks
ioscan –fnc disk

# if CLAIMED but no device file use to
insf -e

Step 3. Initialize each disk as an LVMdisk by using the pvcreate
pvcreate /dev/rdsk/cXtXdX
# for an HP 9000 (PA-RISC)System; on an HP Integrity Server, make sure that the device filespecifies the HP-UX partition number ,enter:
pvcreate /dev/rdsk/cXtXdX

Step 4. Create volume group on disk
vgcreate -s 16 /dev/vg01 /dev/dsk/cxtxdx
#vgcreate [-f] [-A autobackup] [-x extensibility] [-e max_pe]
[-l max_lv] [-p max_pv] [-s pe_size] [-g pvg_name] vg_name
pv_path .
Step 5.Create logical volume
lvcreate –L 200M -n ora01 /dev/vgnn
#lvcreate [-A autobackup] [-c mirror_consistency]
[-C contiguous] [-d schedule] [-D distributed]
[-i stripes -I stripe_size] [-l le_number | -L lv_size]
[-m mirror_copies] [-M mirror_write_cache] [-n lv_name]
[-p permission] [-r relocate] [-s strict] vg_name
-- or –
for i in 1 2 3 4 5 6 7 8
> do
> lvcreate -L 2000M -n lvol$i /dev/vg04
> done
Step 6.Create file system
mkfs -F vxfs -o largefiles /dev/vnn/lvolnn
-- or –
for i in 1 2 3 4 5 6 7 8
> do
> mkfs -F vxfs -o largefiles /dev/v04/lvol$i
> done

Step 7. Edit fstab

Step 8. Mount fstab
Mount -a
Increase the logical volume size to 400 MB:
lvextend -L 400 /dev/vg01/lvol4 (mirror or no mirror is same)

fsadm -b <new size in sectors bytes> /mountpoint = fsadm -e /mountpoint
fsadm -b 409600 /home

--or –
#No online jfs
umount /dev/vg01/lvol4
extendfs /dev/vg01/lvol4
mount –a
# if Step 4. you want to change parameter volume group then
vgchange –a n vgxx
vgreduce vgxx /dev/dsk/cxtxdx
pvremove /dev/dsk/cxtxdx
pvcreate –f /dev/rdsk/cXtXdX
Go to Step 1

HP-UX & Oracle & SAP Best performance File System and Disk Layout summary(Can be apply for HP-UX & Oracle DB)

** Myself
File System and Disk Layout summary                   
"#OS blocksize for redolog and mirrlog = 1k
#OS blocksize for sapdata and oraarch = 8k"                   
"#SAP Note 1077887
Mount file system option for  sapdata,redolog/mirrlog option on /etc/fstab or dbci.cntl (in MCSG cluster environment)
convosync=direct,mincache=direct,delaylog,nodatainlog
"#mincache=direct (bypass buffer cache on read)
"#convosync=direct (force direct I/O for DB writers)
"#Use for data files and redo log files
For other mount file system for sap and oracle software path (/usr/sap/,/sapmnt/,/oracle/<SID>,and oraarch are use default option
"
*** Because if you mount direct ,mincache in sap or oracle softwae will be very slow in phase install / and usage software path                   

Unix OS HP-UX How to change boot device on EFI Menu

** Myself

EFI menu

Change boot console graphic

->boot config -> boot from file -> Console -> select output console

If want to VGA output choose PCI short name (last below row)

EFL menu

Change boot from dvd

->boot config -> boot from file -> Removable media boot

Boot from hard drive

->first menu

UNIX OS HP-UX Configuration Ignite server for hpvm host for restore vmguest

**Myself
Ignite server vmhost to vmguest
(vmhost=igserv:ip=10.10.10.10,vmguest=quest1:ip=10.10.10.20)
vmhost
Configure ignite server
mkdir –p /backup/igserv
chown bin:bin /backup/igserv

edit /etc/exports
/var/opt/ignite/clients -anon=2
/backup/igserv -anon=2,access=igserv
/backup/igserv -anon=2,access=Scorpion
exportfs -av
umask 033
make_net_recovery -s igserv -x inc_entire=vg00 -a igserv:/backup/igserv -A
receive mac address from vmguest and config ignite client of vmguest
hpvmstatus -P quest1|grep -i lan
vswitch lan vswitch1 1 0 1 0 62-14-4a-59-0d-b6

Unix OS HP-UX Restore ignite from tape HP-UX 11i(V1)

** Myself
Restore
# interrupt 10 sec to boot tape device
# Choose Advance for change file system (swap,stand,root,..)
# Restore to disk
 
Post task after complete restore
# Create new mirror
#1.Reduce Secondary disk
vgreduce /dev/vg00 /dev/dsk/${SEC_DISK}
#2. pvcreate the new disk
pvcreate -B /dev/rdsk/${SEC_DISK}
#3. Use mkboot to place boot utilities inthe boot area,the newly created boot disk
mkboot /dev/rdsk/$SEC_DISK
#4. Use mkboot to set quorum into disk
mkboot -a "hpux -lq" /dev/rdsk/$SEC_DISK
mkboot -a "hpux -lq" /dev/rdsk/$PRI_DISK
#5. Extend vg to include new disk
vgextend /dev/vg00 /dev/dsk/${SEC_DISK}
#6. extend lvols to mirror on the disk
for i in /dev/vg00/lv*
do
lvextend -m 1 $i /dev/dsk/${SEC_DISK}
done
#7. Change Boot Path
setboot pri 0/0/…
setboot alt 0/0/…

Unix OS HP-UX Backup ignite to tape HP-UX (V1,2,3)

** Myself
Include file for make_tape_recovery and make_net_recovery
#/opt/ignite/recovery/mnr_essentials
# Backup Command Ignite
nohup make_tap_recovery –Av & (case rmt/0mn with nohup.out for background session)
make_tap_recovery –Av (case rmt/0mn)
make_tap_recovery –a /dev/rmt/Xmn -Av (case Xmn)
make_tap_recovery –a /dev/rmt/Xmn -Av –x exclude=/oracle (case Xmn with exclude data on mount point file system)
# Duplicate tape ignite to tape
dd if=/dev/rmt/0mn of=/dev/rmt/1mn bs=2k
dd if=/dev/rmt/0m of=/dev/rmt/1m bs=10k
# Duplicate tape ignite to disk
dd if=/dev/rmt/0mn of=/dir1 bs=2k
dd if=/dev/rmt/0m of=/dir2 bs=10k

Unix OS HP-UX Mount CD/DVD-ROM for special character (example ORACLE CD) by pfs_mount


** Credit web
Mounting CD-ROMs for HP
1. Use the following command to determine the device_file:
$ ioscan -fun -C disk
The output should be similar to the following:
disk 10 10/12/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM
XM-5701TA /dev/dsk/c4t2d0 /dev/rdsk/c4t2d0

2. If there is not already an entry in the /etc/pfs_fstab file for your CD-ROM
device, you must add one. As the root user, use a system editor to add a line to
the /etc/pfs_fstab file following this format:
device_file mount_point filesystem_type translation_method
In the preceding format, the first entry is the CD-ROM device, the second entry
is the mount point, and the third entry indicates that the CD-ROM to be
mounted is in ISO9660 format with Rockridge extensions.
The device_file in this example is /etc/pfs_fstab. For a CD-ROM
device with the path /etc/pfs_fstab, you would enter the following:
/dev/dsk/c4t2d0 /SD_CDROM pfs-rrip xlat=unix 1 0
#Caution: Do not run the Installer while the CD-ROM
directory is the current directory or you will be unable to
unmount the next CD-ROM when prompted to do so.
Installation Mount Options


3. Enter the following commands:
# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &

4. Place CD-ROM in the CD-ROM drive and mount the CD-ROM
by entering the following command:
# /usr/sbin/pfs_mount /SD_CDROM

# To unmount the CD-ROM, use the following command:
# /usr/sbin/pfs_umount /SD_CDROM

Unix OS HP-UX Restore ignite from tape HP-UX (V2,3)

** Myself
The Restore may be use DVD-Media from EFI Menu then use to tape-drive to restore
--> EFI
--> DVD boot
--> Media
--> install and advance
--> boot from tape

After boot from DVD
Welcome to the HP-UX installation/recovery process!
Use the <tab> key to navigate between fields, and the arrow keys
within fields. Use the <return/enter> key to select an item.
Use the <return/enter> or <space-bar> to pop-up a choices list. If the
menus are not clear, select the "Help" item for more information.

Unix OS HP-UX Change boot device from EFI Menu

** Myself
EFI menu
Change boot console graphic
-->boot config --> boot from file --> Console --> select output console
If want to VGA output choose PCI short name (last below row)
EFL menu
Change boot from dvd
-->boot config --> boot from file --> Removable media boot
Boot from hard drive
-->first menu
Loading