"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Summary

Description

This course teaches intermediate and advanced topics in Solaris system administration by combining both the Solaris 10 System Administration Part 1 and Part 2 courses. The operating system will be Solaris 10 (SunOS 5.10 version 9/10). The course is taught on Sun SPARC servers and x86-based systems. This course prepares the student for the Oracle Certified Professional, 10 System Administrator Certification Exams (CX- 310-200, CX-310-202 & CX-310-203)

Objectives At the end of this course, students will be able to:

 Perform system boot and shutdown  Manage storage volumes (SVM) procedures on SPARC and x86-based  Control access and configure system systems messaging  Administer the Service Management Facility  Configure role-based access control (RBAC) (SMF)  Set up name services  Manage Solaris file systems  Introduction to LDAP  Install the Solaris 10 Operating environment  Perform advanced installation procedures on SPARC and x86-based systems (Flash archive, JumpStart and WAN boot)  Create and administer user accounts  Install the OS on a mirrored ZFS root pool  Understand security issues and perform  Perform a Solaris Live Upgrade security administration  Perform a Solaris Flash installation  Manage system processes  Understand differences between SPARC  Perform system backups and restorations and x86-based Solaris Operating  Describe network basics environments.  Configure the network interface and network  Understand and administer Zones and services Containers.  Understand and administer ZFS file systems  Use the Solaris Resource Manager with  Describe remote administration with the Zones Solaris Management Console software  Migrate a UFS root to a ZFS root  Manage virtual file systems and core dumps pool

Topics

 Overview of the Solaris 10 Operating  Installing the Solaris 10 Software Environment  Managing Local Disk Devices  System Startup and Shutdown Procedures –  Managing File Systems SPARC-Based Systems  Mounting and Un-mounting File Systems  System Startup and Shutdown Procedures –  Introduction to the ZFS File System x86/x64-Based Systems  The Solaris Network Environment  GRUB – Grand Unified Bootloader (x86/x64  System Security platform)  Administering User Accounts  Service Management Facility (SMF)  Software Package Administration Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Summary (cont’d)

 Managing Software Patches on the Solaris  Role Based Access Control (RBAC) 10 OS  Solaris Management Console  Controlling System Processes  Using the Solaris Volume Manager Software  Backup and Recovery  Configure The NFS/AutoFS Environment  Advanced Solaris 10 Installation Procedures  Introduction to LDAP  Solaris Live Upgrade  Solaris 10 Name Services  Managing SWAP Space  Configuring System Messaging  Managing Crash Dumps and Core Files  Introduction to Zones

Audience This course is recommended for system administrators migrating from HP’s HP-UX or IBM’s AIX.

Prerequisites

The student should have a minimum of six months UNIX system administration experience, completed a UNIX fundamentals course, and a strong desire to learn Solaris OS administration in an accelerated, intense environment.

Duration

Five days

Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Outline

