9/07/2015

OpenSource Multitab Remote Clients


I know that many sysadmins prefer the unix console to connect to other hosts. For those who come from the windows side, there're some options, besides the well known putty.
One of the things that i miss from putty is the multitab feature (that can be found in other licensed software). I did my research and i found a couple of good clients, that  i will like to share with you
Most of them are based on Putty and others don't :)

MremoteNG

http://www.mremoteng.org/


MTPuTTY (Multi-Tabbed PuTTY)

http://ttyplus.com/multi-tabbed-putty/


Terminals

https://terminals.codeplex.com/

Many of this clients share some features:

- Import/Export of configuration files
- Folder/Group organizations of the hosts
- Support of several connection protocols  (SSH, RCP, TELNET, etc)


9/01/2015

Solaris Branded Zones running on a LDOM - Part 6/6

Now we can verify the access between our primary domain, ldoms and zones

root@t5-2:~# more /etc/release
  Oracle Solaris 11.2 SPARC
  Copyright (c) 1983, 2014, Oracle and/or its affiliates. All rights reserved.
Assembled 23 June 2014
root@t5-2:~#
root@t5-2:~#
root@t5-2:~# ldm list

NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.1% 0.1% 7d 5h 9m
legacy-systems active -n---- 5000 16 16G 0.0% 0.0% 1d 27m

root@t5-2:~# telnet localhost 5000
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Connecting to console "legacy-systems" in group "legacy-systems" ....
Press ~? for control options ..

solaris10-legacy console login: root
Password:
Last login: Fri Aug 21 15:08:56 on console
Oracle Corporation SunOS 5.10 Generic Patch January 2005

# bash
bash-3.2# more /etc/release

Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
 
bash-3.2# zoneadm list -v

  ID NAME STATUS PATH BRAND IP
  0 global running / native shared
2 s8-zone running /export/zones/sol8-zone solaris8 shared
  3 s9-zone running /export/zones/sol9-zone solaris9 shared
bash-3.2#
bash-3.2#

bash-3.2# zlogin s8-zone

[Connected to zone 's8-zone' pts/1]
Last login: Fri Aug 21 07:35:47 on pts/1
Sun Microsystems Inc. SunOS 5.8 Generic Patch December 2002
# bash

bash-2.03# more /etc/release
  Solaris 8 HW 12/02 s28s_hw1wos_06a SPARC
  Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
Assembled 12 December 2002
bash-2.03# exit
exit
# exit

[Connection to zone 's8-zone' pts/1 closed]

bash-3.2# zlogin -C s9-zone
[Connected to zone 's9-zone' console]

bash-2.05#

bash-2.05# more /etc/release
  Solaris 9 4/04 s9s_u6wos_08a SPARC
  Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  Use is subject to license terms.
Assembled 22 March 2004
bash-2.05#

https://community.oracle.com/docs/DOC-920423

CONTENT

1) Getting the flar files from the Physical Systems (Part 2)
2) Creating LDOM (Part 3)
3) Creating Solaris 8 zone (Part 4)
4) Creating Solaris 9 zone (Part 5)
5) Moving between Primary/Guest Domain and Zones (Part 6)


Solaris Branded Zones running on a LDOM - Part 5/6

4) Creating Solaris 9 Zone

For the Solaris 9 zone, we need to do the same

bash-3.2# pkgadd -d /opt/zone_patches/sol9/s9containers-bundle/1.0.1/Product SU
NWs9brandk

Processing package instance <SUNWs9brandk> from </opt/zone_patches/sol9/s9containers-bundle/1.0.1/Product>

Solaris 9 Containers: solaris9 brand support RTU(sparc) 11.10.0,REV=2008.09.20.18.50
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
  8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing Solaris 9 Containers: solaris9 brand support RTU as <SUNWs9brandk>

