s11 implementation bootcamp

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

Upload: ory-chhean

Post on 11-May-2015

469 views

Category:

Technology


1 download

DESCRIPTION

Oracle Implementation Installation.

TRANSCRIPT

Page 1: S11 implementation bootcamp

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

Insert Information Protection Policy Classification from Slide 7

Page 2: S11 implementation bootcamp

2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Solaris 11 Implementation Specialist Bootcamp

rev 2 – January 2013

Page 3: S11 implementation bootcamp

3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 4: S11 implementation bootcamp

4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Program Agenda

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

Page 5: S11 implementation bootcamp

5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Labs

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

Page 6: S11 implementation bootcamp

6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 1 - Introduction

Page 7: S11 implementation bootcamp

7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 8: S11 implementation bootcamp

8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 9: S11 implementation bootcamp

9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 10: S11 implementation bootcamp

10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 11: S11 implementation bootcamp

11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 12: S11 implementation bootcamp

Q&A

Page 13: S11 implementation bootcamp

13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 2 – What’s New in Solaris 11

Page 14: S11 implementation bootcamp
Page 15: S11 implementation bootcamp
Page 16: S11 implementation bootcamp
Page 17: S11 implementation bootcamp
Page 18: S11 implementation bootcamp
Page 19: S11 implementation bootcamp
Page 20: S11 implementation bootcamp
Page 21: S11 implementation bootcamp
Page 22: S11 implementation bootcamp
Page 23: S11 implementation bootcamp
Page 24: S11 implementation bootcamp
Page 25: S11 implementation bootcamp
Page 26: S11 implementation bootcamp
Page 27: S11 implementation bootcamp
Page 28: S11 implementation bootcamp
Page 29: S11 implementation bootcamp
Page 30: S11 implementation bootcamp
Page 31: S11 implementation bootcamp
Page 32: S11 implementation bootcamp
Page 33: S11 implementation bootcamp
Page 34: S11 implementation bootcamp
Page 35: S11 implementation bootcamp
Page 36: S11 implementation bootcamp
Page 37: S11 implementation bootcamp
Page 38: S11 implementation bootcamp
Page 39: S11 implementation bootcamp

39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 3 - Oracle Solaris 11 Installation Basics

Page 40: S11 implementation bootcamp

40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module Agenda

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

Page 41: S11 implementation bootcamp

Pre Installation

Page 42: S11 implementation bootcamp

42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Obtain Oracle Solaris 11 Software

• Access the Oracle Solaris 11.1 Downloads page• http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html?ssSourceSiteId=ocomen

• Accept the OTN License Agreement

• LiveCD, 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

Page 43: S11 implementation bootcamp

43 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 44: S11 implementation bootcamp

44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Partitioning the Hard Disk

Partitioning Option DescriptionUse 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 extended partition

Change existing Solaris partition to unused then 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.

Page 45: S11 implementation bootcamp

45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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 LiveCD

Page 46: S11 implementation bootcamp

Mini LabLiveCD Install

Page 47: S11 implementation bootcamp

47 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Starting Your LiveCD 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

Page 48: S11 implementation bootcamp

48 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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.

Page 49: S11 implementation bootcamp

49 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• LiveCD Start Screen

Page 50: S11 implementation bootcamp

50 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Choose your keyboard layout …

Page 51: S11 implementation bootcamp

51 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Choose your language …

Page 52: S11 implementation bootcamp

52 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Solaris running in memory …

Page 53: S11 implementation bootcamp

53 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Device Driver Utility …

Page 54: S11 implementation bootcamp

54 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• GParted, partition your disk if necessary …

Page 55: S11 implementation bootcamp

55 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Choose the ‘Install Oracle Solaris’ icon …

Page 56: S11 implementation bootcamp

56 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Ready to start the installation …

Page 57: S11 implementation bootcamp

57 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Check the release notes first …

Page 58: S11 implementation bootcamp

58 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Disk discovery …

Page 59: S11 implementation bootcamp

59 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Choosing where to install Solaris 11 …

Page 60: S11 implementation bootcamp

60 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Choosing where to install Solaris 11 …

Page 61: S11 implementation bootcamp

61 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Choose your time zone, date, and time …

Page 62: S11 implementation bootcamp

62 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Add a user, and name your system …

Page 63: S11 implementation bootcamp

63 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Register for support …

Page 64: S11 implementation bootcamp

64 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Review the settings …

