
ISBN: 9781606436547 (Paperback Edition) ASIN: B01K04BXQK (eBook Edition) Like the first two editions of this book, the third edition also covers the three main objectives – to provide a comprehensive resource to individuals including novice, IT/Non-HP-UX administrators and HP-UX administrators who intend to take the new HP Certified Systems Administrator exam HP0-A01 and pass it; to provide a quick and valuable on-the-job resource to HP-UX administrators, administrators of other UNIX operating systems, IT managers, and programmers and DBAs working in the HP-UX environment; and to provide an easy-to-understand guide to novice and IT/non-HP-UX administrators who intend to learn HP-UX from the beginning. UNIX Fundamentals (chapters 1 to 6, and 22) covers the basics of UNIX and HP-UX. Most information is not specific to a particular UNIX flavor, rather, includes general UNIX concepts, file manipulation and security techniques, vi editor, shell and awk programming, basic commands and other essential topics. Unlike many other similar books, a chapter on shell scripting is presented after covering HP-UX System Administration area. This is done purposely to provide readers with practical examples based on the knowledge they gain from UNIX Fundamentals and HP-UX System Administration chapters. HP-UX System Administration (chapters 7 to 21) covers the HP-UX-specific system administration concepts and topics including server hardware information and mass storage stack; virtualization technologies and HP-UX installation; software and patch management; user and group administration; LVM and file system administration; EVFS and swap management; system shutdown and startup procedures; kernel configuration and management techniques; backup and restore functions; printer and print request management, job automation and process control; and system logging and performance monitoring. HP-UX Network Administration (chapters 23 to 36) covers HP-UX network and security administration concepts and topics such as OSI and TCP/IP reference models; network hardware overview and LAN interface administration; IP subnetting and routing techniques; basic network testing and troubleshooting; internet services and sendmail; time synchronization (NTP) and resource sharing (NFS, AutoFS and CIFS) services; naming (DNS, NIS and LDAP) services and automated installation techniques; and high-availability concepts and system security tools and practices. Each chapter begins with a list of key topics covered and ends with a summary. Throughout the book figures, tables, screen shots and examples are given for explanation purposes. The background of the output generated from running commands and shell scripts is highlighted in light grey to differentiate from surrounding text. |