## Installing part 1 of 1.
/usr/lib/brand/solaris9/files/patches/112963-32.zip
/usr/lib/brand/solaris9/files/patches/115986-03.zip
/usr/lib/brand/solaris9/files/patches/order
/usr/share/man/man5/solaris9.5
[ verifying class <none> ]

Installation of <SUNWs9brandk> was successful.

bash-3.2# pkginfo | egrep brand

system SUNWs8brandk Solaris 8 Containers: solaris8 brand support RTU
system SUNWs8brandr Solaris 8 Containers: solaris8 brand support (Root)
system SUNWs8brandu Solaris 8 Containers: solaris8 brand support (Usr)
system SUNWs9brandk Solaris 9 Containers: solaris9 brand support RTU <----- Package Installed
system SUNWs9brandr Solaris 9 Containers: solaris9 brand support (Root)
system SUNWs9brandu Solaris 9 Containers: solaris9 brand support (Usr)

Creating directory for the zone

bash-3.2# cd /export/zones
bash-3.2# ls
sol8-zone
bash-3.2# mkdir sol9-zone
bash-3.2# chmod 700 sol9-zone/
bash-3.2#

bash-3.2# zonecfg -z s9-zone

s9-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:s9-zone> create -t SUNWsolaris9
zonecfg:s9-zone> set zonepath=/export/zones/sol9-zone
zonecfg:s9-zone> set autoboot=true
zonecfg:s9-zone> add net
zonecfg:s9-zone:net> set address=10.163.X.X
zonecfg:s9-zone:net> set physical=vnet0
zonecfg:s9-zone:net> end
zonecfg:s9-zone> verify
zonecfg:s9-zone> commit
zonecfg:s9-zone> exit
bash-3.2#
bash-3.2#
bash-3.2#

bash-3.2# zoneadm -z s9-zone install -u -a /opt/zone_patches/sol9/s9-zone.flar
  Log File: /var/tmp/s9-zone.install.23608.log
  Source: /opt/zone_patches/sol9/s9-zone.flar
  Installing: This may take several minutes...
Postprocessing: This may take several minutes...

  Result: Installation completed successfully.
  Log File: /export/zones/sol9-zone/root/var/log/s9-zone.install.23608.log
bash-3.2#

bash-3.2# /usr/lib/brand/solaris9/s9_p2v s9-zone

[Thu Aug 20 11:13:12 PDT 2015] S20_apply_patches: Unpacking patch: 115986-03
[Thu Aug 20 11:13:12 PDT 2015] S20_apply_patches: Installing patch: 115986-03

Checking installed patches...
Patch 115986-03 has already been applied.
See patchadd(1M) for instructions.

Patchadd is terminating.
[Thu Aug 20 11:13:13 PDT 2015] S20_apply_patches: Unpacking patch: 112963-32
[Thu Aug 20 11:13:13 PDT 2015] S20_apply_patches: Installing patch: 112963-32

Checking installed patches...
Patch 112963-32 has already been applied.
See patchadd(1M) for instructions.

Patchadd is terminating.

bash-3.2# zoneadm -z s9-zone boot

bash-3.2# zoneadm list
global
s8-zone
s9-zone
bash-3.2#
bash-3.2#

I booted the zone and i configured the initial setup

bash-3.2# zlogin -C s9-zone
[Connected to zone 's9-zone' console]

bash-2.05#
bash-2.05# more /etc/release
  Solaris 9 4/04 s9s_u6wos_08a SPARC
  Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  Use is subject to license terms.
Assembled 22 March 2004

bash-2.05#

https://community.oracle.com/docs/DOC-920418

CONTENT

1) Getting the flar files from the Physical Systems (Part 2)
2) Creating LDOM (Part 3)
3) Creating Solaris 8 zone (Part 4)
4) Creating Solaris 9 zone (Part 5)
5) Moving between Primary/Guest Domain and Zones (Part 6)


Solaris Branded Zones running on a LDOM - Part 4/6

3) Creating Solaris 8 Zone

Once we are logged in into our ldom, we need to configure our branded zones


bash-3.2# zonecfg -z s8-zone

