S11 implementation bootcamp

  • 247 views
Uploaded on

Oracle Implementation Installation.

Oracle Implementation Installation.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
247
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
22
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7
  • 2. 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
  • 3. 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
  • 4. 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
  • 5. 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
  • 6. 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Module 1 - Introduction
  • 7. 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
  • 8. 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
  • 9. 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
  • 10. 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
  • 11. 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
  • 12. Q&A
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. Pre Installation
  • 17. 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
  • 18. 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
  • 19. 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 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 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.
  • 20. 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
  • 21. Mini Lab LiveCD Install
  • 22. 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
  • 23. 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.
  • 24. 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
  • 25. 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 …
  • 26. 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 …
  • 27. 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 …
  • 28. 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 …
  • 29. 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 …
  • 30. 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 …
  • 31. 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 …
  • 32. 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 …
  • 33. 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 …
  • 34. 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 …
  • 35. 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 …
  • 36. 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 …
  • 37. 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 …
  • 38. 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 …
  • 39. 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 …
  • 40. 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 …
  • 41. 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 …
  • 42. 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 …
  • 43. 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 …
  • 44. 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 …
  • 45. 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 …
  • 46. Mini Lab Text based Install
  • 47. 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
  • 48. 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 …
  • 49. 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 …
  • 50. 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 …
  • 51. 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 …
  • 52. 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
  • 53. 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 …
  • 54. 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 …
  • 55. 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 …
  • 56. 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 …
  • 57. 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
  • 58. 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 …
  • 59. 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 …
  • 60. 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 …
  • 61. 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 …
  • 62. 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 …
  • 63. 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 …
  • 64. 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
  • 65. 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 …
  • 66. 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 …
  • 67. 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!
  • 68. 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 …
  • 69. 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 …
  • 70. Automated Installs (AI) booting from media
  • 71. 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
  • 72. 97 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Installing using AI Media
  • 73. 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
  • 74. 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
  • 75. 10 0 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
  • 76. 10 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 710 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using a Custom AI Manifest
  • 77. Automated Install (AI) multiple clients
  • 78. 10 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 710 3 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
  • 79. 10 4 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?
  • 80. 10 5 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
  • 81. 10 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 710 6 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
  • 82. 10 7 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
  • 83. 10 8 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
  • 84. Using the SCI Utility
  • 85. 11 0 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 0 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>
  • 86. 11 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 87. 11 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 88. 11 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 89. 11 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 90. 11 5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 91. 11 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 92. 11 7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 93. 11 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 94. 11 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 711 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 95. 12 0 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 712 0 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 96. 12 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 712 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 97. 12 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 712 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Using the SCI Utility
  • 98. 12 3 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
  • 99. 12 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Module 4 – Advanced Installation Lab Overview
  • 100. 12 5 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
  • 101. 12 6 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
  • 102. 12 7 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
  • 103. 12 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 712 8 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.gz Solaris 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!
  • 104. 12 9 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
  • 105. Let’s get started!
  • 106. 13 1 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
  • 107. 13 2 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
  • 108. 13 3 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
  • 109. 13 4 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
  • 110. 13 5 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
  • 111. 13 6 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
  • 112. Introduction
  • 113. 13 8 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 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
  • 114. SPARC OBP
  • 115. 14 0 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
  • 116. 14 1 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
  • 117. 14 2 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
  • 118. 14 3 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
  • 119. 14 4 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
  • 120. 14 5 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-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 Mini Lab BootPROM Overview
  • 121. 14 6 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 Lab BootPROM Overview
  • 122. 14 7 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 Lab BootPROM Overview
  • 123. 14 8 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 Lab BootPROM Overview
  • 124. 14 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 • 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? Mini Lab BootPROM Overview
  • 125. X86 BIOS
  • 126. 15 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 X86 BIOS Main (X2-8 / X4800)
  • 127. 15 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 X86 BIOS Boot (X2-8/ X4800)
  • 128. 15 3 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)
  • 129. 15 4 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)
  • 130. 15 5 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
  • 131. Boot phases
  • 132. 15 7 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
  • 133. 15 8 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
  • 134. 15 9 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.
  • 135. 16 0 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
  • 136. 16 1 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
  • 137. 16 2 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.
  • 138. GRUB Menu
  • 139. 16 4 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
  • 140. 16 5 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.
  • 141. 16 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 GRUB Menu Example
  • 142. 16 7 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
  • 143. 16 8 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-Lab Using bootadm to change the GRUB menu
  • 144. 16 9 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-Lab Using bootadm to change the GRUB menu
  • 145. 17 0 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-Lab Using bootadm to change the GRUB menu
  • 146. 17 1 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-Lab Using bootadm to change the GRUB menu
  • 147. Booting the system
  • 148. 17 3 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
  • 149. 17 4 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
  • 150. 17 5 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
  • 151. 17 6 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 prompt uadmin 2 1 sync the filesystems and reboots to multi-user mode uadmin 2 2 sync the filesystems and reboots interactively uadmin 2 3 sync the filesystems and reboots to single-user mode uadmin 2 6 sync the filesystems and powers off the system uadmin 1 0 do not sync filesystems and drops system to ok prompt uadmin 1 1 do not sync filesystems and reboots to multi-user mode uadmin 1 2 do not sync filesystems and reboots interactively uadmin 1 3 do not sync filesystems and reboots to single-user mode uadmin 1 6 do not sync filesystems and powers off the system
  • 152. 17 7 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
  • 153. 17 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Milestones
  • 154. 17 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Run Levels Run Leve l 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
  • 155. 18 0 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 Milestone S Milestone/single-user:default 2 Milestone/multi-user:default 3 Milestone/multi-user-server:default • The table below shows which milestones correspond to which run-levels
  • 156. 18 1 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
  • 157. Boot Troubleshooting
  • 158. 18 3 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
  • 159. 18 4 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
  • 160. 18 5 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
  • 161. 18 6 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 Lab Bringing an x86 system to single user
  • 162. 18 7 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 Lab Bringing an x86 system to single user
  • 163. 18 8 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 Lab Bringing an x86 system to single user
  • 164. 18 9 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
  • 165. 19 0 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
  • 166. 19 1 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
  • 167. 19 2 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
  • 168. 19 3 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 root New password: xxxxxx Re-enter new Password: xxxxxxx • Reboot the system Recover the Root Password (1) Mini Lab
  • 169. 19 4 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
  • 170. 19 5 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
  • 171. 19 6 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
  • 172. 19 7 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
  • 173. 19 8 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
  • 174. 19 9 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
  • 175. 20 0 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
  • 176. 20 1 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
  • 177. 20 2 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.
  • 178. 20 3 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
  • 179. 20 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Module 7 – Software Management Lab Overview
  • 180. 20 5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 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
  • 181. 20 6 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
  • 182. 20 7 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.
  • 183. 20 8 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
  • 184. 20 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Module 8 – Networking Lab Overview
  • 185. 21 0 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Oracle Solaris 11 Networking What you’ll be learning • Network Configuration Profiles • Manual network configuration in Solaris 11 • SMF network services configuration
  • 186. 21 1 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
  • 187. 21 2 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
  • 188. 21 3 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
  • 189. 21 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Section 9 – Virtualization Lab Overview
  • 190. 21 5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 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
  • 191. 21 6 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
  • 192. 21 7 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.
  • 193. 21 8 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
  • 194. 21 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Section 10 - Wrap Up
  • 195. 22 0 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!
  • 196. 22 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7 Oracle Solaris 11 Practice 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
  • 197. 22 2 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!
  • 198. 22 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 7