Solaris 10 Handbook - Solaris Handbook...

  • No School
  • AA 1
  • JusticeWaterBuffalo21662
  • 198
  • 100% (1) 1 out of 1 people found this document helpful

This preview shows page 1 out of 198 pages.

Unformatted text preview: Solaris Handbook [email protected] Version: 3 Ph: 040-23757906 / 07, 64526173 [email protected] Rev. Dt: 14-Sep-2012 Index 1. Introduction to Solaris ................................................................................................................... 5 1.1. History of UNIX................................................................................................................................................ 5 1.2. A Brief History of Sun Microsystems ............................................................................................................... 5 1.3. Working with Host ........................................................................................................................................... 6 1.4. Roles of Servers and Clients ........................................................................................................................... 7 2. Solaris Installation ........................................................................................................................ 10 2.1. Solaris Software Installation .......................................................................................................................... 10 2.1.1. The Solaris 10 OE Installation and Upgrade Options ............................................................................. 10 2.1.2. Hardware Requirements for Installation of the Solaris 10 OE ................................................................. 11 2.1.3. Solaris OE Software Groups................................................................................................................... 11 2.1.4. Pre-Installation Information ..................................................................................................................... 13 3. File Systems & Software Management ....................................................................................... 14 3.1. Directory Hierarchy........................................................................................................................................ 14 3.1.1. Root Subdirectories ................................................................................................................................ 14 3.1.2. File Components .................................................................................................................................... 14 3.1.3. File Types ............................................................................................................................................... 15 3.1.4. Links ....................................................................................................................................................... 16 3.2. Devices ......................................................................................................................................................... 17 3.2.1. Disk Architecture .................................................................................................................................... 18 3.2.2. Device Naming Convention .................................................................................................................... 20 3.2.3. Managing Devices .................................................................................................................................. 20 3.2.4. Reconfiguring Devices ............................................................................................................................ 21 3.2.5. Disk Partitioning ...................................................................................................................................... 22 3.2.6. Introducing Disk Labels .......................................................................................................................... 23 3.3. Solaris OE File Systems ................................................................................................................................ 23 3.3.1. Types of File Systems ............................................................................................................................ 23 3.3.2. UFS File System ..................................................................................................................................... 25 3.3.3. File System Maintenance ....................................................................................................................... 29 3.3.4. Monitoring File System Usage ................................................................................................................ 30 3.4. Mounting and Unmounting File Systems ....................................................................................................... 31 3.4.1. Mounting Fundamentals ......................................................................................................................... 31 3.4.2. Volume Management.............................................................................................................................. 33 3.5. Package Administration ................................................................................................................................. 34 3.6. Patch Administration ..................................................................................................................................... 39 4. Startup and Shutdown ................................................................................................................. 41 4.1. Boot PROM ................................................................................................................................................... 41 4.1.1. Boot PROM Fundamentals ..................................................................................................................... 41 4.1.2. Basic Boot PROM Commands ............................................................................................................... 42 4.1.3. Listing NVRAM Parameters .................................................................................................................... 43 4.1.4. Interrupting an Unresponsive System ..................................................................................................... 43 4.2. Perform System Boot and Shutdown ............................................................................................................ 43 4.2.1. SMF and the Boot Process ..................................................................................................................... 43 4.2.2. Run Levels.............................................................................................................................................. 46 4.2.3. SPARC Systems Boot Process .............................................................................................................. 47 4.2.4. SMF and Booting .................................................................................................................................... 51 4.2.5. Run Control Scripts ................................................................................................................................ 51 4.2.6. System Shutdown ................................................................................................................................... 53 [email protected] Version: 3 Ph: 040-23757906 / 07, 64526173 [email protected] Rev. Dt: 14-Sep-2012 5. Account Management & Security ............................................................................................... 55 5.1. What Are User Accounts and Groups? ......................................................................................................... 55 5.1.1. User Account Components ..................................................................................................................... 55 5.1.2. Where User Account and Group Information Is Stored .......................................................................... 59 5.1.3. Customizing a User’s Work Environment ............................................................................................... 67 5.1.4. Quotas .................................................................................................................................................... 71 5.2. System Security ............................................................................................................................................ 71 5.2.1. Monitoring System Access ..................................................................................................................... 71 5.2.2. Switching Users on a System ................................................................................................................. 73 5.2.3. Controlling System Access ..................................................................................................................... 74 5.2.4. ftp, rlogin, ssh ......................................................................................................................................... 76 6. Printers .......................................................................................................................................... 79 6.1. Printing Terminology ..................................................................................................................................... 79 6.2. Printing in the Solaris Operating System ....................................................................................................... 80 6.3. Administering Printers ................................................................................................................................... 81 7. System Processes & Job Automation ........................................................................................ 87 7.1. Updating System Files .................................................................................................................................. 87 7.2. System Automation with Shell Scripts ........................................................................................................... 87 7.3. Automating Commands with cron and at ....................................................................................................... 87 7.3.1. Scheduling a Repetitive System Task (cron) .......................................................................................... 88 7.3.2. Scheduling a Single System Task (at) .................................................................................................... 90 7.4. Viewing System Processes ........................................................................................................................... 91 8. Backup and Restore ..................................................................................................................... 94 8.1. Fundamentals of Backups ............................................................................................................................. 94 8.2. Types of Backups .......................................................................................................................................... 95 8.3. Types of Backup Devices .............................................................................................................................. 99 8.4. Commands for Copying File Systems ......................................................................................................... 103 8.5. Backup Device Names ................................................................................................................................ 108 9. Network Basics ........................................................................................................................... 112 9.1. TCP/IP ......................................................................................................................................................... 113 9.2. Network Services ........................................................................................................................................ 116 10. Swap, Core & Crash Files ........................................................................................................ 124 10.1. Virtual Memory Concepts .......................................................................................................................... 124 10.2. Configuring Swap ...................................................................................................................................... 125 10.3. Core Files and Crash Dumps .................................................................................................................... 125 10.3.1. Core Files ........................................................................................................................................... 125 10.3.2. Crash Dumps...................................................................................................................................... 127 11. Network File Systems .............................................................................................................. 130 11.1. NFS terminology........................................................................................................................................ 130 11.2. Remote Procedure Call (RPC) .................................................................................................................. 130 11.3. NFS Commands ........................................................................................................................................ 131 11.4. NFS Daemons ........................................................................................................................................... 133 11.5. Commands for Troubleshooting NFS Problems ........................................................................................ 135 11.6. Autofs ........................................................................................................................................................ 136 11.6.1. Autofs Features .................................................................................................................................. 136 11.6.2. Autofs Maps ........................................................................................................................................ 137 11.6.3. How Autofs Works .............................................................................................................................. 140 12. Solaris Volume Manager .......................................................................................................... 142 [email protected]shiresoft.com Version: 3 Ph: 040-23757906 / 07, 64526173 [email protected] Rev. Dt: 14-Sep-2012 12.1. Introduction to Storage Management ........................................................................................................ 142 12.2. Introduction to Solaris Volume Manager ................................................................................................... 143 12.3. Solaris Volume Manager Requirements .................................................................................................... 143 12.4. SVM Configuration .................................................................................................................................... 145 12.5. Overview of RAID-0 Volumes .................................................................................................................... 150 12.6. Overview of RAID-1 (Mirror) Volumes ....................................................................................................... 151 12.7. Overview of RAID-5 Volumes .................................................................................................................... 152 12.8. Overview of Hot Spares and Hot Spare Pools .......................................................................................... 153 12.9. Introduction to Disk Sets ........................................................................................................................... 154 13. RBAC and Syslog ..................................................................................................................... 156 13.1. RBAC ........................................................................................................................................................ 156 13.2. System Messaging .................................................................................................................................... 159 13.2.1. Syslog Function Fundamentals .......................................................................................................... 159 13.2.2. Customizing System Message Logging .............................................................................................. 159 14. Naming Services....................................................................................................................... 161 14.1. Name Service concept .............................................................................................................................. 161 14.2. Solaris Naming Services ........................................................................................................................... 161 14.3. The Name Service Switch ......................................................................................................................... 163 14.4. Domain Name Service .............................................................................................................................. 164 14.5. Network Information Service ..................................................................................................................... 169 15. Advanced Installations ............................................................................................................ 174 15.1. Solaris Containers ..................................................................................................................................... 174 15.1.1. Resource Management ...................................................................................................................... 174 15.1.2. Solaris Zones ...................................................................................................................................... 174 15.2. Custom JumpStart Introduction ................................................................................................................. 177 15.3. Solaris Flash Introduction .......................................................................................................................... 178 16. Performance Tuning................................................................................................................. 180 17. Miscellaneous ........................................................................................................................... 189 17.1. Dynamic Host Configuration Protocol ........................................................................................................ 189 17.2. Samba ....................................................................................................................................................... 192 17.3. Apache ...................................................................................................................................................... 193 Appendix .............................................................................................................................................. I [email protected]
View Full Document

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture