Sei sulla pagina 1di 227

1 Copyright © 2012, Oracle and/or its affiliates.

All rights Insert Information Protection Policy Classification from Slide 7


reserved.
Solaris 11 Implementation Specialist Bootcamp
rev 2.2 – Sept 2014

2 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Overview

• Two day Solaris 11 Implementation


Engineer training bootcamp
• Recommended for previously certified
individuals or highly experienced with
Solaris.
• Prepare for Oracle Solaris 11
Implementation and Configuration
essentials exam
• Lecture + Labs
• Requires a Laptop with VirtualBox

3 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Program Agenda

• Introduction
• Solaris 11 Overview
• Installation
• Advanced Installation
• Boot and Shutdown
• File Systems and Storage
• Software Management
• Networking
• Virtualization

4 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Labs

• Advanced Installation
• File Systems and Storage
• Software Management
• Networking
• Virtualization

5 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Module 1 - Introduction

6 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Solaris 11 Bootcamp Logistics
• 2 days
• 9:00 am – 5:00 pm
• 15 minute breaks
• 1 hour lunch
• Lecture
• Self directed labs
– Brief overview
– Self directed lab – complete at your own pace
– Instructor to facilitate issues or questions
• Lab workbook
• All files necessary available on flash disks
– Please return flash disks to instructor!
• Sign in Sheet
7 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Why are we here?

• To pass the Implementation and Installation Specialist


Exam for Oracle Solaris 11
• Oracle Solaris 11 Implementation Specialist
– Valuable certification that counts towards Specialization
• Exam – 1Z0-580 – Oracle Solaris 11 Installation and
Configuration Essentials
– 120 minutes
– 74 questions – multiple choice
– 67% passing score
– Purchase a voucher
– Register your voucher at Pearson VUE for an exam time

8 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
What does the exam cover?

• Learner level vs Practitioner level questions


• Not a beginners test
• Exam Coverage Topics
– Overview of Solaris 11
– Basic and advanced installation
– System boot and shutdown – x86 and SPARC
– File systems and storage management
– Virtualization
– Networking
• Download the exam study guide
• Exam guide has pointers to study resources like on-line
trainings and documentation

9 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
How do I pass the exam?

• Know Oracle Solaris 11


• Have a solid foundation in Solaris or Unix
• Prior Solaris certification is a big plus
• Use the Installation Essentials Exam Study Guide
• Focus is mainly on what’s new in Solaris 11
• Use the GLP (Guide Learning Path)
– More courses being added soon – all on-line
• Use VirtualBox/Solaris 11 to Practice! Practice! Practice!
• Take a class if you can
– OU – Transition to Oracle Solaris 11 – 5 day ILT
– OU – Advanced Systems Administration – 5 day ILT

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Other training information
• Sales and Presales GLP
– On-line training with on-line exam
– Presales GLP is a prerequisite for this bootcamp
– Counts towards Specialization
• How-to’s and HOL’s online on Oracle.com
• Specialization for Partners
– Take the OU exam for Oracle Solaris 11 classes
– Associate or Professional
– Take the OPN Certified Implementation Specialist exam
• OU offers ILT, LVT, and custom courses
– Continue to improve your skills and stay marketable in the
industry

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Q&A

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Module 2 – What’s New in Solaris 11

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
23 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
24 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
25 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
26 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
27 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
28 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
29 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
30 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
31 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
32 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
33 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
34 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
35 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
36 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
37 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
38 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Module 3 - Oracle Solaris 11 Installation Basics

39 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Module Agenda

• Pre Installation
• Live Media Overview
• Installing with the Text Installer
• AI Installs that boot from Media
• AI Installs of Multiple Clients
• SCI Utility

40 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Pre Installation

41 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Obtain Oracle Solaris 11 Software

• Access the Oracle Solaris 11.2 Downloads page


• http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html?ssSourceSiteId=ocomen

• Accept the OTN License Agreement


• Live Media, TextInstall, AI, VirtualMachine, Repositories
• Copy the ISO to removable media
– CD
– DVD
– Flash Drive
• Save the ISO and run it in a virtual machine
• Make sure your system meets the minimum requirements
– http://docs.oracle.com/cd/E23824_01/html/E23811/glmru.html#glmuu

42 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Setting Up Partitions

• Use the entire disk or a partition