I. Overview of the Solaris 10 Operating C. Modifying boot behavior with GRUB Environment D. Use the eeprom and kernel commands A. System concepts E. GRUB device naming conventions B. The main parts of the Solaris OS F. Booting the x86-based system with GRUB C. The Client/Server environment G. GRUB boot archives D. Describe the Solaris 10 Directory Hierarchy H. Boot the failsafe archive for recovery E. Understand Solaris 10 file types I. Interrupting and unresponsive system F. Understand hard links and soft links V. Service Management Facility (SMF) II. System Startup and Shutdown Procedures – A. Describe features of the SMF and the SPARC-Based Systems phases of the boot process A. Understand phases of the boot process – B. The init process and the /etc/inittab file SPARC C. svc.startd daemon (master starter/restarter) B. Booting the system D. Understand services and service instances C. The Advanced Lights Out Manager (ALOM) E. Understand the SMF manifest D. Understanding OpenBoot and F. Creating the manifest programmable read-only memory (PROM) G. Understand the SMF repository database E. OpenBoot Firmware tasks H. Modify the service configuration repository F. PROM fundamentals I. Understand the Fault Management G. PROM commands and syntax Resource Identifier (FMRI) H. Understand how to view and set PROM J. Understand service dependencies parameters from (OpenBoot and the shell) K. Identify run level fundamentals I. Understand how to view and set device L. Describe SMF Milestones aliases M. Changing milestones J. OpenBoot security N. Compare run levels and SMF milestones K. OpenBoot diagnostics O. Understand when to use a SMF service vs. L. Boot PROM and program phases a legacy service M. Stopping the system for recovery purposes P. Identify phases of the boot process (Interrupting an unresponsive system) Q. SMF command line administration utilities N. Understand the pros and cons of the various R. Display information about services shutdown procedures S. Starting and stopping services using SMF T. Starting services during boot III. System Startup and Shutdown Procedures – U. Troubleshooting SMF problems x86/x64-Based Systems V. Control boot processes and services A. Understand phases of the boot process – W. SMF message logging x86-based systems X. Creating new service scripts B. The BIOS, Boot archive, and GRUB Y. Convert a legacy service to a SMF managed C. Configuring the video display service D. Understand the pros and cons of the various Z. Legacy services shutdown procedures AA. Administering the SMF BB. Troubleshooting SMF IV. GRUB – Grand Unified Bootloader (x86/x64 CC. Using run control scripts to stop / start platform) legacy services A. Introduction to GRUB DD. Adding scripts to the run control directories B. How GRUB based booting works Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Outline (cont’d)

VI. Installing the Solaris 10 Software H. Solaris file system types A. Requirements and preparation for installing I. Disk-based file systems (UFS, ZFS, HSFS, the Solaris 10 software PCFS) B. Supported architectures J. Network-based file systems C. Minimum system requirements K. Virtual file systems (SWAPFS, PROCFS, D. Software Terminology: Packages, Groups LOFS, CacheFS, DEVfs, TMPFS) (Clusters), and Configuration Groups L. Disk slices E. Software package M. Displaying disk configuration information F. Software groups and configuration groups N. Using format G. Upgrade vs. Initial installation O. Logical volumes H. Disk storage systems P. Parts of a UFS file system I. Considerations for planning partition sizes Q. The bootblock J. Partition arrangements on multiple disks R. The superblock K. Methods of installing the Solaris 10 software S. The inode L. Interactive (CLI) T. The storage block M. Custom JumpStart U. Free blocks N. Flash Archive V. Creating a UFS file system O. WAN boot W. Understanding custom file system P. Live Upgrade parameters Q. Secure by Default X. File system operations R. The Solaris interactive installation process Y. Synchronizing a file system S. Installation and Secure by Default Z. Repairing file systems AA. Using fsck VII. Managing Local Disk Devices A. Describe disk architecture IX. Mounting and Unmounting File Systems B. Describe device naming conventions A. Mounting file systems C. Physical device name B. The /etc/vfstab file D. Instance name C. Using the mount command E. Logical device name D. Displaying mounted file systems F. Block and character device files E. Mounting a file system with large files G. Tools to list devices F. Mounting a file system with UFS logging H. Reconfiguring devices enabled I. Describe the format utility G. The /etc/mnttab file J. Perform disk partitioning using the format H. Displaying a file system’s disk space usage utility I. Displaying directory size information K. Perform disk partitioning using the Solaris J. Controlling user disk space usage Management Console (SMC) K. Constructing a file system L. Large vs. Small files VIII. Managing File Systems M. Unmounting a file system A. A file system defined N. The fuser command B. Defining a disk’s geometry O. Volume manager (vold) C. Disk controller P. Troubleshooting volume manager D. Defect list Q. Using fdformat E. Disk label (EFI vs. SMI labels) R. Information on file systems F. Partition table S. Troubleshooting file systems G. Formatting SPARC and x86 drives Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Outline (cont’d)