s8-zone: No such zone configured

Use 'create' to begin configuring a new zone.

zonecfg:s8-zone> create -t SUNWsolaris8

zonecfg:s8-zone> set zonepath=/export/zones/sol8-zone

zonecfg:s8-zone> set autoboot=true

zonecfg:s8-zone> add net

zonecfg:s8-zone:net> set address=10.163.223.13

zonecfg:s8-zone:net> set physical=vnet0

zonecfg:s8-zone:net> end

zonecfg:s8-zone> verify

solaris8_support error: The Solaris 8 Containers right-to-use package

has not been installed

s8-zone: Brand-specific error

zonecfg:s8-zone>

From doc id 1019682.1

How to Setup Solaris 8 and 9 Containers (Branded Zones) in Solaris 10 (Doc ID 1019682.1)


Ensure the Solaris release on Global Zone is higher or equal to Solaris 10_U6, unless upgrade Solaris to a recent release

bash-3.2# more /etc/release

Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC

Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.

Assembled 23 August 2011

Starting from Solaris 10_U6, SUNWs[89]brand[ru] packages are delivered with the DVD/ISO

For Solaris 10_U6 and higher, these packages must be used instead of the the packages included in downloaded or s8containers-bundle-solaris10-sparc.tar.gz or s9containers-bundle-solaris10- sparc.tar.gz

Package SUNWs[89]brand[ru] are part of subcluster SUNWCsolaris8 (SUNWCsolaris9)

These packages are included in MetaCluster : SUNWCXall or SUNWCall
 
For other MetaClusters, SUNWs[89]brand[ru] packages needs to be added to system

Please ensure that the packages are installed from DVD/ISO of the very same Solaris release as shown in /etc/system

Check existence of the SUNWs[89]brand[ru] packages

bash-3.2# pkginfo | egrep brand

system SUNWs8brandr Solaris 8 Containers: solaris8 brand support (Root)

system SUNWs8brandu Solaris 8 Containers: solaris8 brand support (Usr)

system SUNWs9brandr Solaris 9 Containers: solaris9 brand support (Root)

system SUNWs9brandu Solaris 9 Containers: solaris9 brand support (Usr)

For all Solaris releases, package SUNWs8brandk ( SUNWs9brandk) needs to be added

Package SUNWs8brandk ( SUNWs9brandk) is part of downloaded

s9containers-bundle-solaris10-sparc.tar.gz // older name-scheme for Solaris 9 bundle

p11842137_900_SOLARIS64.zip // new name-scheme for Solaris 9 bundle

s8containers-bundle-solaris10-sparc.tar.gz // older name-scheme for Solaris 8 bundle

p11702874_800_SOLARIS64.zip // new name-scheme for Solaris 8 bundle

   i.e.

# pkgadd -d s9containers-bundle/1.0.1/Product SUNWs9brandk

# pkgadd -d s8containers-bundle/1.0.1/Product SUNWs8brandk

I was missing this part !!


3.1) Installing required patches

pkgadd -d s8containers-bundle/1.0.1/Product SUNWs8brandk

Processing package instance <SUNWs8brandk> from </opt/zone_patches/s8containers-bundle/1.0.1/Product>

Solaris 8 Containers: solaris8 brand support RTU(sparc) 11.10.0,REV=2008.09.20.18.50

Copyright 2008 Sun Microsystems, Inc. All rights reserved.

Use is subject to license terms.

Using </> as the package base directory.

## Processing package information.

## Processing system information.

8 package pathnames are already properly installed.

## Verifying package dependencies.

## Verifying disk space requirements.

## Checking for conflicts with packages already installed.


The following files are already installed on the system and are being

used by another package:

/usr/share/man/man5/solaris8.5

Do you want to install these conflicting files [y,n,?,q] y

## Checking for setuid/setgid programs.

Installing Solaris 8 Containers: solaris8 brand support RTU as <SUNWs8brandk>

