Showing posts with label Solaris 11 Express. Show all posts
Showing posts with label Solaris 11 Express. Show all posts

Wednesday, May 2, 2012

Oracle Solaris 11: Session 2: Extreme Engineering - A Technical Update


Online Forum
Oracle Solaris 11:
What's New Since the Launch

April 2012

Abstract:
Oracle released a series of 4 sessions on Oracle Solaris 11: What's New Since the Launch (see Session 1.) After an overview, two Senior Principal Product Engineers for Oracle Solaris discussed a loose description of what Solaris 11 includes and what Solaris 11 Update 1 will include.
  • Faster IPS Packaging
  • New VM API for Java for faster performance with NUMA (non-uniform memory access) systems
  • Better support for FibreChannel and iSCSI in Zones
  • Infiniband and Zone integration
  • Integration of Zones under Exadata
  • IP over InfiniBand for TCP/IP and Zones
  • Virtual NIC Migration in Zones

The presentation by  Dan Price and Bart Smaalders follows:

 
Session II - Oracle Solaris 11: Extreme Engineering - A Technical Update
Dan Price and Bart Smaalders, Senior Principal Product Engineers from Oracle Solaris Engineering discuss Extreme Engineering, from a technical perspective.


Install, Patching, Packaging
- automated all major system administration work



Image Packaging System
- Customers would have different patch methodology
- Network software repository
- Cryptographically verified (secure)
- New comprehensive toolset
- Easy to pilot and automate
- Best practices is now default way

Image Packaging System
- fallback to a patch is merely a reboot


Software Lifecycle Management
- Safe Updates, Fast Reboots
- Support Repository Unit
- Once a month heavily tested patch groups
- Patch testing with all Oracle applications & test suites

Image Packaging System
- Integrated Enterprise-Grade Change Management
- Patching to be a lower-skilled job


Boot Environments Powered by ZFS
- no initial investment
- updates as inactive clone (no interruption)
- defer reboot to best time
- trivial to roll back
- fast reboot
- mirror protection during upgrade
- fully integrated with zones
  Solaris 10 zone integration was difficult
  Solaris 11 zone integration was simplified

Sparse zones were killed in Solaris 11
- Sparse Zones produced 2 different implementations
- Various new features were added to Zones and ZFS in order to simplify Zones in Solaris 11


Security in the Cloud
- Defense in depth
- Multi-tenancy design
- Immutable zones
- Encrypted data per tenant
- Can't compromise changed/swapped OS binaries


Built-in Virtualization
- Near-zero overhead
- Delegated Administration  (i.e. boot, reboot, no uninstall)
- Moved from shared stack to exclusive stack (i.e. vnic)
- Network Isolation, control bandwidth in each zone
- No other operating system offers the options of Solaris


Secure Data for Cloud Tenants
- Encrypted on the wire
- Encrypted on the disk
- Individual users data is encrypted with keys, unlocked on login