As of December 01, 2009, Hewlett-Packard has replaced the Certified Systems Administrator (CSA) certification exam HP0-A01 with HP0-P20 meaning that HP0-A01 is no longer available, and you must take HP0-P20 to obtain the HP-UX CSA designation. The new exam includes 90% plus objectives that were also on the HP0-A01, only a few additions have been made. The new exam contains 62 questions, and the question format includes multiple choice, drag-and-drop and hot area. A minimum score of 70% is required to pass the exam within 90 minutes. The official exam objectives for both HP0-P20 and HP0-A01 are provided below. You should be able to download related HP-UX manuals from support.hp.com for detailed information on any of these topics. EXAM OBJECTIVES FOR HP0-P20 Objectives 1: HP-UX architecture and structure (11%) Describe the HP-UX OS architecture Identify the supported HP-UX processor interfaces and their features Identify the major hardware components found in systems running HP-UX Describe the file systems supported by HP-UX and their use Identify the basic LVM concepts and structure Identify the basic VxVM concepts and structure Describe the concept and benefits of the HP-UX 11i v3 mass storage stack implementation Objectives 2: HP-UX user environment, basic commands and utilities (11%) Login and determine basic information about an HP-UX system Execute HP-UX commands from the command line Manage and manipulate files and directories Define and describe the program, process, and thread attributes of an HP-UX instance Demonstrate the tools and techniques used to identify, monitor, and terminate programs and processes Identify and explain how and when to use advanced shell features Describe and demonstrate how to communicate with system users Describe when and how to access basic network services Objectives 3: HP-UX system administration and operational tasks (26%) Boot, reboot and shutdown an HP-UX system or partition Connect and configure HP-UX hardware Describe, configure, and manage HP-UX 11i v3 device files Configure and manage disks and disk partitions Maintain file and file system integrity and design Backup and recover data on an HP-UX system Create and manage swap space Describe print spooling and its use Configure and tune the HP-UX kernel Identify basic symptoms of common performance bottlenecks Describe and use System Management Homepage (SMH) Describe System Startup model and its use Describe HP Systems Insight Manager (HP SIM) and its use Describe Web-Based Enterprise Management (WBEM) and its use Monitor system activity and events Create and manage user and group environments Objectives 4: HP-UX system network administration tasks (15%) Describe LAN addressing concepts Enable DHCP for NIC address configuration Use appropriate commands to verify local connectivity Describe set_parms and its use Identify and use common network configuration files and network monitoring tools Describe and use ndd Describe and configure HP-UX routing Configure and monitor network services Describe and configure a basic Apache web-server Describe the HP CIFS/9000 product and its use Describe the ONC suite of network services and their use Describe LDAP and its use Configure DNS Describe sendmail and its use as a MTA and MDA Describe NTP and its use Objectives 5: HP-UX installation, upgrade, and recovery tasks (19%) Describe the purposes of the HP-UX Operating Environments (OEs) Perform an HP-UX installation from local installation media Perform an HP-UX installation from an SD-UX server Configure an SD-UX depot server Install HP-UX patches Describe the features and benefits of Ignite-UX Perform an HP-UX installation from an Ignite-UX Server Install and configure an Ignite-UX server Identify the features and benefits of Dynamic Root Disk Perform an HP-UX upgrade using Update-UX Use the Software Assistant (SWA) Objectives 6: HP-UX security administration tasks (10%) Identify 'users level' security settings Describe password creation options and their use Describe how to implement system access restrictions Describe common system security concerns Describe and configure ssh Describe PAM and its use Describe privilege group and its use Describe common administrative security tasks and available security products/tools Describe methods to distribute privileges to other users Describe Standard Mode Security Extensions Objectives 7: HP-UX Virtual Server Environment and high availability features (8%) Identify and describe partitioning continuum technologies and concepts Implement HP partitioning solutions technologies and concepts Identify and implement High Availability technologies and concepts EXAM OBJECTIVES FOR HP0-A01 Objectives 1: HP-UX architecture and structure (17%) Describe the HP-UX OS architecture Describe the HP-UX processor families Describe the major hardware components found in HP’s current systems Describe the features and benefits of HP disk management solutions Describe the significance of basic LVM concepts and structure Describe virtualization technologies and concepts Describe the concept and benefits of the Mass Storage Stack Describe 11i v3 performance and capacity improvements and workload benefits Objectives 2: HP-UX user environment, basic commands and utilities (15%) Login and logout of an HP-UX system Determine basic information about a system Execute HP-UX commands from the command line Manage and manipulate files and directories Define and describe the attributes of basic system components Demonstrate the tools and techniques used to identify, monitor and terminate programs and processes Identify and explain how and when to use advanced shell features Describe and demonstrate how to communicate with system users Describe when and how to access basic network services Objectives 3: HP-UX system administration and operational tasks (26%) Boot, reboot and shutdown an HP-UX system or partition Connect and configure HP-UX hardware Describe, configure and manage HP-UX device files Configure and manage disks and partitions Maintain file and file system integrity and design Backup and recover data on an HP-UX system Create and manage swap space Create and manage user/group environments Configure and reconfigure the HP-UX kernel Describe common areas of performance bottlenecks Describe SYS-V IPC services and their use Describe SAM and its use Describe System Startup model and its use Describe /etc/default and its use Monitor system activity and events Implement HP partitioning solutions Describe Web-Based Enterprise Management (WBEM) and its use Describe HP Systems Insight Manager (HP SIM) and its use Describe System Management Homepage (SMH) and its use Objectives 4: HP-UX system network administration tasks (23%) Describe MAC addressing and its use Describe IP addressing and its use Enable DHCP for NIC address configuration Check local connectivity to a known neighbor by IP or by MAC address Describe set_parms and its use Describe common network configuration files and their use Describe network monitor utilities and their use Configure and monitor network services Describe the HP CIFS product suite and its use Describe the ONC suite of network services and their use Describe LDAP and its use Describe DNS and its use Describe sendmail and its use as a MTA and MDA Describe NTP and its use Objectives 5: HP-UX installation, upgrade and recovery tasks (6%) Perform an HP-UX installation from local installation media Perform HP-UX installation from an SD-UX server Install HP-UX patches Describe the features and benefits of Ignite-UX Objectives 6: HP-UX security administration tasks (11%) Cite 'users level' security settings Describe how to implement system access restrictions Describe common system security concerns Describe ssh and its use Describe PAM and its use Describe available security tools Describe common administrative security tasks Explain how various network architectures/features can affect a system security policy Use Bastille for system hardening Use Encrypted Volume and File System (EVFS) Identify Identity Management features and functions Use Install-time Security Identify new security features (new to 11i v3) Use the Software Assistant (SWA) Describe Local User Administration Objectives 7: Describe HP-UX high availability and clustering features (2%) Explain Key HA Terms Identify the Risks with SPOF Visit https://certification-learning.hpe.com/tr/datacard/Certification/ASE-HPUX11__3iV1 for up-to-date and more in-depth information about the exam requirements. |