• X86 Installer uses GRUB
• Boot multiple operating systems
– Supports Multiboot Specification
• For GUI or Text Installations
– You can select, create, or modify partitions during install
• For Text Install only
– You can also select, create, or modify VTOC slices

43 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Partitioning the Hard Disk

Partitioning Option Description


Use existing Solaris partition Installs on the existing Solaris partition

Create new Solaris partition Select a primary partition and change it’s type to
Solaris. Erases the existing contents
Increase space for Solaris partition If space is available, you can increase the size
that is allocated to a Solaris partition before
installing
Install on different primary partition Change existing Solaris partition to ‘unused’,
then select another partition and change it’s type
to Solaris. Both partitions will be erased.
Create new Solaris partition in Change existing Solaris partition to unused then
extended partition create an ‘extended’ partition labeled as a Solaris
partition
Delete an existing partition Delete an existing partition by changing its type
to Unused. The partition will be destroyed and
it’s space made available to the system.

44 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Device Drivers

• Are your devices supported?


– Check out the HCL
– http://www.oracle.com/webfolder/technetwork/hcl/index.html
– Oracle Device Detection Tool
– http://www.oracle.com/webfolder/technetwork/hcl/hcts/device_detect.html
– Device Driver Utility
• Run from the Live Media

45 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Mini Lab
Live Media Install

46 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Starting Your Live Media Installation - Overview

• Default settings:
– Automatic DHCP and DNS
– Automatic networking enables IPv6 auto configuration
– NFSv4 domain is dynamically derived
• Insert media and boot the system
• GRUB menu will be displayed
– If your graphics card isn’t supported, you’ll automatically go to a
text based install
• Asked for login? User = jack, password = solaris
• Make keyboard and language selections
• Double click the ‘Install Oracle Solaris’ icon

47 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installation Selections - Overview

• In the Welcome panel, select ‘Next’


• Choose your disk or modify the partition layout
• Select the target time zone
• Adjust date and time
• Enter a user name and password
– This user account will have administrative privileges
– The root password will default to the above user password
• Type a computer name
• Screens will present a summary
• Installation begins

• Do not interrupt an installation in progress. Indeterminate state may result.

48 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Live Media Start Screen

49 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Choose your keyboard layout …

50 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Choose your language …

51 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Solaris running in memory …

52 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Device Driver Utility …

53 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
GParted, partition your disk if necessary …

54 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Choose the ‘Install Oracle Solaris’ icon …

55 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Ready to start the installation …

56 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Review the release notes first …

57 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Disk discovery …

58 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Choosing where to install Solaris 11 …

59 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Choosing where to install Solaris 11 …

60 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Choose your time zone, date, and time …

61 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Add a user, and name your system …

62 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Register or sign in for Oracle Support …

63 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Review the settings …

64 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Installation Proceeds …

65 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Install complete …

66 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Check the install log in case there are any issues …

67 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Instance is ready after a reboot …

68 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Login …

69 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Password

70 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with Live Media
Ready to get to work …

71 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Mini Lab
Text based Install

72 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer - Overview

• Live Media appropriate for desktop or laptop


• Text Install appropriate for general purpose Server
– No Gnome/Desktop environment
• Networking with Text Installer
– Automatic – Automatic NCP similar to Live Media method
– Manually – DefaultFixed NCP – static IPv4 configuration
– None – DefaultFixed NCP – loopback interface only
• Familiar steps to install …
– Download the image
– Copy it to media
– Check your system requirements
– Insert the media and boot the system

73 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Choose your keyboard layout …

74 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Choose your language …

75 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Choose 1 to install Oracle Solaris 11 …

76 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Welcome screen, hit F2 to continue …

77 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Disk discovery method

78 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Partition your disk …

79 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Entire disk or partition selection …

80 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
System name …

81 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Network Configuration …

82 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Manual network configuration …

83 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Name services selection

84 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Name services selection details …

85 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Further name services selections …

86 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Further name services selections …

87 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Time zone …

88 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Default Language Support

89 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Language Territory

90 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Date and Time

91 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Keyboard Selection

92 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Add root password and default user …

93 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Sign in or sign up for support

94 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Review your settings …

95 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Install proceeding …

96 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Success!

97 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Instance ready to boot …

98 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Installing with the Text Installer
Log in and get to work …