## Installing part 1 of 1.

/usr/lib/brand/solaris8/files/patches/109147-44.zip

/usr/lib/brand/solaris8/files/patches/109221-01.zip

/usr/lib/brand/solaris8/files/patches/111023-03.zip

/usr/lib/brand/solaris8/files/patches/111431-01.zip

/usr/lib/brand/solaris8/files/patches/112050-04.zip

/usr/lib/brand/solaris8/files/patches/112605-04.zip

/usr/lib/brand/solaris8/files/patches/order

/usr/share/man/man5/solaris8.5

[ verifying class <none> ]


Installation of <SUNWs8brandk> was successful.


bash-3.2# pkginfo | egrep brand

system SUNWs8brandk Solaris 8 Containers: solaris8 brand support RTU <----- Package installed

system SUNWs8brandr Solaris 8 Containers: solaris8 brand support (Root)

system SUNWs8brandu Solaris 8 Containers: solaris8 brand support (Usr)

system SUNWs9brandr Solaris 9 Containers: solaris9 brand support (Root)

system SUNWs9brandu Solaris 9 Containers: solaris9 brand support (Usr)


3.2) Creating zone and importing flar file

bash-3.2#

bash-3.2# zonecfg -z s8-zone

s8-zone: No such zone configured

Use 'create' to begin configuring a new zone.

zonecfg:s8-zone> create -t SUNWsolaris8

zonecfg:s8-zone> set zonepath=/export/zones/sol8-zone

zonecfg:s8-zone> set autoboot=true

zonecfg:s8-zone> add net

zonecfg:s8-zone:net> set address=10.163.X.X

zonecfg:s8-zone:net> set physical=vnet0

zonecfg:s8-zone:net> end

zonecfg:s8-zone> verify

zonecfg:s8-zone> commit

zonecfg:s8-zone> exit

bash-3.2# zoneadm -z s8-zone install -u -a /opt/s8-zone.flar

/export/zones/sol8-zone must not be group readable.

/export/zones/sol8-zone must not be group executable.

/export/zones/sol8-zone must not be world readable.

/export/zones/sol8-zone must not be world executable.

could not verify zonepath /export/zones/sol8-zone because of the above errors.

zoneadm: zone s8-zone failed to verify


We are having a right issue over the zone directory

bash-3.2# chmod 700 sol8-zone/

bash-3.2# zoneadm -z s8-zone install -u -a /opt/s8-zone.flar

Log File: /var/tmp/s8-zone.install.9485.log

Source: /opt/s8-zone.flar

Installing: This may take several minutes...

Postprocessing: This may take several minutes...

Result: Installation completed successfully.

Log File: /export/zones/sol8-zone/root/var/log/s8-zone.install.9485.log

bash-3.2#

From doc id 1019682.1

Zone Migration and Initial Boot (similar for Solaris 9 branded zones)


During the process of installing the solaris8 branded zone, a physical-to-virtual conversion is automatically performed.

When a solaris8 branded zone is migrated to a new host, this process must be repeated to ensure that the zone is optimized to run on the new host.

The first time that the zone attempts to boot on the new host it will detect whether the s8_p2v conversion command has been run.

The zone will not boot if the command has not been run again.

/usr/lib/brand/solaris8/s8_p2v is part of package SUNWs8brandu

bash-3.2# /usr/lib/brand/solaris8/s8_p2v s8-zone

[Wed Aug 19 13:12:53 PDT 2015] S20_apply_patches: Unpacking patch: 109147-44

[Wed Aug 19 13:12:53 PDT 2015] S20_apply_patches: Installing patch: 109147-44

Checking installed patches...

Patch 109147-44 has already been applied.

See patchadd(1M) for instructions.

Patchadd is terminating.

[Wed Aug 19 13:12:54 PDT 2015] S20_apply_patches: Unpacking patch: 111023-03

[Wed Aug 19 13:12:54 PDT 2015] S20_apply_patches: Installing patch: 111023-03