Basics of BackupBacking up system and data files is a vital function of system administration. To minimize the chance of a complete data loss, backups are performed and backup media is stored at an alternate, secure location geographically separated from the system. The alternate location may be another room, building, city or another site. Backup, Archive, Restore and Recovery FunctionsBackup is a function of duplicating files and directories on a hard disk to an alternate media for extended storage, emergency and safety purposes. The alternate media could be a tape, a LUN in a storage system, a re-writeable optical disc or a hard drive on a remote system. Backups are typically meant to be recycled and over-written with updated data. Types of BackupThere are three common types of backup performed. These are referred to as full, incremental and differential. Levels of BackupThere are certain pre-defined backup levels that can be used for backups. In fact, employing these levels make backups full, incremental or differential. These levels are relative to one another. There are 10 supported levels as listed in Table 18-1.
Table 18-1 Backup Levels Sample Backup ScheduleThe following example explores setting up a backup schedule for a file system /opt/oracle with the following scheduling requirements:
To develop a backup schedule to meet the above requirements, you can use level 0 to represent the full backup, level 1 to correspond to differential backups and level 2 to represent incremental backups. The following displays the schedule for five weeks to accomplish above requirements: Restore Procedure for the Sample BackupFrom restore perspective, if the data becomes corrupted on Wednesday the 18th before the Wednesday backup is commenced, you will need to perform restores in the following sequence to get the data back to the Tuesday the 17th state:
This will bring the data in /opt/oracle file system to the state where it was on Tuesday the 17th. Managing Backups and RestoresThere are many tools available in HP-UX that can be utilized to do backups and restores of files and directories. These tools include pax, fbackup/frecover, dump/restore, vxdump/vxrestore, tar, cpio, ftioand dd. The following sub-sections discuss them in detail. Performing Backups Using paxThe pax (portable archive exchange) command archives, lists and extracts files to and from disk or tape. This command is very powerful and is compatible with cpio and tar commands in that it can list and restore archives created using them. The pax command supports both legacy and persistent tape DSFs.
Table 18-2 pax Command Options
Table 18-3 pax Command Operating Modes Performing Backups Using fbackupThe fbackup command is the HP-UX-specific native tool for performing full, incremental and differential backups. This command is deprecated in 11i v3 and will not be available in a future HP-UX release to create archives.
Table 18-4 fbackup Command Options Performing Restores Using frecoverThe frecover command is the HP-UX-specific native tool for performing restores done using fbackup. This command is deprecated in HP-UX 11i v3 and will not be available in a future HP-UX release. Some essential options frecover supports are listed in Table 18-5.
Table 18-5 frecover Command Options Performing Backups/Restores Using dump/restoreThese tools function similar to the way fbackup and frecover work, but with three major differences. One, these tools work at the file system level and not on individual files and directories, two, they can backup and restore only an HFS file system, and three, they do not support persistent DSFs for tape devices. Both tools support multi-level backups, store time stamp information in /var/adm/dumpdates file and use various levels of backups described earlier in the chapter. Let us look at a couple of examples. To pa level 0 backup of the /data1 file system to the default tape device at /dev/rtape/tape1_BEST and update the /var/adm/dumpdates file (create this file before running the dump command): # dump 0u /data1 To restore the above:
Performing Backups/Restores Using vxdump/vxrestoreThese tools work identically as dump and restore, but backs up and restores only JFS file systems. The two commands also support persistent DSFs. Here are a couple of examples. To restore the above from the same tape device:
Using tarThe tar (tape archive)command archives, lists and extracts files to and from a single file called a tar file. A tar file can be created as a regular file on disk or tape. This command supports both legacy and persistent tape DSFs.
Table 18-6 tar Command Options # tar cv /home To view the contents of tape in the default tape device: To restore /home directory from the default tape device: To extract files from /tmp/files.tar: Using cpioThe cpio (copy in/out) command archives, lists and extracts files to and from a tape or single file. This command supports both legacy and persistent tape DSFs.
Table 18-7 cpio Command Options Using ftioThe ftio (faster tape in/out) command archives, lists and extracts files to and from a tape device. This command is similar in operation to the cpio command, but is used only with tape drives. ftio is deprecated in HP-UX 11i v3 and will no longer be available in a future HP-UX release to create archives. Using ddThe dd command performs a bit for bit duplication. This command is useful in some limited situations and is technically not a backup command. Here is how it works. The destination lvol1 in vg01 must be either of the same size as lvol1 in vg00 or larger. View man pages of dd on detailed usage. |

Page 23: The paragraph "Some key sub-directories under /dev are: dsk, disk, rdsk, rdisk, rmt, rtape, pts and vg00. These sub-directories contain block device files for disks including hard disks and CD/DVD drives (dsk and rdisk), character device files ......" . . . . . . . . . disks including hard disks and CD/DVD drives (dsk and disk), character device files ......" Page 30: The output under the paragraph "The first character in each line entry tells if the file is block or character special. A “b” denotes a block and a “c” stands for character ..... should be read as: $ file /dev/rdisk/disk2 Page 43: The sentence "To list all lines from the /etc/passwd file that end with the pattern “sh” ... should be read as "To list all lines from the /etc/passwd file that end with the pattern “ksh” ... $ grep ksh$ /etc/passwd Page 44: The sentence "To print all lines from the /standcurrent/system file that contain the ...... " should be read as "To print all lines from the /stand/current/system file that contain the ...... " Page 57: the last word on the first line should be “on” and not “one”. Q109: The correct answer is B. |