Sunteți pe pagina 1din 6

HPUX OS Reference Documentation 1. OS Back-Up Activitys 2. Start-up & Shut-down 3. Log Clearance 4. Few Tuning features 5.

Sharing & Security 6. Few Useful commands 7. Failure recovery procedures 8. LTO procedures 9. Memory Utilization, CPU Utilization 10. GUI Interfaces for HPUX

Backup Methods a) HP open view data storage protector b) SAM (System Administration Manager) c) HP-Ux Fbackup/Recovery utilities

Ignite Backup :

make_net_recovery

Use this command to create an operating system recovery archive and store it on another system on the network. This command works on any system that has Ignite-UX installed.
make_tape_recovery Use this command to create an operating system recovery archive on a bootable recovery tape. This command works on any system that has a local tape drive and Ignite-UX installed

FullBackup :1. Ensure that you have super user capabilities. 2. Ensure that files you want to back up are not being accessed. The fbackup command will not back up files that are active (opened) or locked. 3. Verify that the backup device is properly connected. 4. Verify that the backup device is turned on. 5. Create the backup using fbackup. For example, the command fbackup v f /dev/rmt/0m -i/home can be used to back up the entire contents of /home to the device file /dev/rmt/0m

To Restore files from backup using frecover 1. 2. 3. 4. Verify that the backup device is properly connected. Verify that the device is turned on. Ensure that the device is loaded with the appropriate backup tape. Restore files using the frecover command.

The -r option to the frecover command is generally used for recovering all files from your backup; the -x option is used for restoring individual files to your system. Frecover x v f /dev/rmt/filename.

Shutdown Procedure:To shutdown HP-Ux server use following command Shutdown hy 0 Shutdown hr 0 (for Restart Server)

To Check Network Parameters:/etc/rc.config.d/netconfig Important Directories:/dev ( Device directory)- All Device information stored. /home (Home directory)- user accounts stored /sbin system. /tmp /lib /usr /var -Executables files are stored which needed at the time of boot -Temporary files stored -library files used by executable programs -various product specific directories - System services files

/etc/sys_id - the name of the system (may include full domain) /etc/hosts - summary of full host names (standard file, added to by the administrator) /etc/fstab - list of file systems to mount on bootup /etc/passwd - password file, contains user account information /etc/group - group file, contains details of all user groups

File System in HP-Ux 1) HFS :- High performance File System 2) VxFS:- VERITAS file system 3) NFS :- NetworK File System The unix file system can be regarded as top to down tree of files & directories. Root:- The topmost directory contains other directories & files. The ls command lists files and directories in the current directory, or some other part of the file system by specifying a path name. For example: ls / / - directory * -executable file @ - link to another file. Important Hidden files .cshrc .login .profile

The most commonly used shells are: bsh - Bourne Shell; standard/job control - command programming language Most useful commands :-

cd - change directory ls - list contents of directory rm - delete a file (no undelete!) mv - move a file cat - dump contents of a file ( to Create a file upto 256 char) more - display file contents in paged format find - search file system for files/directories grep - scan file(s) using pattern matching man - read/search a man page (try man man)

mkdir - create a directory rmdir - remove directory (rm -r has the same effect) pwd - print current absolute working directory cmp - show differences between two files lp - print a file df - show disk usage du - show space used by directories/files mail - send an email message to another user passwd - change password (yppasswd for systems with NIS) vi- edit the file or to see contents in the file. Nedit- Gui editors chmod - change file access permissions who - show who is on the local system whoami- shows user id