Page 65: S11 implementation bootcamp

65 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Copying files, wait just a bit …

Page 66: S11 implementation bootcamp

66 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Install complete …

Page 67: S11 implementation bootcamp

67 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Check the install log in case there are any issues …

Page 68: S11 implementation bootcamp

68 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Our instance is ready after a reboot …

Page 69: S11 implementation bootcamp

69 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• Fresh install, ready to login …

Page 70: S11 implementation bootcamp

70 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with LiveCD• First login, ready to get to work …

Page 71: S11 implementation bootcamp

Mini Lab Text based Install

Page 72: S11 implementation bootcamp

72 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer - Overview

• LiveCD 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 LiveCD 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

Page 73: S11 implementation bootcamp

73 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Choose your keyboard layout …

Page 74: S11 implementation bootcamp

74 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Choose your language …

Page 75: S11 implementation bootcamp

75 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Choose 1 to install Oracle Solaris 11 …

Page 76: S11 implementation bootcamp

76 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Welcome screen, hit F2 to continue …

Page 77: S11 implementation bootcamp

77 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Disk discovery method

Page 78: S11 implementation bootcamp

78 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Partition your disk …

Page 79: S11 implementation bootcamp

79 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Entire disk or partition selection …

Page 80: S11 implementation bootcamp

80 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• System name and network selection …

Page 81: S11 implementation bootcamp

81 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Manual network configuration …

Page 82: S11 implementation bootcamp

82 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Name services selection

Page 83: S11 implementation bootcamp

83 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Name services selection details …

Page 84: S11 implementation bootcamp

84 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Further name services selections …

Page 85: S11 implementation bootcamp

85 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Further name services selections …

Page 86: S11 implementation bootcamp

86 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Time zone …

Page 87: S11 implementation bootcamp

87 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• System time and date …

Page 88: S11 implementation bootcamp

88 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Add root password and default user …

Page 89: S11 implementation bootcamp

89 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Sign up for support

Page 90: S11 implementation bootcamp

90 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Review your settings …

Page 91: S11 implementation bootcamp

91 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Install proceeding …

Page 92: S11 implementation bootcamp

92 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Success!

Page 93: S11 implementation bootcamp

93 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Instance ready to boot …

Page 94: S11 implementation bootcamp

94 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

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

Insert Information Protection Policy Classification from Slide 7

Installing with the Text Installer• Log in and get to work …

Page 95: S11 implementation bootcamp

Automated Installs (AI) booting from media

Page 96: S11 implementation bootcamp

96 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 97: S11 implementation bootcamp

97 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Installing using AI Media

Page 98: S11 implementation bootcamp

98 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 99: S11 implementation bootcamp

99 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 100: S11 implementation bootcamp

100

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 101: S11 implementation bootcamp

101

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7101

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using a Custom AI Manifest

Page 102: S11 implementation bootcamp

Automated Install (AI) multiple clients

Page 103: S11 implementation bootcamp

103

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7103

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 104: S11 implementation bootcamp

104

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

AI With Multiple Clients

• 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

What is an Automated Installation?

Page 105: S11 implementation bootcamp

105

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

AI With Multiple Clients

• 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

Requirements

Page 106: S11 implementation bootcamp

106

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7106

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

AI With Multiple Clients

• 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

System Configuration Instructions

Page 107: S11 implementation bootcamp

107

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

AI With Multiple Clients

• 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

Provide a local IPS Package Repository

Page 108: S11 implementation bootcamp

108

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 109: S11 implementation bootcamp

Using the SCI Utility

Page 110: S11 implementation bootcamp

110

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7110

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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>

Page 111: S11 implementation bootcamp

111

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7111

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 112: S11 implementation bootcamp

112

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7112

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 113: S11 implementation bootcamp

113

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7113

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 114: S11 implementation bootcamp

114

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7114

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 115: S11 implementation bootcamp

115

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7115

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 116: S11 implementation bootcamp

116

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7116

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 117: S11 implementation bootcamp

117

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7117

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 118: S11 implementation bootcamp

118

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7118

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 119: S11 implementation bootcamp

119

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7119

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 120: S11 implementation bootcamp

120

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7120

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 121: S11 implementation bootcamp

121

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7121

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 122: S11 implementation bootcamp

122

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7122

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Using the SCI Utility

Page 123: S11 implementation bootcamp

123

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

What We Learned

• LiveCD Overview

• Installing with the Text Installer

• AI Installs that boot from Media