X. Introduction to the ZFS File System OO. Replacing a ZFS file system with a A. Introduction to ZFS ZFS clone B. ZFS Terms PP. Zpool scrubbing C. Hardware and Software requirements for QQ. Replacing Devices in a Storage ZFS Pool D. What is Self-Healing? RR. Using ZFS with Solaris Zones E. ZFS RAID configurations SS. Adding a ZFS dataset to a non-global zone F. Create a ZFS file system TT. Delegating a ZFS dataset to a non-global G. Rename a ZFS file system zone H. Listing a ZFS file system UU. Emulated volumes I. Remove a ZFS file system VV. Using ZFS as a swap or dump device J. Remove a ZFS Storage Pool WW. Designating hot spares in a storage K. ZFS Components pool L. Disks, Files, Virtual Devices M. Naming convention XI. The Solaris Network Environment N. Using disks in a ZFS storage pool A. The Solaris Client/Server model O. Using files in a ZFS storage pool B. Network interfaces Network Hardware P. Mirrored storage pools C. Configuring and Monitoring network Q. Converting a non-redundant pool to a interfaces mirrored pool D. Configuring static information R. Detach a device from a mirrored pool E. Configuring dhcp S. RAID-Z storage pools F. Configuring the Network Interface T. Displaying ZFS storage pool information G. /etc/hostname.interface U. Adding devices to a ZFS storage pool H. /etc/nodename V. Attaching and Detaching devices in a I. /etc/defaultdomain storage pool J. /etc/inet/hosts W. Taking storage pool devices offline and K. Configuring Network Services online L. Enable and disable server processes using X. ZFS history the Service Management Service (SMF) Y. ZFS properties M. Understanding inetd and the inetd.conf file in Z. Native and settable properties the SMF environment AA. Setting ZFs properties N. Starting services on well-known ports BB. Mounting ZFS file systems O. Using inetadm CC. Legacy mount points P. Understand and monitor RPC services DD. Sharing ZFS file systems Q. Network Security Files EE. ZFS Web-based management GUI R. Understand how to configure the secure FF. ZFS snapshots shell (ssh) GG. Creating snapshots S. Network Maintenance and Troubleshooting HH. Listing snapshot information II. Saving and Restoring a ZFS snapshot XII. System Security JJ. Renaming a ZFS snapshot A. Physical security KK. Rolling back a ZFS snapshot B. Controlling system access LL. Save/Restore to a remote system C. User account information MM. ZFS Clones D. Restricted shells NN. Creating and destroying ZFS clones E. Controlling file access Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Outline (cont’d)

F. umask XVI. Controlling System Processes G. Sticky bit A. Viewing system processes H. Setting the correct PATH B. Commands used to monitor system I. setuid / setgid programs resources and processes J. Auditing users C. PROC tools K. Monitoring users and system usage D. Process types L. Checking who’s logged in E. Using signals M. The whodo command F. The kill command N. The last command G. Scheduling processes O. Network security H. The fair share scheduler (FSS) P. Securing superuser access I. Scheduling and changing process priorities Q. Automated security enhancement tool J. The nice and priocntl commands (ASET) K. Clear frozen and “zombie” processes R. Common sense security techniques L. Using the Solaris batch-processing facility to S. Securing services schedule execution of commands M. Configuring crontab for executing recurring XIII. Administering User Accounts processes A. Describe user administration fundamentals N. Using the at command for automatic one- B. Adding, modifying, and deleting a user time execution of a command account from the command line and SMC C. Adding a group from the command line and XVII. Backup and Recovery SMC A. Backup and recovery fundamentals D. Setting up and customizing the user’s shell B. Solaris backup and restoration utilities E. Managing initialization files C. Using the tar, dd, cpio, and pax utilites F. The /home directory D. Using ufsdump and ufsrestore G. Name services E. Recovering the root (/) and /usr file system F. Backing up a mounted file system XIV. Software Package Administration G. Creating a UFS snapshot A. Describe fundamentals of package H. Backing up the snapshot file administration I. Creating a Flash Archive B. Tools for managing software from the command line and from the system GUI XVIII. Advanced Solaris 10 Installation tools Procedures C. Adding and removing software packages A. Perform a Flash Installation D. Listing and verifying installed packages B. Describe a flash install C. Create a flash archive XV. Managing Software Patches on the Solaris 10 D. Create a differential flash archive OS E. Manipulate a flash archive A. The fundamentals of patch administration F. Using a flash archive for cloning a server B. Installing / verifying / removing a patch and G. Using a flash archive for cloning a server patch clusters disaster recovery C. Introducing Sun Connection services H. Perform a JumpStart and PXE Installation D. Using Sun connection services to automate I. Overview patching J. Preparing a Custom Jumpstart Installation E. Using the update manager from the GUI and K. What Happens During a Custom JumpStart from the command line Installation Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Outline (cont’d)