99 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
reserved.
Automated Installs (AI)
booting from media

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Installing using AI Media - Overview

• Initiate installation on SPARC or x86 by using media


rather than booting over the network if that’s not
desirable for whatever reason.
• Utilize CD, DVD, or USB media
• Hands free installation of that particular system
• Don’t need to set up an install server or service
• Don’t need to boot over the network
• System will need network access to retrieve required
software from the repo

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Installing using AI Media

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Installing using AI Media

• Check your requirements – Solaris 11 Release Notes


• Access to following resources:
– DHCP server for network configuration info
– IPS repository containing the necessary packages
– If using a custom manifest, an http server to house it
• Download the AI boot image
• Review the default manifest
• Create bootable media
– SPARC and x86 ISO images – burn the image to a CD or DVD
– X86 USB images – use the usbcopy utility
• Boot from the media
• Provide info via the SCI Tool panels

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Using a Custom AI Manifest

• Use the default or create your own


• Store it on an http server
• Provide the location when you boot the system to be
installed
• Don’t need to specify if using the default manifest

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Using a Custom AI Manifest

• SPARC System example:


– ok boot cdrom – install aimanifest=prompt
– Enter the URL for the AI manifest [HTTP, default]:
– You type – http://example.com/custom.xml
• X86 will boot from the GRUB menu

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Using a Custom AI Manifest

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Automated Install (AI)
multiple clients

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
AI With Multiple Clients - Overview
• AI can install Oracle Solaris 11 on multiple client
systems over a network
• Hands free installation of both SPARC and x86
• Clients can be customized
– Disk layout
– Software selection
– Hostname, network config, user accounts
• Scaled for large environments

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
AI With Multiple Clients
What is an Automated Installation?

• Client boots over the network


• Install Server provides boot image to the client
• Installation instructions followed according to type of
client
• Oracle Solaris 11 is installed on the client
• Packages are pulled from the repository according to
instructions provided in the AI Install Service

10 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
AI With Multiple Clients
Requirements

• DHCP
• AI Install service on an AI server
– DHCP and AI server can be on the same machine
• Available repository
– Net boot install image is not complete, will need to access a repo
to install a full image
• Each type of machine needs it’s own service
– SPARC vs x86
• AI Manifests can be used to differentiate client details in
similar OS installs

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
AI With Multiple Clients
System Configuration Instructions

• For parameters like time zone, user accounts, and


networking
• Use an SMF system configuration profile
– sysconfig create-profile –o sc.xml
• Use installadm create-profile to validate the profile

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
AI With Multiple Clients
Provide a local IPS Package Repository

• Local repository will improve performance


• Make a local copy
– pkgrecv -s http://pkg.oracle.com/solaris/release/ -d
/export/repoSolaris11 '*'

• Customize the AI Manifest to specify the new repo as


the default
• Customize the default-arch install service

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
AI With Multiple Clients
Custom First Boot Script

• To add configuration options that can’t be expressed in


an AI Manifest or System Configuration profile
• Script runs at first boot of client
– Create a script
– Create a run-once SMF Service to run the script
– Create an IPS package for the service and the script
– Add the package to the local IPS Repository
– Make the repository accessible to client systems
– Customize the AI Manifest to specify the new repository and
specify the new package to be installed
– Run the installadm update-manifest command to
replace the default AI manifest

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Using the SCI Utility

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Using the SCI Utility

• The interface for configuring, unconfiguring, and


reconfiguring a Solaris instance
• Interactive or noninteractive
• Use for newly created non-global zones or unconfigured
systems
• # sysconfig
– unconfigure
– configure
– create-profile –o <profile_name.extension>

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Using the SCI Utility

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Using the SCI Utility

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Using the SCI Utility

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Using the SCI Utility

11 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Using the SCI Utility

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
What We Learned

• Live Media Overview


• Installing with the Text Installer
• AI Installs that boot from Media
• AI Installs of Multiple Clients
• SCI Utility

Next Steps

• Advanced Installation Lab

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Module 4 – Advanced Installation Lab Overview

12 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Module Agenda

• System Shakedown
• Section 4 lab overview
• Lab

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
System Shakedown

• Take a few minutes to make sure everyone is up and


running according to plan!
• 15-30 Minutes allotted – we’ll get started as soon as
everyone is up and running.
• Requirements outlined on the next 3 slides

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Hardware System Requirements