• AI Installs of Multiple Clients

• SCI Utility

Next Steps

• Advanced Installation Lab

Page 124: S11 implementation bootcamp

124

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 4 – Advanced Installation Lab Overview

Page 125: S11 implementation bootcamp

125

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module Agenda

• System Shakedown

• Section 4 lab overview

• Lab

Page 126: S11 implementation bootcamp

126

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 127: S11 implementation bootcamp

127

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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 3GB of memory please!

• 30 GB or more diskspace

• USB port

• No external networking required

Page 128: S11 implementation bootcamp

128

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7128

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Software System Requirements

• VirtualBox 4.2 Windows

• Oracle VM Extension Pack 4.2

• Solaris ISO Images

File Type File Name

Automated Install (AI) sol-11_1-ai-x86.iso

Text Install sol-11_1-text-x86.iso

VM pre-built Image OracleSolaris11_1-11_VM.gzSolaris Repository sol-11_1-repo-full.iso

• Pre-built image = OracleSolaris11_1.ova

• Repository = two files .iso-a and .iso-b

• You will need to concatenate these files into one iso

• All files available from Instructor on USB Flash Disk

• Please return the Flash Disk!

Page 129: S11 implementation bootcamp

129

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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_1-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

Page 130: S11 implementation bootcamp

Let’s get started!

Page 131: S11 implementation bootcamp

131

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Advanced Installation Lab

• Automated Installation (AI) basics

• System Configuration Tool (SCI Tool)

• System Configuration Profiles

• Boot environments

• Image Packaging System (IPS)

What you’ll be learning

Page 132: S11 implementation bootcamp

132

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 133: S11 implementation bootcamp

133

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 134: S11 implementation bootcamp

134

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 135: S11 implementation bootcamp

135

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 5 - Oracle Solaris 11 Boot and Shutdown

Page 136: S11 implementation bootcamp

136

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module Agenda

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

Page 137: S11 implementation bootcamp

Introduction

Page 138: S11 implementation bootcamp

138

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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 referenceName DescriptionSun-4u 64-bit UltraSPARC (V9)

First used in Sun Ultra SeriesSun-4u1 E10K (starfire) 64 way multiproc architectureSun-4us Variant of 4u specific to Fujitsu PrimepowerSun-4v Variant of 4u which includes hypervisor virtualization

Page 139: S11 implementation bootcamp

SPARC OBP

Page 140: S11 implementation bootcamp

140

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 141: S11 implementation bootcamp

141

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 142: S11 implementation bootcamp

142

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 143: S11 implementation bootcamp

143

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 144: S11 implementation bootcamp

144

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Mini Lab

• Login to the service processor (SP) to take a look at some basic parameters.

ok printenv

BootPROM Overview

Page 145: S11 implementation bootcamp

145

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Check basic information contained in the boot prom.ok printenv auto-boot?ok printenv boot-deviceok 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

Mini LabBootPROM Overview

Page 146: S11 implementation bootcamp

146

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Set the parameters to boot from the network..ok show-devs /pci/

Mini LabBootPROM Overview

Page 147: S11 implementation bootcamp

147

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Devices are tedious• Change device names to something easy with

‘devalias’ command

Mini LabBootPROM Overview

Page 148: S11 implementation bootcamp

148

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• 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

Mini LabBootPROM Overview

Page 149: S11 implementation bootcamp

149

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Check the boot device orderok printenv boot-deviceok disk net

• Run devalias and identify the boot devices

ok devalias

• Which ones are the boot devices?

Mini LabBootPROM Overview

Page 150: S11 implementation bootcamp

X86 BIOS

Page 151: S11 implementation bootcamp

151

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

X86 BIOS Main (X2-8 / X4800)

Page 152: S11 implementation bootcamp

152

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

X86 BIOS Boot (X2-8/ X4800)

Page 153: S11 implementation bootcamp

153

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

X86 BIOS Boot Settings (X2-8/ X4800)

Page 154: S11 implementation bootcamp

154

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

X86 BIOS Boot Device Priority (X2-8/ X4800)

Page 155: S11 implementation bootcamp

155

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 156: S11 implementation bootcamp

Boot phases

Page 157: S11 implementation bootcamp

157

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 158: S11 implementation bootcamp

158

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 159: S11 implementation bootcamp

159

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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.lst– Solaris kernel is fully compliant with the Multiboot Specification.

Page 160: S11 implementation bootcamp