Checking installed patches...

Patch 111023-03 has already been applied.

See patchadd(1M) for instructions.

Patchadd is terminating.

[Wed Aug 19 13:12:54 PDT 2015] S20_apply_patches: Unpacking patch: 111431-01

[Wed Aug 19 13:12:54 PDT 2015] S20_apply_patches: Installing patch: 111431-01


Checking installed patches...

This patch is obsoleted by patch 108993-11 which has already

been applied to this system.


Patchadd is terminating.

[Wed Aug 19 13:12:55 PDT 2015] S20_apply_patches: Unpacking patch: 112605-04

[Wed Aug 19 13:12:55 PDT 2015] S20_apply_patches: Installing patch: 112605-04

Checking installed patches...

Patch 112605-04 has already been applied.

See patchadd(1M) for instructions.

Patchadd is terminating.

[Wed Aug 19 13:12:56 PDT 2015] S20_apply_patches: Unpacking patch: 112050-04

[Wed Aug 19 13:12:56 PDT 2015] S20_apply_patches: Installing patch: 112050-04

Checking installed patches...

Patch 112050-04 has already been applied.

See patchadd(1M) for instructions.

Patchadd is terminating.

[Wed Aug 19 13:12:56 PDT 2015] S20_apply_patches: Unpacking patch: 109221-01

[Wed Aug 19 13:12:56 PDT 2015] S20_apply_patches: Installing patch: 109221-01

Checking installed patches...

This patch is obsoleted by patch 109318-30 which has already

been applied to this system.

Patchadd is terminating.


3.3) Starting zone

bash-3.2# zoneadm -z s8-zone boot

bash-3.2#

bash-3.2# zoneadm list

global

s8-zone

bash-3.2#

After making the initial setup of the zone ,we can login and verify the status of the same

bash-3.2# zlogin -C s8-zone

[Connected to zone 's8-zone' console]

bash-2.03# more /etc/release

Solaris 8 HW 12/02 s28s_hw1wos_06a SPARC

Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.

Assembled 12 December 2002

bash-2.03#


https://community.oracle.com/docs/DOC-920418


CONTENT

1) Getting the flar files from the Physical Systems (Part 2)
2) Creating LDOM (Part 3)
3) Creating Solaris 8 zone (Part 4)
4) Creating Solaris 9 zone (Part 5)
5) Moving between Primary/Guest Domain and Zones (Part 6)


Solaris Branded Zones running on a LDOM - Part 3/6

2) Creating LDOM

root@t5-2:/vpool/ldoms/legacy_systems# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-c--  UART    256   511G     0.0%  0.0%  7d 19h 8m

2.1) Creating LDOM default services

root@t5-2:/# ldm add-vds primary-vds0 primary
root@t5-2:/# ldm add-vsw net-dev=net0 primary-vsw0 primary
root@t5-2:/# ldm add-vcc port-range=5000-5100

2.2 ) Assigning resources for primary domain

root@t5-2:/# ldm set-core 2 primary
root@t5-2:/# ldm set-memory 16G primary
root@t5-2:/# ldm add-config initial
root@t5-2:/# init 0

2.3) Creating our ldom (legacy_systems), where the branded zones will run and assign resources

root@t5-2:~# ldm add-domain legacy-systems
root@t5-2:~# ldm add-vcpu 16 legacy-systems
root@t5-2:~# ldm add-memory 16G legacy-systems
root@t5-2:~# ldm add-vnet vnet1 primary-vsw0 legacy-systems

2.4) Creating vdisks and virtual disk services

# mkfile 40g /vpool/ldoms/legacy_systems/disks/sol10-disk0
# mkfile 40g /vpool/ldoms/legacy_systems/disks/sol10-disk1

# ldm add-vdsdev /vpool/ldoms/legacy_systems/disks/sol10-disk0 legsys-sol10-disk0@primary-vds0
# ldm add-vdsdev /vpool/ldoms/legacy_systems/disks/sol10-disk1 legsys-sol10-disk1@primary-vds0

