HP-UX first note

Tape Drive Configuration

Remove existing tape devices rm /dev/rmt/*
Scan bus for tape devices ioscan –fnC tape
Built tape devices insf –C tape -e
Check devices have been built ls –l /dev/rmt
Rewind and offload drive /dev/rmt/1m mt –f /dev/rmt/1m offload

Disk Configuration

Display logical volumes ls –l /dev/vg00
Display a physical volume pvdisplay –v /dev/dsk/c?t?d?
Display a volume group vgdisplay –v vg00
Display a logical volume lvdisplay –v /dev/vg01/lvol5
Create new filesystems newfs –F vxfs /dev/vg01/rlvol5
Create a mount point mkdir /disk1
Mount filesystems mount –F vxfs /dev/vg03/lvol04 /disk1
Display all mounted file system mount -v
Amend mount table vi /etc/fstab
Using SAM for LVM administration sam (disk and file systems area) if you have a lot of disks this will take a LONG LONG time in comparision to using the command line.

Software Management

Display list of all installed software swlist
Install new software swinstall
Install software from a tape drive swinstall –s /dev/rmt/0m
Install software from a CD-ROM mount /dev/dsk/c?t?d? /SD_CDROM swinstall –s /SD_CDROM
Verifying installed software swverify
Remove a software package swremove
Display installed patches For HP-UX 10.x swlist –l product PH* For HP-UX 11.0 swlist –l patch ‘*.*,c=patch’Or swlist –l patch
Configure installed software swconfig

Shutdown or reboot

Shutdown and power off machine shutdown –r now
Reboot reboot
You can of course use the init commands depending on the run level you wish to acheive.

Source : wiki.ittoolbox.com

One response to “HP-UX first note

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s