160

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• To watch the boot process of a SPARC system you can use the boot –v option from the OpenBoot prom console.

ok boot -v

SPARC Boot Phase Example

Page 161: S11 implementation bootcamp

161

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

SPARC Boot Phase Example

• You can also get the information after the system has booted by using the dmesg command

# /usr/sbin/dmesg | more

Page 162: S11 implementation bootcamp

162

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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.

Page 163: S11 implementation bootcamp

GRUB Menu

Page 164: S11 implementation bootcamp

164

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 165: S11 implementation bootcamp

165

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

GRUB Components

• Stage1 – image on the first sector of the fdisk partition.

• Stage2 – image installed in the reserved area of the fdisk partition

• Menu.lst file - /pool-name/boot/grub directory.

• Menu.lst is read by stage2.

Page 166: S11 implementation bootcamp

166

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

GRUB Menu Example

Page 167: S11 implementation bootcamp

167

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Mini-Lab

• Locate the GRUB menu on your system

• # bootadm list-menu

Using bootadm to change the GRUB menu

Page 168: S11 implementation bootcamp

168

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

View the current contents of menu.lst# cat /rpool/boot/grub/menu.lst (output truncated)

Mini-LabUsing bootadm to change the GRUB menu

Page 169: S11 implementation bootcamp

169

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• 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

Mini-LabUsing bootadm to change the GRUB menu

Page 170: S11 implementation bootcamp

170

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• 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

Mini-LabUsing bootadm to change the GRUB menu

Page 171: S11 implementation bootcamp

171

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Using bootadm has also influenced the current boot order. We can verify this by using the beadm list command:

# beadm list

• Note that 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

Mini-LabUsing bootadm to change the GRUB menu

Page 172: S11 implementation bootcamp

Booting the system

Page 173: S11 implementation bootcamp

173

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 174: S11 implementation bootcamp

174

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 175: S11 implementation bootcamp

175

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 176: S11 implementation bootcamp

176

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

uadmin command

• Helpful command for admins is uadmin• Uses numbered options and can drop the system

directly into the ok prompt.• Ex: # uadmin 2 0

– Syncs the file system and brings you to the ok prompt

uadmin 2 0 sync the filesystems and drops system to ok promptuadmin 2 1 sync the filesystems and reboots to multi-user modeuadmin 2 2 sync the filesystems and reboots interactivelyuadmin 2 3 sync the filesystems and reboots to single-user modeuadmin 2 6 sync the filesystems and powers off the systemuadmin 1 0 do not sync filesystems and drops system to ok promptuadmin 1 1 do not sync filesystems and reboots to multi-user modeuadmin 1 2 do not sync filesystems and reboots interactivelyuadmin 1 3 do not sync filesystems and reboots to single-user modeuadmin 1 6 do not sync filesystems and powers off the system

Page 177: S11 implementation bootcamp

177

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 178: S11 implementation bootcamp

178

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Milestones

Page 179: S11 implementation bootcamp

179

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Run Levels

Run Level

Init State Type Purpose

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

Page 180: S11 implementation bootcamp

180

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Run Levels vs SMF Milestones

Run Level MilestoneS Milestone/single-user:default2 Milestone/multi-user:default3 Milestone/multi-user-server:default

• The table below shows which milestones correspond to which run-levels

Page 181: S11 implementation bootcamp

181

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 182: S11 implementation bootcamp

Boot Troubleshooting

Page 183: S11 implementation bootcamp

183

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 184: S11 implementation bootcamp

184

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Single User Mode

• Resolve a bad root shell• Resolve password problems• Troubleshoot driver failures• Troubleshoot application issues• Troubleshoot network issues

Page 185: S11 implementation bootcamp

185

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Mini Lab

• Stop or reboot the system

• Select the boot item from the GRUB menu

Bringing an x86 system to single user

Page 186: S11 implementation bootcamp

186

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Type ‘e’ to edit the menu item

Mini LabBringing an x86 system to single user

Page 187: S11 implementation bootcamp

187

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Type ‘e’ to again to edit the kernel line item

• Enter ‘-s’ at the end of the kernel line

Mini LabBringing an x86 system to single user

Page 188: S11 implementation bootcamp

188

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Type ‘b’ to boot the system in single user mode

Mini LabBringing an x86 system to single user

Page 189: S11 implementation bootcamp

189

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Boot From Media – Live Media

• Boot and use a GNOME terminal for recovery