• Laptop that supports Virtualization


– Intel VT-x
– AMD – AMD-v
– Usually needs to be enabled via the systems BIOS
– Check your BIOS to be sure
• At least 4GB of memory please!
• 30 GB or more diskspace
• USB port
• No external networking required

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Software System Requirements
• VirtualBox 4.3 Windows
• Oracle VM Extension Pack 4.3
• Solaris ISO Images
File Type File Name
Text Install sol-11_2-text-x86.iso
Solaris Repository sol-11_2-repo-1of4.zip
sol-11_2-repo-2of4.zip
sol-11_2-repo-3of4.zip
sol-11_2-repo-4of4.zip
Install Script Install-repo.ksh
MD5 Checksums sol-11_2-md5sums.txt
• All files available from Instructor on USB Flash Disk
• Please return the Flash Disk!
13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
VirtualBox Install and Image Install
• VirtualBox Hypervisor installation and configuration
– Starts on page 3 of the lab guide
– Exercise 5.1
• Install VirtualBox
• Install and configure the text based Solaris 11 instance
– Sol-11_2-text-x86.iso
– Page 7
• Start the server once it’s installed – page 9
• Basic configuration – page 10
• Boot from hard disk – page 17
• Start the lab
– Exercise 5.4 – page 17

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Let’s get started!

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Advanced Installation Lab
What you’ll be learning

• Automated Installation (AI) basics


• System Configuration Tool (SCI Tool)
• System Configuration Profiles
• Boot environments
• Image Packaging System (IPS)

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Lab Overview

• Set up Oracle Solaris 11 in VirtualBox


• Configure an IPS Repository
• Install software from the IPS repository
• Create boot environments as backups
• Configure the IPS repository as a network service
• Create an Install Service on your server
• Install a client from your install server
• Customizing the AI Manifest
• Boot the client with a customized AI Manifest
• Further client customizations
• Log file locations

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Oracle Solaris 11 Commands Used In This Lab
• svcadm
– Issues requests for actions on services within SMF
• pkg
– Image Packaging System retrieval client
• beadm
– User interface for managing ZFS Boot Enviroments (BE)
• dladm
– Administer network data-links
• svccfg
– Manipulates data in the service configuration repository
• installadm
– Automated Installer configuration utility
• sysconfig
– Interface for configuring and unconfiguring a Solaris instance

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Logistics

• Lab should take approximately 3 hours


• Ask questions!
• Feel free to experiment once you’ve completed the lab
• Make sure you’ve done a backup before you change
anything major.
– beadm create backup1
• We’ll do a wrap up after the lab

13 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Module 5 - Oracle Solaris 11 Boot and Shutdown

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Module Agenda

• Introduction
• SPARC OBP Overview
• X86 BIOS Overview
• Boot phases
• GRUB Menu
• Booting the System
• Troubleshooting Boot
• Q&A

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Introduction

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
System Overview
• OBP = Open Boot Prom
• BIOS = Basic Input Output System
• OBP and BIOS is where the OS interacts with the
hardware.

Modern Sun CPU Architecture names for reference


Name Description
Sun-4u 64-bit UltraSPARC (V9)
First used in Sun Ultra Series
Sun-4u1 E10K (starfire) 64 way multiproc architecture
Sun-4us Variant of 4u specific to Fujitsu Primepower
Sun-4v Variant of 4u which includes hypervisor virtualization

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
SPARC OBP

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Features of OpenBoot Prom
• Test and initialize system hardware
• Determine the hardware configuration
• Boot the operating system
– Mass storage
– Network
• Interactive debugging facilities
• Processor independent design

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
OpenBoot Prom Features
• Plug in device drivers
– Used to boot the O/S from a specific device
– Enables devices to change without prom changes
• FCode interpreter
– Machine independent language
– Drivers written in Fcode
• Device tree
– Data structure describing the devices
• Programmable user interface
– Forth code

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Device Path Overview
• Device tree overview
– Data structure describing the hardware devices attached to the
system
– Users and the O/S can determine the hardware configuration from
inspecting the device tree
– Representation of the physical interconnected busses on a system
– Ex: pci@1f,0/network@c,1
• Device path names
– Device name
• Human readable string
–@
• Must precede the address parameter
– Unit address
• Physical address of the device
– Device arguments

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Device Aliases
• Shorthand representation of a device path
• Systems usually have predefined aliases for commonly
used devices
– disk
– net
• devalias command
– Examine, create, and change device aliases
• Display all current device aliases
– devalias
• Display the device path corresponding to an alias
– devalias alias
• Define an alias
– devalias alias device

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Mini Lab
BootPROM Overview
• Login to the service processor (SP) to take a look at some
basic parameters.
ok printenv