L. Setting up the Server D. Create an alternate boot environment cloned M. Setting up the Install Server from a running system N. Setting up the Boot Server E. Create a new boot environment on the O. The rules File SPARC and x86 platforms P. Creating Profiles F. Upgrade a boot environment Q. Using a Flash Archive for a JumpStart G. Patch a boot environment Installation H. Modify a boot environment R. Example Jumpstart Installation I. Activate a new boot environment on the S. Setup JumpStart to create a ZFS mirrored SPARC and x86 platforms root pool J. Maintain the Solaris Live Upgrade boot T. Pre-Execution Boot Environment (PXE) environment U. Prepare a PXE boot client K. Manage multiple boot environments V. Setup a DHCP server to support x86 L. Advantages of using Live Upgrade on a ZFS JumpStart clients root environment W. Network booting the x86-based system M. OpenBoot commands and options when X. Install the OS Using a Flash Archive using multiple boot environments Y. Create a Flash Archive Z. Create a differential Flash Archive XX. Managing SWAP Space AA. WAN Boot A. Describe swap and virtual memory concepts BB. The WAN boot process B. Swap space and TMPFS CC. Configure the WAN boot environment and C. Configure, size and monitor swap space the WAN boot server D. Setup swap space DD. Booting the WAN boot client E. Expand swap space EE. Using a Flash Archive for a WANboot Installation XXI. Managing Crash Dumps and Core Files FF. Install the OS using ZFS on the root file A. Understand Core dumps system B. Core dump configuration GG. Creating a mirrored root pool C. Manage core file behavior HH. Migrating a UFS root disk to ZFS D. Understand Crash Dumps II. Booting a ZFS root file system E. Crash dump configuration JJ. ZFS related OpenBoot commands F. Manage crash dump behavior KK. Multiple ZFS boot environments LL. Booting a ZFS file system in FailSafe mode XXII. Introduction to Zones MM. Replacing a disk in a ZFS root pool A. Consolidation and Resource Management NN. Boot From a Alternate Disk in a Mirrored B. Describe the advantages of Zones ZFS Root Pool C. Understand Zones and COntainers OO. Root pool snapshots D. Branded Zones for Solaris 8,9, and Linux PP. Recreate a ZFS Root Pool and Restore environments Root Pool Snapshots E. Solaris Zones QQ. Roll Back Root Pool Snapshots F. Types of Zones G. Zone States XIX. Solaris Live Upgrade H. Zone Features A. Understand the Solaris Live Upgrade I. Non-global Zone Root File System Models Process (when and where to use it) J. Whole Root Zones B. Understand the Live Upgrade requirements K. Sparse Root Zones C. Understand the Live Upgrade commands L. Networking in a Zone Environment Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!"

Solaris 10 System Administration Bootcamp

Course Outline (cont’d)