Page 190: S11 implementation bootcamp

190

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Boot From Media – Text Install

• Select option 3 – text shell from the GRUB boot menu

Page 191: S11 implementation bootcamp

191

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Boot From Media - AI

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

Page 192: S11 implementation bootcamp

192

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Mini Lab

Page 193: S11 implementation bootcamp

193

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

• Update the boot archive# bootadm update-archive /R /a

• Unmount the boot environment# beadm unmount solaris-2

• Halt the system# halt

• Reboot into single user mode• Reset the root password# passwd –r files rootNew password: xxxxxxRe-enter new Password: xxxxxxx

• Reboot the system

Recover the Root Password (1)Mini Lab

Page 194: S11 implementation bootcamp

194

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Correct Problems With menu.lst File

• Import the root pool# zpool import –f rpool

• Examine the menu.lst file– # cd /rpool/boot/grub– # vi menu.lst

• Update the boot archive# bootadm update-archive /R /a

• Exit the shell and reboot the system

Page 195: S11 implementation bootcamp

195

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Force a Crash Dump

• Kernel Debugger– Kmdb prompt from F1-A

• or

• # halt -d

Page 196: S11 implementation bootcamp

196

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 197: S11 implementation bootcamp

197

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module Agenda

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

Page 198: S11 implementation bootcamp

198

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 6 – File Systems and Storage Lab Overview

Page 199: S11 implementation bootcamp

199

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

File Systems and Storage What you’ll be learning

• The ZFS File System

• Zpools

• Vdevs

• Datasets

• Snapshots and clones

• ZFS Properties

• ZFS Updates

Page 200: S11 implementation bootcamp

200

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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.1

• Create and destroy ZFS pools

• Add capacity to a pool

• Import and export pools

• Exploring pool properties

• Upgrading pools

Page 201: S11 implementation bootcamp

201

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Lab Overview

• Split ZFS mirrors using the split command

• Working with Datasets– Hierarchical datasets– Properties

• Quotas and reservations

• Zvols

• Snapshots and clones

• Compression

Page 202: S11 implementation bootcamp

202

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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.

Page 203: S11 implementation bootcamp

203

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 204: S11 implementation bootcamp

204

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 7 – Software Management Lab Overview

Page 205: S11 implementation bootcamp

205

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Solaris 11 Software ManagementWhat 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

Page 206: S11 implementation bootcamp

206

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Lab Overview

• Use AIServer instance– This lab will use the AIServer VirtualBox instance created in

module 4, the first hands on lab– sol-11_1-text.x86.iso– Oracle Solaris Repository file

• sol-11_1-repo-full.iso

• Repository basics

• Install and uninstall packages

• Getting information about packages

• Updating the system

• Package Dependencies

Page 207: S11 implementation bootcamp

207

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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.

Page 208: S11 implementation bootcamp

208

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 209: S11 implementation bootcamp

209

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Module 8 – Networking Lab Overview

Page 210: S11 implementation bootcamp

210

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Oracle Solaris 11 NetworkingWhat you’ll be learning

• Network Configuration Profiles

• Manual network configuration in Solaris 11

• SMF network services configuration

Page 211: S11 implementation bootcamp

211

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Lab Overview

• VirtualBox should be running– This lab will use the pre-configured Oracle Solaris 11 VM Image– OracleSolaris11_1.ovf– 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

Page 212: S11 implementation bootcamp

212

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 213: S11 implementation bootcamp

213

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 214: S11 implementation bootcamp

214

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Section 9 – Virtualization Lab Overview

Page 215: S11 implementation bootcamp

215

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Oracle Solaris 11 VirtualizationWhat 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

Page 216: S11 implementation bootcamp

216

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Lab Overview

• VirtualBox should be running– This lab will use the Text Image that we installed in Lab 4– sol-11_1-text-x86.iso– We will also utilize the installed Repository

• 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

Page 217: S11 implementation bootcamp

217

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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.

Page 218: S11 implementation bootcamp

218

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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

Page 219: S11 implementation bootcamp

219

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Section 10 - Wrap Up

Page 220: S11 implementation bootcamp

220

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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!

Page 221: S11 implementation bootcamp

221

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

Oracle Solaris 11Practice and Study

• Continue to use the VirtualBox image 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

Page 222: S11 implementation bootcamp

222

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7

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!

Page 223: S11 implementation bootcamp

223

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Insert Information Protection Policy Classification from Slide 7