14 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Mini Lab
BootPROM Overview
• Check basic information contained in the boot prom.
ok printenv auto-boot?
ok printenv boot-device
ok printenv boot-command

• Auto-boot?
– Checks whether the system will boot automatically or not
• Boot-device
– Which device the system will boot to
• Boot-command
– The default boot command and any provided options

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Mini Lab
BootPROM Overview

• Set the parameters to boot from the network..


ok show-devs /pci/

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Mini Lab
BootPROM Overview

• Devices are tedious


• Change device names to something easy with
‘devalias’ command

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Mini Lab
BootPROM Overview

• Look at specific devices


# devalias net3

• Use this command to alias a device name to a


usable device in the system
# nvalias net3 /pci@7c0/pci@0/pci@2/network@0,1:dhcp
# devalias net3

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Mini Lab
BootPROM Overview

• Check the boot device order


ok printenv boot-device
ok disk net
• Run devalias and identify the boot devices
ok devalias
• Which ones are the boot devices?

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
X86 BIOS

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
X86 BIOS Main (X2-8 / X4800)

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
X86 BIOS Boot (X2-8/ X4800)

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
X86 BIOS Boot Settings (X2-8/ X4800)

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
X86 BIOS Boot Device Priority (X2-8/ X4800)

15 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
X86 BIOS Overview
• Access BIOS Setup by pressing F2 key during POST
– Use left, right, and tab keys to navigate
– Contains help menus
• BIOS can be upgraded through ILOM

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Boot phases

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Booting Your System

• Main function of OpenBoot is to boot your system


• Process controlled by a number of configuration variables
– auto-boot? – whether or not to boot automatically
– boot-command – which command should be executed?
– diag-switch - sets whether to run diagnostic mode
– boot-device – name of the default boot device
– boot-file – boot arguments when not in diagnostic mode
– diag-device – default diagnostic mode boot device
– diag-file – diagnostic mode boot arguments

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
SPARC Boot Phases
• Open Boot PROM phase
– OBP
– Boot block is loaded into system memory
• Boot phase
– Boot archive is read and executed
– Relies on boot file system format (disk, NFS, http)
• Ramdisk phase
– Contains kernel modules and components to boot Solaris 11
• Kernel phase
– Final stage of the boot process
– Root filesystem is mounted on the ramdisk
– For installation, the ramdisk remains mounted
– If not, it extracts the remaining primary modules from the boot
archive and mounts the real root filesystem

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
X86 Boot Phases
• BIOS phase:
– BIOS initializes the CPU, memory, and platform hardware
• Boot Loader phase
– First software that runs when you turn on a system
– Loads from the configured boot device
– Starts the boot process
• GRUB is the boot loader on Oracle Solaris
– Grand Unified Boot Loader
– Responsible for loading a boot archive into system memory.
– Boot archive is a collection of critical files needed during system
startup
– Run from configuration file – menu.conf
– Solaris kernel is fully compliant with the Multiboot Specification.

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
SPARC Boot Phase Example
• To watch the boot process of a SPARC system you
can use the boot –v option from the OpenBoot
prom console.
ok boot -v

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
SPARC Boot Phase Example
• You can also get the information after the system has
booted by using the dmesg command
# /usr/sbin/dmesg | more

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
x86 Boot Phase Example
• Here’s an example from an x86 system
# /usr/sbin/dmesg | more

• The information contained in the boot –v and dmesg


output is several pages long, these are shortened
examples.
• Pipe the output to a file and use your favorite editor to
look for information in this file.

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
GRUB Menu

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
GRUB Menu
• Grand Unified Bootloader
• Developed and supported by the Free Software
Foundation
• Highly Portable
• Variety of user interfaces
• Supports O/S’s that don’t support Multi-Boot by ‘chain-
loading’
• Default boot loader on Solaris x86
• Loads boot-archive into system memory
• Solaris specific GRUB utilities
– Bootadm – manage the boot archive and change GRUB
– Installgrub – loads the boot program from disk