Oracle Solaris 11: Catching Up
- Meetings about Solaris 12 happening
- Deep integration, testing happening monthly on all Oracle products
- Support Repository Updates (SRU's) tested across all products
- SRU's being delivered on a monthly basis
- Solaris 11 update once a year with new features


Oracle Solaris: Where We're Going
- Solaris 11 Update 1 targeting end of year
- Updates contain new functionality
- Solaris update info in early October
- Oracle World will be a good place to get new info
- SRU's to contain bug fixes


VM 2.0 - Virtual Memory System for the Next Generation
- Enhance virtual memory system
- Scales to hundreds of terabytes
- No user servicable parts required for ZFS
- Update 1 will deliver some new capabilities
- New API's to be delivered in the future
- JVM's may desire additional capabilities
- Memory systems will be ready when new HW is released

IPS and Zones
- IPS is faster than previous packaging
- IPS will increase in speed in the future

Zones enhances on LUN and app data on another LUN
- Trim down number of steps for zones & data
- Automate through zones framework: provision zone on LUN and take care of all details
- Details include: connect to storage, create zfs pool on storage, provision file system, install zone on storage, know what iSCSI address, connecting iSCSI client to server is automatic
- Migrating zone from another host should be easier
- Integrating up/down stack should be easier, support more over time
- Support FiberChannel and iSCSI in Update 1
- The more the automation, the easier for implementation

Infiniband: Zones on Exadata
- Integrate Zones with Infniband
- Patch: RDFP 3 for Zones coming
- Important for Zones in Exadata
- Native Infiniband Performance for engineered systems with Zones
- IP over Infiniband for TCP/IP in Update 1
- IP over Infiniband with Zones in Update 1

Make Zones Parallel Update in IPS
- Update 1 should offer 2x performance of IPS
- Update zones in parallel in Solaris 11, like now done in Solaris 10
- Systems with 10 or 50 zones can be done in time one goes for coffee
- Very short downtime for customers on patching
- Patching happening on cloned boot environments

Integration with with Java
- Major performance improvement over Java 6
- Java 7 is out; Java 8 is in the works
- No tuning required for JVM or OS
- SPECjbb2005 from build 10 to build 138 2.2x improvement
- Optimum cryptography through Java classes for Solaris Cryptographic Framework
- Hints JVM gives to scheduler
- NUMA API's integrated into JVM (vs older SMP sytsems) for 2x performance
- Large Java development in Oracle and Sun - now merged, consolidating features
- Oracle JRocket did an incredible amount of work in Oracle apps
- Oracle JRocket features being merged into Sun HotSpot
- DTrace JRocket probes being merged into Sun HotSpot

Other Notes
- VNIC migrations

KSplice
- Solaris team meeting with KSplice Team
- Solaris team bringing KSplice technology into OS
- Reboot-less small fixes via KSplice into Solaris
- Allows customer to keep patches "up to date" with year long uptime
- Synergies existing philosophy: DTrace allows data path switching without latency or interruption


Summary
- Oracle integrates & test patches with major software, not customer
- Solaris 11, simplify & automate

Friday, April 27, 2012

Oracle Solaris 11 - Session 1: Strategy and Update


 
Online Forum
Oracle Solaris 11:
What's New Since the Launch

April 2012 

Session I - Keynote: Oracle Solaris Strategy and Update

Abstract:
Markus Flierl, Vice President, Oracle Solaris Engineering, delivered the keynote - the first 1 hour session of 4 sessions on Oracle Solaris 11: What's New Since the Launch. From the entire first session, several major enhancements were noted in Solaris 11 Update 1:
  • Solaris 11 Update 1 - re-architecture of virtual memory sub-system
    New systems coming with 64 sockets, 64 terabytes of main memory
  • Solaris 11 Update 1 improves python performance
    30% performance improvement
  • Solaris 11 Update 1 improvement in network system
    Link aggregation across multiple switches
    Improve ability to migrate VNIC configuration across to new system
  • Solaris 11 Update 1 Due in late 2012
    To co-inside with other SPARC and Intel releases
The presentation by Mark follows:


Over the last 6 months
- SPARC T4 Support
  (Some customers seeing 5-7x improvement in single thread improvement)
- Working on T5 in Lab
- Release Solaris 11
- SPARC SuperCluster
- Solaris Cluster 4.0
- Oracle Studio 12
- Oracle Enterprise Manager Ops Center 12c


Review
- #1 UNIX
- Solaris 11 Update 1 to be released end of 2012
- First "Cloud" OS
  Satisfy traditional customer requirements for: availability, security, performance, scalability
- Shipped new network stack
  Scale to 40GBit via parallel pipes


Simplified Administration
- 3x faster provisioning over VMWare
- 4x faster upgrades over Red Hat
- 2.5x faster reboots over Red Hat
- 46% fewer hardware outages using FMA
- Designed-in Virtualization
- Scalable Data Management
- Advanced Protection

New availability
- Preparing to implement K-Splice under Solaris


Designed-in Virtualization
- Fully virualized
  OS, Network, and Storage
- Virtual Network Services built-in
- 15x better overhead efficiency over VMWare
- 4x Lower Latency over KVM


Scalable Data Management
- 10x storage savings for virtualization
- 2x storage compression
- 2x SPC-1 IOPS at 1/2 cost over NetApp


Advanced Protection / Security
- Immutable root file system
- 4.3x faster OpenSSL over AIX
- 3x faster ZFS encryption on SPARC over Westmere x86


Dramatically Faster Lifecycle Management
- Apply security fixes in minutes, during maintenance window, with fast reboot
- KSplice technology being actively investigated, to enable hot-patching


Cloud-Scale Networking Architecture
- Link aggregation across multiple switches
- vnic migration to new environment
- Hardware assisted resource management
- vlan: isolation & dynamic provisioning
- integrated: routing, firewall, load balancer, bridging, HA
- 4x lower latency over KVM


ZFS Virtualized Pooled Storage
- Scale out design. Built-in data services
- flash enabled virtual pools
- compression
- replication
- deduplication
- dataset encryption
- 10x dedup in virtualized environments
- rapid provisioning of virtualized storage resources (zfs snapshots, clones)
- no silent data corruption, ever


Oracle's Complete Cloud Management
- Self Service, provisioning
- billing for chargeback
- included in the base price of Solaris, if support


#1 UNIX. Engineered for Oracle
- Best of breed components
- Co-engineeered with Apps and hardware
- Unique value in engineered systems


Solaris on Exadata
- Performance from 400K IOPS to over 1 Million IOPS
- Enabling Zones under Exadata and SuperCluster, to allow customers to carve out the machines for public and private cloud services


Java 7 Performance Trends
- 2.2x improvement through JDK 7 development through tuning
- Java 7 Update 4 supports crypto hardware
- Java 7 Update 4 Solaris 4x-5x crypto performance improvement
- Java mission control, debugging leveraging dtrace
- Solaris Scheduler tuning for JVM




SPARC Future Work
- crypto speed enhancement
- oracle number enhancement
- memory versioning
- 3x-5x improvement


Solaris: Engine for ZFS Storage Appliance
- Best Performance - 2x faster than NetApp
- Best Efficiency - best analytics
- Best Quality - #1 Storage Magazine
- Best for Oracle Software - engineered together
  Used in Exadata, preferred backup solution for Exadata


Roadmap - Accelerating Investment
- Solaris 11 Express end of 2010
- Solaris 11 shipped end of 2011
- Solaris 11 Update 1 targeting end of 2012
- Solaris 12 requirements on the horizon
- SPARC T5 and M4 based systems in the lab
- Intel Sandy Bridge announcement on April 10
(The dates on the roadmap and positioning of technologies do not line up)

Wednesday, November 16, 2011

Enabling VNC in Solaris Express 11


Enabling VNC Under Solaris 11 Express

Abstract:
Open Systems have traditionally been accessed via Command Line. MIT create a fully object oriented, multi-tiered, open source windowing system called X Windows, which was quickly adopted by nearly all computing industry players. While X Windows is well suited for local area network technology, the need for wide area network technology was addressed through several different attempts, such as X11R6 "Broadway" and proxies leveraging compression. A lighter WAN suitable screen display protocol, referred to as Virtual Network Computing (VNC) is also commonly used for X displays.

Procedure:
Solaris 10 was shipped with VNC, instructions for enabling VNC under Solaris are found here.

Solaris 11 Express was shipped with a basic VNC service mostly available. The procedure to fully enable VNC under Solaris 11 is as follows:
  • Load Gnome Desktop Manager
# pkg install slim_install
  • After the ~400mb package is installed note the following issue:
# svcs consolekit
STATE STIME FMRI maintenance 1999 svc:/system/consolekit:default
The GDM depends on the console-kit-daemon for "defining and tracking users"
(console-kit-daemon man page). A generic error will occur telling you that a consolekit dependency is restarting too quickly.
  • Check the consolekit dependencies for restarting:
# svcs -d consolekit
onl
ine 1999 svc:/system/dbus:default
online 1999 svc:/system/filesystem/local:default
The -r is to recursively enable the daemon and then dependencies in the correct order.
#svcadm disable dbus
#svcadm clear consolekit

#svcadm enable -r consolekit
# vi /etc/gdm/custom.conf
[xdmcp] Enable=true
wq
  • A restart of the Gnome Display Manager and enabling of Xvnc are the last steps.
# svcadm restart gdm
# svccfg -s x11-server setprop options/tcp_listen=true
# svcadm enable xvnc-inetd

Friday, November 4, 2011

Oracle White Paper: Solaris 10 to 11 Changes


Oracle White Paper: Solaris 10 to 11 Changes

Abstract:
When an operating system is upgraded, there are various new features added and old features removed. With the release of Oracle 11 on November 2011, independant software vendors (ISV's) must be aware of the pending changes.

Details:
Oracle released an ISV Adpotion Guide for vendors moving to Solaris 11. This guide has been updated regularly by Oracle, as new features were added into Solaris 11 Express. It should be considered an authoritative reference for conducting software compatibility testing.

[pdf] September 2011 - Oracle Solaris 11 Express ISV Adoption Guide

Monday, October 10, 2011

Recovering From "rm -rf /"




Recovering From "rm -rf /"


A recent favorite blog offered a very nice introduction to the benefits of using ZFS as the root file system under Solaris.




This is every system administrator's worst nightmare, not to mention bad joke that gets giggles whenever such a mistake is suggested.


History


This condition is, perhaps, every operating system or application administrator's worst nightmare... the loss of a root or OS volume due to non-hardware, non-firmware, or non-OS caused related error.


Having seen an "rm" go out of control a number of years ago, due to a shell script which had an improperly initialized variable, this writer can say with a high degree of certainty that every time a shell script is written by a seasoned scripter, the paranoia from such a possibility will force consideration of whether this condition could EVER happen... often to the point of ensuring that there is no possiblity that an environment variable expansion could NEVER equate to "/" or even an entire user's home directory.


Benefits: Applications & Security


It is great to see first-class operating systems propose a solutions to a badly performed actions such as this... or just plain-old bad application patches. Sure, some utility writers will protect the "/" filesystem through hardcoded checks - but evil "rm -r" expansions can occur from "." and ".." and cause very similar kinds of damage.


Protecting root filesystems with ZFS offers a fast recoverable fallback. Protecting application filesystems with ZFS offers similar application level fallback. Protecting data with ZFS offers instantaneous (and virtually unlimited) backups, as well.


As a side note, this also provides a rollback mechanism for virus/worm infection, or intruder compromise, leaving Solaris with an incredibly important mechanism for security that is rivaled by few operating systems.


Conclusion


After reading multiple articles about the draconian methodology used by the U.S. military in dealing with PC rebuild times, due to not using freely available ZFS to roll back time on the desktops, one might think that using an operating system without such protections against viruses and worms is akin to a national security problem.

Friday, July 1, 2011

Solaris Tab Update: Solaris 11 & Crossbow


Solaris Tab Update: Solaris 11 & Crossbow

New resources have been added to the Solaris Tab, primarily concerning Solaris 11.

There is a helpful PDF document demonstrating Virtual Networking via "Crossbow".

Network Management Connection

Setting up a completely virtualized server and switch environment on a single platform meets various requrements such as: portable network management demonstrations, framework to build network management test labs, and a framework to simulate and test network management applications in a WAN environment, without purchasing the hardware.

Powerful frameworks like Crossbow are available under Solaris 11 derivative operating systems like Solaris 11 Express, OpenSolaris, OpenIndiana, Illumos, etc.

Solaris Reference Material
2010-12 [PDF] Set Up a Virtual Network Automatically with Solaris 11 Express
2011-03 [PDF] Solaris 11 ISV Adoption Guide
2011-06 [HTML] Lab: Introduction to the Solaris ZFS File System
2011-06 [HTML] Lab: Protecting Your Applications with Solaris 10 Security
2011-06 [HTML] Lab: Protecting Your Applications with Solaris 11 Security
2011-06 [HTML] Lab: Installing Solaris 11 Express in Oracle VM VirtualBox

Thursday, June 16, 2011

Solaris Page Update: How To Use DTrace


Solaris Page Update: How To Use DTrace

The Network Management Solaris page has been updated, adding a reference to DTrace.

There is a feature embedded into Solaris, starting with Solaris 10, which allows for systems administrators to get telemetry (i.e. live data & statistics) from a running system with virtually no overhead. This is accomplished by the instrumentation of the OS (i.e. Solaris) at the kernel level, with something that is called "probe points". Any common systems administrator can diagnose a third party application performance by observing the Solaris "probe points" and measuring performance via DTrace.

Does it still sound strange?

It very well could, unless you have an operating system which is BSD derived. Apple OSX and Solaris are two operating systems which leverage this free infrastructure. Network Management resources should be skilled in this feature, to understand the scalability of their applications, operating systems, and hardware platforms.

Solaris Reference Material

2008/2010 [HTML] Solaris Dynamic Tracing Guide
2010-04 [PDF] Solaris 10/11 How to Use Oracle DTrace


Solaris DTrace

Solaris LDoms / Oracle VM Server SPARC

Friday, May 27, 2011

Solaris Information Update


Solaris Information Update

Information recently added regarding Solaris Documentation and Zones to the Solaris tab.

Solaris hardware Compatibility List
  • [SunOracle] Solaris 10 & 11 Compatibility List


Solaris Reference Material
  • 2009-06 [HTML] Solaris 10 u6 Zones "Update on Attach" in 10/08

  • 2010-05 [PDF] Solaris 10 Moving Oracle Container

  • 2010-05 [PDF] Solaris 10 Consolidating With Solaris Containers

  • 2010-10 [HTML] Solaris 10 Sys Adm Guide: Zones, Containers, Resource Mgt

  • 2010-10 [HTML] Solaris 10 Sys Adm Guide: Solaris 8 Containers

  • 2010-10 [HTML] Solaris 10 Sys Adm Guide: Solaris 9 Containers

  • 2010-11 [HTML] Solaris 11 Sys Adm Guide: Zones, Containers, Resource Mgmt


Solaris Containers/Zones

Friday, April 8, 2011

Tuesday, March 22, 2011

Solaris 11: Ping Enhancement

[nuclear sub]
[nuclear submarine image]

Abstract: 

The TCP/IP network has become the ubiquitous protocol suite for communicating world wide between systems. The Internet Control Management Protocol (ICMP) is used to regulate the communications over the network. A common command leveraging ICMP for testing of connectivity is Ping. The Ping command is implemented with different options depending on the system platform. Solaris 11 adds a new backwards-compatibility feature to Ping. 

History: 

When Solaris was first implemented, it was based upon BSD UNIX. The default behavior was to provide multiple packets sent on a regular interval. With the merger of Solaris with AT&T UNIX, the default behavior became radically different: the sending of a single packet with a response. Solaris 11 is bridging the gap between the two behaviors.  

Solaris 11:

 John Beck from Oracle added a feature to Ping in Solaris 11.

So in build 33 of Solaris 11 I added a check: if the variable MACHINE_THAT_GOES_PING is set in the environment to a non-null value, then ping will go into "statistics" mode as if the -s flag had been provided.
If a non-null variable "MACHINE_THAT_GOES_PING" is set in the environment, Ping will automatically enter "statistics" mode, where multiple packets are sent continuously, until an interrupt is received. For the casual interactive user, this is a tremendous benefit.  

Concerns: 

Scripts which check for connectivity [using ping] prior engaging a higher layer network protocol command [such as ssh] may possibly be impacted by naive user community who implements this environment variable in a profile.

Remedies: 

If a user decides to implement the "MACHINE_THAT_GOES_PING" environment variable, it might be a wise decision to check for a tty before setting the variable. If a user wishes to leverage this feature by adding the environment to a profile, the following lines may be beneficial in suppressing the behavior in some automated scripts running in cron and at jobs.

# check for tty prior enabling automatic statistics
tty | grep "not a tty" >/dev/null || {
MACHINE_THAT_GOES_PING="Yes" ; export MACHINE_THAT_GOES_PING ; }

Friday, March 18, 2011

Solaris 11 Ecosystem for SysAdmins


Solaris 11 Ecosystem for SysAdmins

On the Sun Blogs, UnixMan posted a short interview with Solaris Engineers and Solaris Architects.
Solaris 11 Express came out in November 2010, with the Solaris 11 release being imminent - it is a vehicle for getting introduced to technologies that are shaping the Solaris ecosystem going forward. There are technologies that constitute the fundamental basis for value-rich stack present in Oracle products, by Oracle as well as by a number of customers *today*. Here is a great video describing the relevance with specific examples to be aware of, particularly how new architecture provides an integrated system and offers simplified administration. Rick Ramsey interviews Markus Flierl, Liane Praza and Dan Price from core Solaris Engineering.


This is a wonderful introduction to Solaris 11!

Monday, March 14, 2011

SunRay: From Solaris 10 to Open Solaris to Solaris 11 Express


SunRay: From Solaris 10 to Open Solaris to Solaris 11 Express

Abstract:

SunRay Services are supported under Solaris 10 today. With the release of OpenSolaris, which later was re-released as Solaris 11 Express by Oracle, the porting of SunRay Services had not yet been made generally available. SunRay Services can be made to run under the new Solaris 11 Express.


Documents:

See Alan Hargreaves' Blog on his experience with migrating SunRay Services from Solaris 10 to OpenSolaris and Solaris 11 Express under SPARC.

Tuesday, March 8, 2011

Sun V100: Installation of Solaris 11 Express


Sun V100: Installation of Solaris 11 Express

Abstract:
The SPARC platform had existed for decades in the telecommunications environment. It was built upon open standards for instruction set as well as boot proms and moved to 64 bit arcrhitecture long before most processors on the market. The open nature and advanced 64 bit architecture of the platform makes older units a perfect inexpensive test bed to train with advanced modern day operating systems. The 64 bit SPARC V100 has the ability to install Solaris 11 Express.



LOM: Basics

When a new machine is received, it normally comes with an OS installed. After the power-up, it would normally boot directy into the pre-configured operating system, bypassing the Lights Out Management and OpenBoot prom.

To simplify the installation from a console cable, we will start from the V100 from the ground-up, with the LOM through toggling off (down) the power button in the back of the server.
Mar  8 11:39:59 v100ex11 poweroff: initiated by user777 on /dev/console
bootadm: /boot/solaris/bin/extract_boot_filelist is not owned by 101, skipping
syncing file systems... done
lom>
LOM event: +0h28m56s host power off
Command supported by the OpenBoot prom are:
lom>help
The following commands are supported:
alarmon
alarmoff
check
console
environment
faulton
faultoff
help
poweron
poweroff
reset
shutdown
show
version
set
break
bootmode
loghistory
showlogs
consolehistory
chist
date
showdate
logout
userpassword
useradd
userdel
userperm
usershow
lom>
During the powering up of the server, the IDE drive can be pulled, in order to keep the system from booting onto the pre-installed operating system. Powering on the unit can be done from the LOM.
lom>poweron

lom>
LOM event: +0h33m58s host power on
Sun Fire V100 (UltraSPARC-IIe 548MHz), No Keyboard
OpenBoot 4.0, 2048 MB memory installed, Serial #66241418.
Ethernet address 0:3:ba:f2:c3:8a, Host ID: 83f2c38a.
OpenBoot: Basics

After the OK prompt for the OpenBoot is seen, the IDE disk can be plugged back in. The system will be in a funny state, which will be resolved with a future boot.

There are a variety of basic commands which can be run from the OpenBoot PROM. It is more advanced than BIOS in a PC - it is an entire programming and debugging environment driven by Forth.
ok help

Enter 'help command-name' or 'help category-name' for more help
(Use ONLY the first word of a category description)
Examples: help select -or- help line

Main categories are:

Breakpoints (debugging)
Repeated loops
Defining new commands
Numeric output
Radix (number base conversions)
Arithmetic
Memory access
Line editor
System and boot configuration parameters
Select I/O devices
Floppy eject
Power on reset
Diag (diagnostic routines)
Resume execution
File download and boot
nvramrc (making new commands permanent)
The OpenBoot includes some parameters in a non-volitile RAM.
ok printenv

output-device ttya ttya
input-device ttya ttya
load-base 16384 16384
auto-boot-retry? false false
boot-command boot boot
auto-boot? true true
watchdog-reboot? false false
diag-file
diag-device disk2 net
boot-file
boot-device /pci@1f,0/ide@d/disk@2,0 disk net
local-mac-address? false false
net-timeout 0 0
ansi-terminal? true true
screen-#columns 80 80
screen-#rows 34 34
silent-mode? false false
use-nvramrc? false false
nvramrc
security-mode none No default
security-password No default
security-#badlogins 0 No default
oem-logo No default
oem-logo? false false
oem-banner No default
oem-banner? false false
hardware-revision No default
last-hardware-update No default
diag-switch? false false

By default, this machine is set to automatically boot, which is the factory default.

The boot occurs from the hard disk on this machine, while the factory default is to have the machine attempt to boot from the network.

To see all of your devices which were recognized by the OpenBoot:
ok devalias

disk /pci@1f,0/ide@d/disk@2,0
rtc /pci@1f,0/isa@7/rtc@0,70
usb /pci@1f,0/usb@a
flash /pci@1f,0/isa@7/flashprom@1f,0
lom /pci@1f,0/isa@7/SUNW,lomh@0,8010
i2c-nvram /pci@1f,0/pmu@3/i2c@0,0/i2c-nvram@0,aa
net1 /pci@1f,0/ethernet@5
dload1 /pci@1f,0/ethernet@5:,
dload /pci@1f,0/ethernet@c:,
net0 /pci@1f,0/ethernet@c
net /pci@1f,0/ethernet@c
cdrom /pci@1f,0/ide@d/cdrom@3,0:f
disk3 /pci@1f,0/ide@d/disk@3,0
disk2 /pci@1f,0/ide@d/disk@2,0
disk1 /pci@1f,0/ide@d/disk@1,0
disk0 /pci@1f,0/ide@d/disk@0,0
ide /pci@1f,0/ide@d
floppy /pci@1f,0/isa@7/dma/floppy
ttyb /pci@1f,0/isa@7/serial@0,2e8
ttya /pci@1f,0/isa@7/serial@0,3f8
OpenBoot: Stop Automatic Boot

We will set the machine to not automatically boot on power-up to easiy adjust the environment after power cycles.
ok setenv auto-boot? false
auto-boot? = false
Now, the next step is to power-off the system and then poweron from the LOM, to boot the system fresh to an OK prompt:
ok power-off
lom>
LOM event: +1h10m46s host power off
lom>poweron
lom>
LOM event: +1h11m39s host power on
Sun Fire V100 (UltraSPARC-IIe 548MHz), No Keyboard
OpenBoot 4.0, 2048 MB memory installed, Serial #66241418.
Ethernet address 0:3:ba:f2:c3:8a, Host ID: 83f2c38a.
ok
OpenBoot: Boot Solaris 11 Express

The Installation of Solaris 11 Express can be done via a CD-ROM from the OpenBoot.
ok boot cdrom
Boot device: /pci@1f,0/ide@d/cdrom@3,0:f File and args:
The cursor will swap between characters "", "/", "-", etc., indicating the system is working. The CDROM boot banner will appear, once the OS is boot-strapped.

Solaris 11 Express: Install From CD-ROM

Once the OS is boot-strapped, the install routine prompts for information.
Boot device: /pci@1f,0/ide@d/cdrom@3,0:f  File and args:
SunOS Release 5.11 Version snv_151a 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
WARNING: invalid vector intr: number 0x7de, pil 0x0
Hostname: solaris
Remounting root read/write
Probing for device nodes ...
Preparing text install image for use
Done mounting text install image
USB keyboard

1. Albanian 25. Latin-American
2. Arabic 26. Lithuanian
3. Belarusian 27. Latvian
4. Belgian 28. Macedonian
5. Brazilian 29. Malta_UK
6. Bulgarian 30. Malta_US
7. Canadian-Bilingual 31. Norwegian
8. Croatian 32. Polish
9. Czech 33. Portuguese
10. Danish 34. Romanian
11. Dutch 35. Russian
12. Dvorak 36. Serbia-And-Montenegro
13. Estonian 37. Slovak
14. Finnish 38. Slovenian
15. French 39. Spanish
16. French-Canadian 40. Swedish
17. Hungarian 41. Swiss-French
18. German 42. Swiss-German
19. Greek 43. Traditional-Chinese
20. Icelandic 44. TurkishF
21. Italian 45. TurkishQ
22. Japanese-type6 46. UK-English
23. Japanese 47. US-English
24. Korean
To select the keyboard layout,
enter a number [default 47]: 47

1. Arabic 12. Hungarian
2. Catalan 13. Indonesian
3. Chinese - Simplified 14. Italian
4. Chinese - Traditional 15. Japanese
5. Czech 16. Korean
6. Dutch 17. Polish
7. English 18. Portuguese - Brazil
8. French 19. Russian
9. German 20. Slovak
10. Greek 21. Spanish
11. Hebrew 22. Swedish
To select the language you wish to use,

enter a number [default is 7]: 7

User selected: English
Configuring devices.

Using HyperTerminal with "Auto" emulation, does not help the installer, since it will think that "xterm" is the terminal type available.

If performing an installation from a "tip" command in an "xterm", no change is required, and the installation screens look wonderful.

Welcome to the Oracle Solaris snv_151a installation menu
1 Install Oracle Solaris
2 Install Additional Drivers
3 Shell
4 Terminal type (currently xterm)
5 Reboot
Please enter a number [1]:
4

Indicate the type of terminal being used, such as:
dtterm CDE terminal emulator
xterm xterm
vt100 DEC VT100
Enter terminal type [xterm]:
vt100

Welcome to the Oracle Solaris snv_151a installation menu
1 Install Oracle Solaris
2 Install Additional Drivers
3 Shell
4 Terminal type (currently vt100)
5 Reboot
Please enter a number [1]:
1

The Welcome Spash Screen provides the basic terminal keystroke instructions.

Welcome to Oracle Solaris
Thanks for choosing to install Oracle Solaris! This installer enables you
to install the Oracle Solaris Operating System (OS) on SPARC or x86
systems.

The installation log will be at /tmp/install_log.

How to navigate through this installer:
- Use the function keys listed at the bottom of each screen to move from
screen to screen and to perform other operations.
- Use the up/down arrow keys to change the selection or to move between
input fields.
- If your keyboard does not have function keys, or they do not respond,
press ESC; the legend at the bottom of the screen will change to show
the ESC keys for navigation and other functions.

F2_Continue F6_Help F9_Quit
Select the disk at the next screen with F2, to perform the install to the base disk.

Microsoft Windows, unfortunately, does not provide a real terminal emulator that understand the VT100 character set, when you select VT100, so some grahical characters do not emulate correctly.
                             Disks
Where should Oracle Solaris be installed?
Recommended size: 4.7GB Minimum size: 2.7GB

Type Size(GB) Boot Device Manufacturer Notes
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
ATA 74.5 + c2t2d0 unknown

The following slices were found on the disk.

Slice # Size(GB) Slice # Size(GB)
qqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqqqqqqqqqqqqqqqq
rpool 0 74.5 Unused 5 0.0
Unused 1 0.0 Unused 6 0.0
Unused 3 0.0 Unused 7 0.0
Unused 4 0.0 backup 2 74.5

F2_Continue F3_Back F6_Help F9_Quit

Continue with the default slicing through F2.

            Solaris Slices: 74.5GB ATA Boot

Oracle Solaris can be installed on the whole disk or a slice on the disk.
The following slices were found on the disk.

Slice # Size(GB) Slice # Size(GB)
qqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqqqqqqqqqqqqqqqq
rpool 0 74.5 Unused 5 0.0
Unused 1 0.0 Unused 6 0.0
Unused 3 0.0 Unused 7 0.0
Unused 4 0.0 backup 2 74.5

Use the whole disk
Use a slice on the disk

F2_Continue F3_Back F6_Help F9_Quit
Move the cursor to "Use the whole disk" and Continue with F2 to the network configuration.
                    Network

Enter a name for this computer that identifies it on the network. It must
be at least two characters. It can contain letters, numbers, and minus
signs (-).

Computer Name:
sol11v100

Select how the wired ethernet network connection is configured.

Automatically Automatically configure the connection
None Do not configure the network at this time

F2_Continue F3_Back F6_Help F9_Quit

Type a name for the computer operating system instance name, such as "sol11v100".

Move the cursor to "Automatically" to configure an IP address via DHCP on boot.
Continue with F2.
                Time Zone: Regions

Select the region that contains your time zone.

Regions
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
UTC/GMT
Africa
Americas
Antarctica
Arctic Ocean
Asia
Atlantic Ocean
Australia
Europe
Indian Ocean
Pacific Ocean

F2_Continue F3_Back F6_Help F9_Quit
Timezone should be selected, in this case we move the cursor to Americas and Continue with F2.
              Time Zone: Locations

Select the location that contains your time zone.
Locations
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
^ St Barthelemy
x St Kitts & Nevis
x St Lucia
x St Martin (French part)
x St Pierre & Miquelon
x St Vincent
x Suriname
x Trinidad & Tobago
x Turks & Caicos Is
x United States
x Uruguay
x Venezuela
x Virgin Islands (UK)
q Virgin Islands (US)

F2_Continue F3_Back F6_Help F9_Quit
Move your cursor to the appropriate Timezone Location, in this case United States was selected by moving the cursor off the bottom of the screen, and Continue via F2 was done.
                Time Zone

Select your time zone.
Time Zones
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
q Eastern Time
x Eastern Time - Michigan - most locations
x Eastern Time - Kentucky - Louisville area
x Eastern Time - Kentucky - Wayne County
x Eastern Time - Indiana - most locations
x Eastern Time - Indiana - Daviess, Dubois, Knox & Martin Counties
x Eastern Time - Indiana - Pulaski County
x Eastern Time - Indiana - Crawford County
x Eastern Time - Indiana - Pike County
x Eastern Time - Indiana - Switzerland County
x Central Time
x Central Time - Indiana - Perry County
x Central Time - Indiana - Starke County
v Central Time - Michigan - Dickinson, Gogebic, Iron & Menominee Counti

F2_Continue F3_Back F6_Help F9_Quit

Move the cursor to the appropriate Time Zone and Continue with F2.
            Date and Time

Edit the date and time as necessary.
The time is in 24 hour format.

Year: 2011 (YYYY)
Month: 03 (1-12)
Day: 08 (1-31)
Hour: 13 (0-23)
Minute: 57 (0-59)

F2_Continue F3_Back F6_Help F9_Quit

Select your Date and Time, Continue with F2.
                  Users

Define a root password for the system and user account for yourself.

System Root Password
Root password: *****
Confirm password: *****

Create a user account
Your real name: Administrator
Username: admin
User password: *****
Confirm password: *****

F2_Continue F3_Back F6_Help F9_Quit

The installation is secure, by default. The Root password is required as well as a user account, so you can assume the privileges associated with "root" at a later point in time.

Complete the prompts and Continue with F2.

There is a brief pause after F2, so do not hit the key a second or third time.
                 Installation Summary

Review the settings below before installing. Go back (F3) to make changes.

Software: Oracle Solaris 11 Express snv_151a SPARC
Disk: 74.5GB ATA
Slice 0: 74.5GB rpool1
Time Zone: US/Eastern
Language: *The following can be changed when logging in.
Default language: English
Users:
Username: admin
Network:
Computer name: sol11v100
Network Configuration: Automatic

F2_Install F3_Back F6_Help F9_Quit

The Installation Summary is provided, after a brief pause. Continue with F2 to install.
               Installing Oracle Solaris

Preparing disk for Oracle Solaris installation
[ (5%) ]

Building cpio file lists
[ (6%) ]

Transferring Contents
[ (98%) ]
F9_Quit
The installation begins with various phases, some of which were captured and copied into the installation window above.

Once the installation is complete, the option to reboot is provided.

Installation Complete

The installation of Oracle Solaris has completed successfully.
Reboot to start the newly installed software or Quit if you wish to
perform additional tasks before rebooting.

The installation log is available at /tmp/install_log. After reboot it
can be found at /var/sadm/system/logs/install_log.

F4_View Log F8_Reboot F9_Quit
Reboot the system via F8 would normally be done.

Since Microsoft Windows HyperTerm is broken, the F8 and F9 does not work.

A straight power down via the rocker switch can be done and a "powerup" from LOM to restart the system.
Mar  8 19:26:50 solaris power: WARNING: Power off requested from power button or
SC, powering down the system!
Shutdown started. Tue Mar 8 19:26:53 GMT 2011
Changing to init state 5 - please wait
showmount: solaris: RPC: Program not registered
bootadm: /media/Oracle_Solaris_Text_SPARC/ filesystem is read-only, skipping archives update
svc.startd: The system is coming down. Please wait.
svc.startd: 74 system services are now being stopped.
Mar 8 19:27:12 solaris syslogd: going down on signal 15
svc.startd: Killing user processes.
umount: /.cdrom busy
Mar 8 19:27:29 The system is down. Shutdown took 25 seconds.
syncing file systems... done
lom>
LOM event: +3h17m53s host power off

lom>poweron
lom>
LOM event: +3h19m46s host power on
Solaris 11 Express: Booting From Disk

Since the OpenBoot was set to not automatically boot, the ok prompt is available, to boot from disk or cdrom.

Since the installation was complete, the boot from the default disk can be done.
Sun Fire V100 (UltraSPARC-IIe 548MHz), No Keyboard
OpenBoot 4.0, 2048 MB memory installed, Serial #66241418.
Ethernet address 0:3:ba:f2:c3:8a, Host ID: 83f2c38a.
ok boot disk
Boot device: /pci@1f,0/ide@d/disk@2,0 File and args:
SunOS Release 5.11 Version snv_151a 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
/
Loading smf(5) service descriptions: 5/178
-
Loading smf(5) service descriptions: 178/178
_
WARNING: invalid vector intr: number 0x7de, pil 0x0
/
Hostname: sol11v100
-
Configuring devices.

Loading smf(5) service descriptions: 7/7
-
sol11v100 console login:
After watching the rotating bar, the OS banner page appears, the services are instantiated through SMF, and the console login prompt from the serial cable.

Login on the console cable and find the IP Address.
sol11v100 console login: msadmin
Password:
Oracle Corporation SunOS 5.11 snv_151a November 2010
msadmin@sol11v100:~$ ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
dmfe0: flags=1004843 mtu 1500 index 4
inet 253.60.174.73 netmask ffffff00 broadcast 253.60.174.255
dmfe1: flags=1004803 mtu 1500 index 3
inet 0.0.0.0 netmask ff000000
lo0: flags=2002000849 mtu 8252 index 1
inet6 ::1/128
dmfe0: flags=20002004841 mtu 1500 index 4
inet6 fe80::203:baff:fef2:c38a/10
dmfe1: flags=20002004801 mtu 1500 index 3
inet6 fe80::203:baff:fef2:c38b/10
dmfe1:1: flags=20002000800 mtu 1500 index 3
inet6 ::/0
dmfe1:2: flags=20002000800 mtu 1500 index 3
inet6 ::/10
Solaris 11 Express: Enabling Telnet

Insecure operating systems like Microsoft Windows XP do not provide a simple SSH client from the Command prompt. Insecure Telnet can be enabled to facilitate access with the root login and verified using Solaris services.

admin@sol11v100:~$ svcs telnet
STATE STIME FMRI
disabled 14:40:05 svc:/network/telnet:default

admin@sol11v100:~$ su root
Password:
Mar 8 14:59:40 sol11v100 su: 'su root' succeeded for msadmin on /dev/console

msadmin@sol11v100:~# svcadm enable telnet

msadmin@sol11v100:~# svcs telnet
STATE STIME FMRI
online 15:02:33 svc:/network/telnet:default
The platform is now ready for basic configuration without a console cable.

Additional configuation steps can be done from the console, to set up tools like GNOME through Headless X configuration, and VNC, to get a graphical windowing environment.

Network Management Connection

In the arena of Network Management, Solaris 11 Express it the premier operating system for security as well as stability. If it has to to run and be available, it runs under Solaris.

Tuesday, January 18, 2011

Sun Developer Days for NY/NJ: 2010-Dec

Sun Developer Days for NY/NJ: 2010-Dec

Abstract
Isaac Rozenfeld from Oracle/Sun posted an agenda and materials from a 2-day tour of New York City and Bridgewater tour of Solaris Days.

Agenda
08:30 Registration & Breakfast
09:00 Welcome Back, AgendaIsaac Rozenfeld [Audio] Focus on Financial Services - Ambreesh Khanna [Audio]
09:10 Solaris Networking Virtualization – Nicolas Droux [Audio]
10:00 Solaris Zones Update – Dan Price [Audio]
10:45 Image Packaging System – Bart Smaalders [Audio]
11:30 Platform Updates: x86 and SPARC – Sherry Moore [Audio]
12:15 Lunch, Isaac Rozenfeld's bonus session on running Solaris on top of the VirtualBox hypervisor [Audio]
01:00 Solaris Integration into Oracle – Damien Farnham [Audio]
01:45 Leaping Forward with Solaris Infiniband – David Brean [Audio]
02:30 Installation Experience Modernization – David Miner [Audio]
03:15 Oracle Enterprise Manager Ops Center – Mike Barrett [Audio]
04:00 Service Management Facility Architecture and Deployment – Liane Praza [Audio]
04:45 Q&A/Raffle

Executive Overview
Some of the important take-aways from a Network Management perspective.

10:00AM Solaris Zones Update by Dan Price
  • Page 5 - Older Solaris 8 & Solaris 9 SPARC physical machine (p2v) can be vitualized, as well as Linux under Intel
  • Page 8 - Security and Patch OS Updates can be made by merely migrating a zone containing an application from the old server to another server which had the patch applied
  • Page 24 - p2v support virtualizing Solaris 8, Solaris 9 (now Solaris 10 from a Solaris 11 platform); v2v for moving a zone between physical machines
  • Page 26 - Some common application support matrix where inquiries are constantly made
  • Page 19 - New "zonestat" command for quickly seeing health of components across multiple zones simultaneously.
10:45AM - Image Packaging System by Bart Smaalders
  • Pages 1-44 - Overview of the Solaris 11 Image Packaging System
11:30 AM - Platform Updates: x86 and SPARC by Sherry Moore
  • Page 4 - New SPARC T3 Processor (16 cores) image and features
  • Page 5 - I am tickled that Oracle used a SPARC diagram drawn by me (unfortunately they stretched it)
  • Page 6 - Current generation systems: images and features
  • 1:45PM - Leaping forward with Solaris Infiniband
  • Page 16 - Infiniband usage in Solaris Virtualized Zones Diagram
  • Page 30 - Important OS commands for Infiniband Fabric
2:30PM - Installation Experience Modernizations by David Miner
  • Page 4 - Solaris 10 and Solaris 11 Comparisons (important: Jumpstart Replaced!)
  • Page 5 - New Boot Environments based upon ZFS with "unlimited snapshots", breaking mirror with only one rollback is a thing of the past with Solaris 11
  • Page 9 - New Automated Installer Diagram, to replace Jumpstart… following pages illustrate use cases!
4:00PM - Service Management Facility Architecture and Deployment
  • Page 4 - Best Practices for deploying applicatons across networks
  • Page 7 - Best Practices for deploying applications onto ZFS
  • Page 9 - Software Support and Admin teams no longer require root or sudo with Solaris SMF for stop/start/restart
  • Page 11 - Application layer firewalls bundled as a service
  • Page 16 - Solaris 11 Image Packaging Sytem no longer uses scripts, but bundles into SMF
  • Page 17 - Automatic Fault notifications through SMF via email & SNMP
  • Page 19 - Best Practices of modern virtualized Solaris Application Deployment