# ldm add-vdisk disk0-sol legsys-sol10-disk0@primary-vds0 legacy-systems
# ldm add-vdisk disk1-sol legsys-sol10-disk1@primary-vds0 legacy-systems

2.5) Adding Solaris iso image, to install ldom

# ldm add-vdsdev /vpool/solaris_isos/sol10/sol-10-u10-ga2-sparc-dvd.iso sol10_iso@primary-vds0
# ldm add-vdisk sol10_iso sol10_iso@primary-vds0 legacy-system


2.6) Verify configuration

root@t5-2:/# ldm list-constraints legacy-systems
DOMAIN
legacy-systems
UUID
95c37be0-b762-caf8-eef0-c1775274995a

CONTROL
  failure-policy=ignore
  extended-mapin-space=on
  cpu-arch=native
  rc-add-policy=
  shutdown-group=15

VCPU
  COUNT: 16

MEMORY
  SIZE: 16G

CONSTRAINT
  threading=max-throughput

NETWORK
  NAME SERVICE ID DEVICE MAC MODE PVID VID MTU MAXBW LINKPROP
  vnet1 primary-vsw0 0 1

DISK
  NAME VOLUME TOUT ID
  disk0-sol legsys-sol10-disk0@primary-vds0 0
  disk1-sol legsys-sol10-disk1@primary-vds0 1
  sol10_iso sol10_iso@primary-vds0 2

root@t5-2:/# ldm list-services
VCC
  NAME LDOM PORT-RANGE
  primary-vcc0 primary 5000-5100

VSW
  NAME LDOM MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
  primary-vsw0 primary 00:14:4f:fb:d6:16 net0 0 switch@0 1 1 1500 on

VDS
  NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
  primary-vds0 primary legsys-sol10-disk0 /vpool/ldoms/legacy_systems/disks/sol10-disk0
legsys-sol10-disk1 /vpool/ldoms/legacy_systems/disks/sol10-disk1
sol10_iso /vpool/solaris_isos/sol10/sol-10-u10-ga2-sparc-dvd.iso

2.7) Binding ldom and start

root@t5-2:/# ldm bind legacy-systems

root@t5-2:/# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 0.8% 0.8% 3h 49m
legacy-systems bound ------ 5000 16 16G

root@t5-2:/# ldm start legacy-systems
LDom legacy-systems started

root@t5-2:/#
root@t5-2:/# ldm list

NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME

primary active -n-cv- UART 16 16G 0.2% 0.2% 3h 49m
legacy-systems active -t---- 5000 16 16G 4.6% 4.3% 6s

2.8) Connect to the LDOM and install Solaris

root@t5-2:/# telnet localhost 5000
Trying ::1...
Paused: press any key to continue, or 'q' to quit^


Connecting to console "legacy-systems" in group "legacy-systems" ....
Press ~? for control options ..

{0} ok
{0} ok
{0} ok devalias
sol10_iso /virtual-devices@100/channel-devices@200/disk@2
disk1-sol /virtual-devices@100/channel-devices@200/disk@1
disk0-sol /virtual-devices@100/channel-devices@200/disk@0
vnet1 /virtual-devices@100/channel-devices@200/network@0
net /virtual-devices@100/channel-devices@200/network@0
disk /virtual-devices@100/channel-devices@200/disk@0
virtual-console /virtual-devices/console@1
name aliases

{0} ok boot sol10_iso

Boot device: /virtual-devices@100/channel-devices@200/disk@2 File and args:
SunOS Release 5.10 Version Generic_147440-01 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface vnet0...
Skipped interface vnet0
Setting up Java. Please wait...
Serial console, reverting to text install
Beginning system identification...
Searching for configuration file(s)...
Search complete.
Discovering additional network configuration...

Installation complete
Executing SolStart postinstall phase...
Executing finish script "patch_finish"...