16 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
GRUB Components
• Stage1 – image on the first sector of the fdisk partition.
• Stage2 – image installed in the reserved area of the fdisk
partition
• Menu.conf file - <pool-name>/boot/grub directory.
• Menu.conf is read by stage2.

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
GRUB Menu Example

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Mini-Lab
Using bootadm to change the GRUB menu

• Locate the GRUB menu on your system


• # bootadm list-menu

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Mini-Lab
Using bootadm to change the GRUB menu
View the current contents of menu.conf
# cat /rpool/boot/grub/menu.conf (output
truncated)

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Mini-Lab
Using bootadm to change the GRUB menu

• Create a new boot environment and call the new


environment ‘solaris2’
# beadm create solaris2
# bootadm list-menu

The second entry (1) was added automatically by the beadm command

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Mini-Lab
Using bootadm to change the GRUB menu

• Use the bootadm command to change the menu default from


(0) ‘Oracle Solaris’ to (1) ‘solaris2’
# bootadm set-menu default=1
# bootadm list-menu

Note the number by the default item has changed from 0 to 1

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Mini-Lab
Using bootadm to change the GRUB menu

• Using bootadm has also influenced the current boot order.


We can verify this by using the beadm list command:
# beadm list

solaris is the current environment ‘N’ and solaris2 will be active on reboot ‘R’
You can change it back to the default with # beadm activate solaris
17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Booting the system

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Boot Commands
• Default boot
– boot – (options – init level or milestone)
– boot –m milestone=milestone
• System reset
– ok boot –r
– ok reset-all
– # sync; reboot
– # init 6
• Useful milestones
– none (Useful for debugging – manual service start)
– all
– single-user
– multi-user
– multi-user-system

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Fast Reboot - SPARC

• Managed by SMF on SPARC systems


• svc:/system/boot-config
– fastreboot_default=true

• Default = false
• Only available on certain systems
• On sun4v systems fast reboot is unnecessary
– Hypervisor restart not involving POST

17 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Fast Reboot – x86

• Managed by SMF on x86 systems


• svc:/system/boot-config
– fastreboot_default=true

• Default is true
• Bypasses the firmware and boot loader processes
• Utilized by the ‘init 6’ command
• To boot a system normally when fast boot is
enabled
– reboot -p

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Run Levels and Milestones

• Both describe what services and resources are


available to users
• Move to SMF encourages use of milestones vs
run-levels
• Run levels are based on init
• Milestones are based on SMF

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Milestones

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Run Levels

Run Init State Type Purpose


Leve
l
0 Power Down Power-Down Shut down the O/S, safe to turn off power

S or S Single User Single-user Some file systems mounted and accessible

1 Administrative Single-user All file systems available, user logins disabled

2 Multiuser Multiuser Normal operations, all daemons running except NFS

3 Multiuser NFS shared Multiuser Normal operations, NFS shared. Default run level

4 Alternative Multiuser Multiuser Available for customer use

5 Power-Down Power-down Shut down the O/S, safe to power off. Auto power
off
6 Reboot Reboot Shut down system to run level 0, then reboot to
default run level

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Run Levels vs SMF Milestones
• The table below shows which milestones
correspond to which run-levels

Run Level Milestone


S Milestone/single-user:default
2 Milestone/multi-user:default
3 Milestone/multi-user-server:default

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Network Boot
• Client knows it’s MAC but needs an IP address
• Uses TFTP to transfer from the network via …
– dhcp
– bootp
– Rarp
• Bootprom uses bootparams file to obtain boot parameters
• ok boot <full_path_to_network_device>
• Ex: ok boot /pci@7c0/pci@0/pci@2/network@0,1
• DHCP offers the most flexibility
• For network boot you can supply options directly …
– boot - <path> :dhcp|bootp server=ip, boot filename, client-ip, router-
ip, boot-retries,tftp-retries, subnet-mask

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Boot Troubleshooting

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Boot Process Hangs
• ok boot –m milestone=none
– Manually start services and see if you can figure out which one’s
causing the problem
• ok boot –m verbose
– Will print a line of information when each service is started
• Run svcs –a to determine service state
• Check /var/svc/log for error messages

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Single User Mode