M. Zone Daemons G. Describe RBAC components and their N. Configuring a Zone interaction within RBAC O. The “zonecfg” command and subcommands P. Zonecfg resource types XXIV. Solaris Management Console Q. Creating a whole root Zone A. Starting the Solaris Management Console R. Creating a sparse root zone B. Customizing the Solaris Management S. Using a sysidcfg file when configuring a Console zone T. Viewing the Zone Configuration File XXV. Using the Solaris Volume Manager U. Installing a Zone Software V. Booting a Zone A. Describe redundant array of independent W. Halting a Zone disks (RAID) as related to SVM X. Rebooting a Zone B. Describe Solaris Volume Manager software Y. Uninstalling a Zone concepts Z. Deleting a Zone C. Understand RAID 0,1, 5, 0+1, 1+0 AA. Making modifications to an existing zone D. SVM volumes BB. Moving a Zone E. Soft partitions CC. Cloning a zone F. Stripes/Concatenated Stripes DD. Migrating a zone G. Mirrors EE. Backing up a zone H. RAID5 volumes FF. Zone Login I. Planning your SVM Configuration GG. Initial Zone Login J. Understand SVM Commands HH. Logging in to the Zone Console K. Understand the state database II. Logging in to a Zone L. Creating the State Database JJ. Running a Command in a Zone M. Monitoring the state database KK. Security Considerations when Using Solaris N. Recovering the state database Containers O. Create a RAID 0 Concatenated Volume LL. Introduction to Solaris Resource Manager P. Create a RAID 0 Stripe Volume MM. Resource controls Q. Monitor a volume NN. Using resource controls to contain zones R. Create a Soft Partition OO. Upgrade the Solaris 10 OS with S. Expand an SVM Volume installed Zones T. Create a Mirror PP. Patch the Solaris 10 OS with installed Zones U. Unmirroring a Non-critical File System QQ. Patch the global zone V. Placing a Submirror Offline RR. Patching nonglobal zones W. Mirroring the Root File System on SPARC based systems XXIII. Role Based Access Control (RBAC) X. Mirroring the Root File System on x86/x64 Describe RBAC fundamentals based systems A. Overview of Roles Y. Unmirroring the Root File System B. Authorizations Z. Troubleshooting SVM C. Rights profiles D. Using RBAC XXVI. Configure The NFS/AutoFS Environment E. Manage RBAC by using the Solaris A. Servers and Clients Management Console B. NFSv4 F. Manage RBAC by using the command line C. The benefits of NFS on Solaris

Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC

"Charting the Course ...

... to Your Success!" Solaris 10 System Administration Bootcamp

Course Outline (cont’d)

D. NFS Daemons R. Name service status codes E. Setting up NFS S. Local /etc files F. NFS Security T. Troubleshooting NIS G. NFS logging U. Binding problems H. Mounting a Remote File System V. Server problems I. Troubleshooting NFS errors W. DNS J. Describe the fundamentals of the AutoFS X. Configuring the DNS client file system Y. LDAP K. AutoFS Maps Z. Configure the LDAP client L. Master Map AA. Name Service Cache Daemon (nscd) M. Direct Map BB. Understanding the nscd daemon N. Indirect Map CC. The nscd.config file and attributes O. When to use Automount DD. The “nscd” command and options EE. Using the “getent” command XXVII. Introduction to LDAP A. Understand the use of LDAP as a naming XXIX. Configuring System Messaging service A. Describe the fundamentals of the syslog B. Describe basic LDAP concepts and function terminology B. Using “logger” C. Identify the Directory Server Enterprise C. Important system log files Edition requirements D. Configure syslog messaging D. Identify Solaris LDAP Client requirements E. Using the Solaris Management Console log E. Setting up the LDAP client viewer F. Modifying the LDAP client F. Monitoring Users and System Usage G. Listing the LDAP client properties G. Monitoring logins H. Uninitializing the LDAP client

XXVIII. Solaris 10 Name Services A. Describe the Name Service concept and why it is used B. Structure of the NIS Network C. Server, slaves, and clients D. Planning your NIS Domain E. Information to be Managed by NIS F. Planning your NIS master server and slaves G. Configuring an NIS Master Server H. Creating the source files I. Preparing the Makefile J. Creating custom NIS maps K. Setting Up the Master Server With ypinit L. Starting and Stopping NIS on the Master Server services M. Setting up NIS slave servers N. Setting up NIS clients O. The Name Service Switch P. Templates Q. Name service sources Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically

PT7859_SOLARIS10SYSTEMADMINISTRATIONBOOTCAMP.DOC