Oracle Solaris 11 System Administration

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Oracle® Solaris 11 System Administration covers every skill required to effectively install and administer the Oracle® Solaris 11.1 operating system in production environments. It features dozens of step-bystep “learn by example” procedures, demonstrating how to apply complex solutions in real-world data center environments. Author Bill Calkins has administered and taught Oracle Solaris and its predecessors for more than twenty years. He also helped develop the newest Oracle Certified Associate (OCA) and Oracle Certified Professional (OCP) exams, which raise the bar for Solaris certification. This guide covers every new 1Z0-821 exam topic in detail and also covers many 1Z0-822 exam topics. Calkins also reviews the changes that system administrators will face when upgrading to Solaris 11.1 and presents new ways to perform familiar tasks on both SPARC and x86 hardware. You’ll learn how to Install the Solaris 11 Operating Environment with Live Media or Text Interactive installers Install, manage, and update software with the Image Packaging System and IPS repositories Understand, customize, and troubleshoot SPARC and x86 boot processes from system power-up to loading the OS (including coverage of ILOM, OpenBoot, and GRUB 2) Administer and create services through the service management facility (SMF) Configure system messaging using SMF notifications, syslog and rsyslog Configure and administer ZFS storage pools, including ZFS on the boot drive, local disks, LUNs, and a SAN Configure and manage ZFS file systems: encryption, redundancy, snapshots, clones, network sharing, monitoring, device replacement, and legacy UFS migration Create, migrate, contain, and administer zones, including solaris10 branded and immutable zones Use RBAC to create custom rights profiles and grant special privileges Manage and monitor system process scheduler (including FSS process schedulers and proc tools) Configure Solaris networking and network services, including Reactive and Fixed Network Configurations, VNICs, and Virtual Networking A companion website (unixed.com/solaris11book.html) includes new 1Z0-821 and 1Z0-822 study strategies and self-assessment exams.

Author(s): Bill Calkins
Publisher: Prentice Hall
Year: 2013

Language: English
Pages: 1689

Preface xix
Acknowledgments xxv
About the Author xxvii

Chapter 1: Installing Oracle Solaris 11 1
Preparation for Installing the OS 1
Using the Live Media Installer 11
Using the Interactive Text Installer: x86 23
Using the Interactive Text Installer: SPARC 33
Verifying the Operating Environment 42
Upgrading from a Previous Version of Oracle Solaris 55
Changing an Oracle Solaris Instance 56
Updating the OS 61
Summary 61

Chapter 2: Managing and Updating Software with IPS 63
Understanding IPS 64
Installing and Managing Packages 70
BEs 93
Update the OS 109
Summary 120

Chapter 3: Boot and Shutdown Procedures for SPARC and x86-Based Systems 121
The Boot Process: SPARC 121
The OpenBoot Environment 124
Booting a SPARC System 155
Booting an x86-Based System 166
The Boot Archive 174
The Kernel 177
The init Phase 182
SMF 183
Create SMF Manifest and Profiles 213
System Shutdown 229
syslog 237
rsyslog 242
Summary 244

Chapter 4: Administering Storage Devices 245
Instance Names 255
Major and Minor Device Numbers 257
Logical Device Names 258
A File System Defined 263
Defining a Disk’s Geometry 264
Disk Slices 267
Administering LUNs 285
Summary 287

Chapter 5: Administering ZFS File Systems 289
Introduction to ZFS 290
ZFS Hardware and Software Requirements 294
ZFS System Process 294
ZFS RAID Configurations 294
Creating a Storage Pool 295
Creating a ZFS File System 298
Renaming a ZFS File System 304
Listing ZFS File Systems and Storage Pools 304
ZFS Components 312
Encrypting ZFS File Systems 314
Removing a ZFS File System 317
Removing a ZFS Storage Pool 320
Adding Storage Space to a ZFS Storage Pool 322
Mirrored Storage Pools 323
RAID-Z Storage Pools 324
Attaching and Detaching Devices in a Storage Pool 327
Taking Devices in a Storage Pool Offline and Online 332
ZFS History 333
ZFS Properties 334
Mounting ZFS File Systems 344
Sharing ZFS File Systems 349
ZFS Snapshots 349
ZFS Clones 357
zpool scrub 359
Replacing Devices in a Storage Pool 360
The ZFS Root File System 368
Monitoring ZFS 375
Migrate Legacy File Systems to ZFS 378
Summary 381

Chapter 6: Administering Zones 383
Oracle Solaris 11 Enhancements 385
Consolidation and Resource Management 385
Oracle Solaris Zones 386
Non-global Zone Root File System Models 390
Networking in a Zone Environment 392
Planning the Zone 393
Zone Service Instances and Daemons 394
Configuring a Zone 395
Viewing the Zone Configuration 409
Administering Zones: zoneadm 411
Log In to a Zone: zlogin 421
Using ZFS for Oracle Solaris Zones 425
Zone Resource Controls 429
Create an Exclusive-IP Zone 433
Create a Shared-IP Zone 447
Migrate an Oracle Solaris 10 Global Zone to Oracle Solaris 11 (P2V) 450
Back Up a Zone 453
Recover a Zone 454
Delegated Zone Administration 455
Summary 455

Chapter 7: User and Security Administration 457
Administering User Accounts 457
Managing User and Group Accounts from the Command Line 460
Setting Up Shell Initialization Files 469
The Home Directory 475
Projects 476
Name Services 477
System Security 477
RBAC 487
Controlling File Access 503
Auditing Users 515
Controlling Network Security 522
The Secure Shell (ssh) 533
Common-Sense Security Techniques 538
Summary 539

Chapter 8: Managing System Processes 541
ps 543
pgrep 547
prstat 549
top 556
mpstat 557
ptree 559
time 559
svcs 560
Proc Tools and /proc 560
Process Types 562
Using Signals 565
Scheduling Processes 569
Using the Oracle Solaris Batch-Processing Facility 575
Configure System Core Files 581
Configure System Crash Dumps 584
Summary 587

Chapter 9: The Oracle Solaris Network Environment 589
Client/Server Model 589
Network Interface 592
Fixed Network Configuration 592
Reactive Network Configuration 606
Configuring Additional Network Services 609
The System Hostname 613
Virtual Networking 615
Checking the Network 621
Network Services 624
Summary 629

Chapter 10: Network File Systems 631
NFS Overview 631
NFS Version 4 632
Sharing a File System 635
ZFS Sharing within a Non-Global Zone 643
Mounting a Remote File System 644
Changing the NFS Version 649
AutoFS 650
Mirror Mounts 666
Troubleshooting NFS Errors 667
Summary 669

Index 671