• Resolve a bad root shell


• Resolve password problems
• Troubleshoot driver failures
• Troubleshoot application issues
• Troubleshoot network issues

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Mini Lab
Bringing an x86 system to single user

• Stop or reboot the system


• Select the boot item from the GRUB menu

18 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Mini Lab
Bringing an x86 system to single user

• Type ‘e’ to edit the menu item

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Mini Lab
Bringing an x86 system to single user
• Cursor down to the boot command
• Enter ‘-s’ for single user
• Press <CTRL-X> or F10 to boot

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Mini Lab
Bringing an x86 system to single user

• System should be in single user

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Boot From Media – Live Media

• Boot and use a GNOME terminal for recovery

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Boot From Media – Text Install

• Select option 3 – text shell from the GRUB boot


menu

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Boot From Media - AI

• Automated Installation
– PXE boot from the network, then select a shell

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Mini Lab
Recover the Root Password (1)
• Import the root pool
# zpool import –f rpool

• Create a mount point


# mkdir /a

• Mount the boot environment


# beadm mount solaris-2 /a

• Set the TERM type


# TERM=vt100
# export TERM

• Edit the shadow file


# cd /a/etc
# vi shadow

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Mini Lab
Recover the Root Password (1)
• Unmount the boot environment
# beadm unmount solaris-2

• Halt the system


# halt

• Reboot into single user mode


• Reset the root password
# passwd –r files root
New password: xxxxxx
Re-enter new Password: xxxxxxx

• Reboot the system

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Correct Problems With menu.conf File

• Import the root pool


# zpool import –f rpool

• Examine the menu.conf file


– # cd /rpool/boot/grub
– # vi menu.conf

• Exit the shell and reboot the system

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Force a Crash Dump

• Kernel Debugger
– Kmdb prompt from F1-A
• or
• # halt -d

19 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
AI Client Boot Load Failure

• AI Client fails when downloading the boot archive


• Indicates that DHCP client is incorrectly configured
• Error can occur if another DHCP server interferes
• Use in.dhcpd –dv to run dhcp daemon in debug
mode
# /usr/lib/inet/in.dhcpd -dv

Rebooting with command: boot net:dhcp - install


Boot device: /pci@7c0/pci@0/network@4:dhcp File and args:
1000 Mbps FDX Link up
HTTP: Bad Response: 500 Internal Server Error
Evaluating:

Boot load failed

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Module Summary

• Introduction
• SPARC OBP Overview
• X86 BIOS Overview
• Boot phases
• GRUB Menu
• Booting the System
• Troubleshooting Boot
• Q&A

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Module 6 – File Systems and Storage Lab Overview

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
File Systems and Storage
What you’ll be learning

• The ZFS File System


• Zpools
• Vdevs
• Datasets
• Snapshots and clones
• ZFS Properties
• ZFS Updates

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Lab Overview

• VirtualBox should be running already


– Import and configure the pre-built Oracle Solaris 11 VM Image
– Configure virtual SAS disks in your VM Image
– Configure Solaris 11.2
• Create and destroy ZFS pools
• Add capacity to a pool
• Import and export pools
• Exploring pool properties
• Upgrading pools

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Lab Overview

• Split ZFS mirrors using the split command


• Working with Datasets
– Hierarchical datasets
– Properties
• Quotas and reservations
• Zvols
• Snapshots and clones
• Compression

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Oracle Solaris 11 Commands Used In This Lab

• format
– Format, label, repair, and analyze disks on your system
• zpool
– Configures ZFS storage pools. Pool is a collection of devices that
provide physical storage
• zfs
– Configures datasets within a ZFS storage pool.

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Logistics

• Lab should take approximately 1 and ½ hours


• Don’t forget to create the virtual disks in VirtualBox
• Ask questions!
• Feel free to experiment once you’ve completed the lab
• Make sure you’ve done a backup before you change
anything major.
– beadm create backup1
• We’ll do a wrap up after the lab

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Module 7 – Software Management Lab Overview

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Solaris 11 Software Management
What you’ll be learning

• Image Packaging System Basics


• IPS command line overview
• How to configure a repository
• Installing and uninstalling packages
• Getting information about packages
• Searching for packages
• Package manifest basics

20 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Lab Overview

• Use AIServer instance