Finish script patch_finish execution completed.
Executing JumpStart postinstall phase...

The begin script log 'begin.log'
is located in /var/sadm/system/logs after reboot.

The finish script log 'finish.log'
is located in /var/sadm/system/logs after reboot.

Launching installer. Please Wait...

Installing Additional Software
|-1%--------------25%-----------------50%-----------------75%--------------100%|

  Pausing for 30 seconds at the "Summary" screen. The wizard will continue to
  the next step unless you select "Pause". Enter 'p' to pause. Enter 'c' to
  continue. [c]

  Pausing for 90 seconds at the "Reboot" screen. The wizard will continue to
  the next step unless you select "Pause". Enter 'p' to pause. Enter 'c' to
  continue. [c]
Creating boot_archive for /a
updating /a/platform/sun4v/boot_archive
syncing file systems... done
[CPU 00:03:4] hcall_mach_sir called
rebooting...
Resetting...
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD from HV.
NOTICE: Starting additional cpus.
NOTICE: Initializing LDC services.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.

SPARC T5-2, No Keyboard
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.37.2, 16.0000 GB memory available, Serial #83513409.
Ethernet address 0:14:4f:fa:50:41, Host ID: 84fa5041.

Boot device: disk:a File and args:
SunOS Release 5.10 Version Generic_147440-01 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Hostname: solaris10-legacy
Configuring devices.

Now we can access to the ldom

solaris10-legacy console login: root
Password:
Aug 21 15:08:56 solaris10-legacy login: ROOT LOGIN /dev/console

Last login: Fri Aug 21 07:36:06 on console
Oracle Corporation SunOS 5.10 Generic Patch January 2005

# bash

bash-3.2# more /etc/release
  Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
bash-3.2#


https://community.oracle.com/docs/DOC-920418

CONTENT

1) Getting the flar files from the Physical Systems (Part 2)
2) Creating LDOM (Part 3)
3) Creating Solaris 8 zone (Part 4)
4) Creating Solaris 9 zone (Part 5)
5) Moving between Primary/Guest Domain and Zones (Part 6)


Solaris Branded Zones running on a LDOM - Part 2/6

1) Getting the flar files from the Physical Systems

We have 2 servers v210 and v240, from where we got the flar files for our branded zones

We have a v240, running Solaris 9

bash-2.05# prtdiag -v
System Configuration: Sun Microsystems sun4u Sun Fire V240
System clock frequency: 167 MHZ
Memory size: 8GB

System PROM revisions:
----------------------
OBP 4.30.4.a 2010/01/06 14:48 Sun Fire V210/V240,Netra 210/240
OBDIAG 4.30.4 2010/01/06 15:01

bash-2.05# more /etc/release
Solaris 9 4/04 s9s_u6wos_08a SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 March 2004


We have a V210 server, running Solaris 8

bash-2.03# more /etc/release
Solaris 8 HW 12/02 s28s_hw1wos_06a SPARC
Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
Assembled 12 December 2002

bash-2.03# uname -a
SunOS v210 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Fire-V210
bash-2.03#

###### Flar File from the V210 Server (Solaris 8) ######

# flarcreate -S -n s8-zone /opt/sol8_zone/s8-zone.flar

Determining which filesystems will be included in the archive...
Creating the archive...
2686455 blocks
Archive creation complete.

###### Flar File from the V240 Server (Solaris 9) ######

bash-2.05# flarcreate -S -n s9-zone /opt/sol9-zone/s9-zone.flar
Full Flash
Checking integrity...
Integrity OK.
Running precreation scripts...
Precreation scripts done.
Creating the archive...
2709414 blocks
Archive creation complete.

https://community.oracle.com/docs/DOC-920418

CONTENT

1) Getting the flar files from the Physical Systems (Part 2)
2) Creating LDOM (Part 3)
3) Creating Solaris 8 zone (Part 4)
4) Creating Solaris 9 zone (Part 5)
5) Moving between Primary/Guest Domain and Zones (Part 6)