– This lab will use the AIServer VirtualBox instance created in
module 4, the first hands on lab
– Requires that the repo be installed and configured per the
instructions in the lab
– sol-11_2-text.x86.iso
• Repository basics
• Install and uninstall packages
• Getting information about packages
• Updating the system
• Package Dependencies

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Oracle Solaris 11 Commands Used In This Lab

• pkg
– Retrieval client for the Image Packaging System
• pkgrepo
– Provides the ability to create and manage package repositories
• beadm
– User interface for managing ZFS boot environments.

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Logistics

• Lab should take approximately 1 hour


• Ask questions!
• Feel free to experiment once you’ve completed the lab
• Make sure you’ve done a backup before you change
anything major.
– beadm create backup1
• We’ll do a wrap up after the lab

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Module 8 – Networking Lab Overview

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Oracle Solaris 11 Networking
What you’ll be learning

• Network Configuration Profiles


• Manual network configuration in Solaris 11
• SMF network services configuration

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Lab Overview

• VirtualBox should be running


– This lab will use the AIClient image we created in lab number 1.
– Create 4 virtual network interfaces
• Planning the network deployment
• Network command basics
• Network configuration profiles
• Displaying and configuring link interfaces
• Configuring Name services using SMF

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Oracle Solaris Commands Used In This Lab

• netadm
– Administers network profiles and interacts with the NWAM daemon
• dladm
– Administers data-links
• ipadm
– Manages network interfaces, addresses, and TCP/IP protocol properties
• svccfg
– Manipulates data in the service configuration repository. Can be
invoked interactively, with a single command, or within a script
• svcadm
– Issues requests for actions on services within SMF

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
Logistics

• Lab should take approximately 1 hour


• Ask questions!
• Feel free to experiment once you’ve completed the lab
• Make sure you’ve done a backup before you change
anything major.
– beadm create backup1
• We’ll do a wrap up after the lab

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.
Section 9 – Virtualization Lab Overview

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
8 reserved.
Oracle Solaris 11 Virtualization
What you’ll be learning

• Basics of zones
• How to set up a zone
• How to install a zone
• How to set up a zone with a single command
• How to set up a zone by cloning another zone
• How to destroy a zone

21 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
9 reserved.
Lab Overview

• VirtualBox should be running


– This lab will use the AIServer VirtualBox Instance
– sol-11_2-text-x86.iso
– We will also utilize the installed Repository for our zone installs
• Create a zone called ‘testzone’
– Configure and install ‘testzone’
• Create another zone called ‘webzone-1’
– Using a single command
– Configure and install ‘webzone-1’
• Create another zone called ‘webzone-2’
– Using ZFS cloning technology
• Optionally – Uninstall the zones

22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
0 reserved.
Oracle Solaris 11 Commands Used In This Lab

• zonecfg
– Creates, modifies, and lists the configuration of a zone
• zoneadm
– Administers system zones.
• zlogin
– Used to enter an operating system zone.

22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
1 reserved.
Logistics

• Lab should take approximately 1 hour


• Ask questions!
• Feel free to experiment once you’ve completed the lab
• Make sure you’ve done a backup before you change
anything major.
– beadm create backup1
• We’ll do a wrap up after the lab

22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
2 reserved.
Section 10 - Wrap Up

22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
3 reserved.
Thank you!

• Bootcamp Overview
• Technical Overview
• Installation
• Lab Intro – System Shakedown
• Lab – Advanced Installation
• Boot and Shutdown
• Lab - File Systems and Storage
• Lab – Software Management
• Lab – Networking
• Lab – Virtualization
• Take Exam!

22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
4 reserved.
Oracle Solaris 11
Practice and Study

• Continue to use Oracle Solaris 11 in VirtualBox to


practice and study
• Utilize the Oracle Solaris 11 Documentation for
reference
• Utilize the exam study guide
• Use the Implementation GLP for on-line courses
• Take the practice exam webinar or on-line
• Keep Learning!

22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
5 reserved.
Oracle Solaris 11

• Please fill out the feedback form before you


leave!
• We appreciate your suggestions for making this
a better experience.

•Thank you and good luck!

22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
6 reserved.
22 Copyright © 2012, Oracle and/or its affiliates. All rights Insert Information Protection Policy Classification from Slide 7
7 reserved.

Potrebbero piacerti anche