Wednesday, 8 January 2014

SOLARIS 11 GUEST DOMAIN INSTALLATION THROUGH AI SERVER

1)login to console
login as: root
Using keyboard-interactive authentication.
Password:
Oracle(R) Integrated Lights Out Manager
Version 3.2.1.5.f r83464
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
Warning: password is set to factory default.
Hostname: ORACLESP-AK00141515
->
->
-> start /host/console
Are you sure you want to start /HOST/console (y/n)? y
Serial console started.  To stop, type #.
2)to check ldoms
# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    32    32G      0.1%  0.1%  1d 20h 7m
 guest2        bound      ------  5007    32    64G
 guest3        bound      ------  5011    32    64G
 guest4        bound      ------  5006    32    64G
 guest5        bound      ------  5010    32    64G
 guest6        bound      ------  5009    32    64G
 guest7        bound      ------  5012    32    64G
 guest8        bound      ------  5005    32    64G
 guest9        bound      ------  5008    32    64G
 guest10        bound      ------  5004    32    64G
 guest1        bound      ------  5001    32    64G
 guest11        bound      ------  5002    32    64G
 guest12        bound      ------  5003    32    64G
 guest13         bound      ------  5013    32    64G
3)to check ldom services
# ldm list-services
VCC
    NAME             LDOM             PORT-RANGE
    primary-vcc0     primary          5000-5200
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:f8:9a:5d net4      0    switch@0              1               1                         1500         on
    primary-vsw1     primary          00:14:4f:fb:d7:c9 primaryaggr1 1    switch@1              1               1                         1500         on
    primary-vsw2     primary          00:14:4f:fb:c5:45 primaryaggr2 2    switch@2              1               1                         1500         on
VDS
    NAME             LDOM             VOLUME         OPTIONS          MPGROUP        DEVICE
    primary-vds0     primary           guest1_disk0                                 /dev/zvol/dsk/ldomvol/ guest1/disk0
                                       guest11_disk0                                 /dev/zvol/dsk/ldomvol/ guest11/disk0
                                       guest12_disk0                                 /dev/zvol/dsk/ldomvol/ guest12/disk0
                                       guest10_disk0                                 /dev/zvol/dsk/ldomvol/ guest10/disk0
                                       guest8_disk0                                 /dev/zvol/dsk/ldomvol/ guest8/disk0
                                       guest4_disk0                                 /dev/zvol/dsk/ldomvol/ guest4/disk0
                                       guest2_disk0                                 /dev/zvol/dsk/ldomvol/ guest2/disk0
                                       guest9_disk0                                 /dev/zvol/dsk/ldomvol/ guest9/disk0
                                       guest6_disk0                                 /dev/zvol/dsk/ldomvol/ guest6/disk0
                                       guest5_disk0                                 /dev/zvol/dsk/ldomvol/ guest5/disk0
                                       guest3_disk0                                 /dev/zvol/dsk/ldomvol/ guest3/disk0
                                       guest7_disk0                                 /dev/zvol/dsk/ldomvol/ guest7/disk0
                                       guest13_disk0                                 /dev/zvol/dsk/ldomvol/ guest13/disk0

4)to list specific ldoms
 # ldm list -l  guest2
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
 guest2        bound      ------  5007    32    64G
UUID
    38ebc77b-6a2d-4880-d022-d2899dc76fe8
MAC
    00:14:4f:f9:74:59
HOSTID
    0x84f97459
CONTROL
    failure-policy=ignore
    extended-mapin-space=on
    cpu-arch=native
    rc-add-policy=
    shutdown-group=15
DEPENDENCY
    master=
CORE
    CID    CPUSET
    28     (224, 225, 226, 227, 228, 229, 230, 231)
    29     (232, 233, 234, 235, 236, 237, 238, 239)
    30     (240, 241, 242, 243, 244, 245, 246, 247)
    31     (248, 249, 250, 251, 252, 253, 254, 255)
VCPU
    VID    PID    CID    UTIL NORM STRAND
    0      224    28                 100%
    1      225    28                 100%
    2      226    28                 100%
    3      227    28                 100%
    4      228    28                 100%
    5      229    28                 100%
    6      230    28                 100%
    7      231    28                 100%
    8      232    29                 100%
    9      233    29                 100%
    10     234    29                 100%
    11     235    29                 100%
    12     236    29                 100%
    13     237    29                 100%
    14     238    29                 100%
    15     239    29                 100%
    16     240    30                 100%
    17     241    30                 100%
    18     242    30                 100%
    19     243    30                 100%
    20     244    30                 100%
    21     245    30                 100%
    22     246    30                 100%
    23     247    30                 100%
    24     248    31                 100%
    25     249    31                 100%
    26     250    31                 100%
    27     251    31                 100%
    28     252    31                 100%
    29     253    31                 100%
    30     254    31                 100%
    31     255    31                 100%
MEMORY
    RA               PA               SIZE
    0x80000000       0x83000000000    64G
CONSTRAINT
    cpu=whole-core
    max-cores=unlimited
    threading=max-throughput
VARIABLES
    pm_boot_policy=disabled=0;ttfc=2000;ttmr=0;
NETWORK
    NAME             SERVICE                     ID   DEVICE     MAC               MODE   PVID VID                  MTU   LINKPROP
    vnet7_1          primary-vsw1@primary        0    network@0  00:14:4f:fb:d2:af        1                         1500
    vnet7_2          primary-vsw2@primary        1    network@1  00:14:4f:f8:36:9b        1                         1500
    vnet7_pro        primary-vsw0@primary        2    network@2  00:14:4f:f8:2d:f5        1                         1500
DISK
    NAME             VOLUME                      TOUT ID   DEVICE  SERVER         MPGROUP
    disk0             guest2_disk0@primary-vds0      0    disk@0  primary
VCONS
    NAME             SERVICE                     PORT   LOGGING
     guest2        primary-vcc0@primary        5007   on
5)login to guest domain console { to set network device ,network-boot-arguments for AI installation }
 # telnet 0 5001
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
Connecting to console " guest1" in group " guest1" ....
Press ~? for control options ..
Requesting Internet Address for 0:14:4f:fb:95:44
VNTSD commands
~# --Send break
~^B --Send alternate break
~. --Exit from this console
~w --Force write access
~n --Console next
~p --Console previous
~? --Help
Type  'go' to resume
{0} ok
{0} ok devalias
disk0                    /virtual-devices@100/channel-devices@200/disk@0
vnet9_pro                /virtual-devices@100/channel-devices@200/network@3
vnet1_pro                /virtual-devices@100/channel-devices@200/network@2
vnet1_2                  /virtual-devices@100/channel-devices@200/network@1
vnet1_1                  /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 nvalias net /virtual-devices@100/channel-devices@200/network@2
{0} ok devalias
net                      /virtual-devices@100/channel-devices@200/network@2
disk0                    /virtual-devices@100/channel-devices@200/disk@0
vnet9_pro                /virtual-devices@100/channel-devices@200/network@3
vnet1_pro                /virtual-devices@100/channel-devices@200/network@2
vnet1_2                  /virtual-devices@100/channel-devices@200/network@1
vnet1_1                  /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 setenv network-boot-arguments host-ip=10.10.10.50,router-ip=10.10.10.1,subnet-mask=255.255.255.0,hostname= guest1,file=http://10.10.10.20:5555/cgi-bin/wanboot-cgi
network-boot-arguments =  host-ip=10.10.10.50,router-ip=10.10.10.1,subnet-mask=255.255.255.0,hostname= guest1,file=http://10.10.10.20:5555/cgi-bin/wanboot-cgi
{0} ok
4)to install through network server
{0} ok boot net - install
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-8, No Keyboard
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.35.3, 64.0000 GB memory available, Serial #83441689.
Ethernet address 0:14:4f:f9:38:19, Host ID: 84f93819.

Boot device: /virtual-devices@100/channel-devices@200/network@2  File and args: - install
<time unavailable> wanboot info: WAN boot messages->console
<time unavailable> wanboot info: configuring /virtual-devices@100/channel-devices@200/network@2
<time unavailable> wanboot progress: wanbootfs: Read 368 of 368 kB (100%)
<time unavailable> wanboot info: wanbootfs: Download complete
Thu Nov 21 07:37:56 wanboot progress: miniroot: Read 251058 of 251058 kB (100%)
Thu Nov 21 07:37:56 wanboot info: miniroot: Download complete
SunOS Release 5.11 Version 11.1 64-bit
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
WARNING: Attempt to access service 'md-update' from domain 'unknown'
WARNov 21 13:07:54 STARAPP-4 ds: WARNING: ds@2: <data_nack: handle 0x200000001 reported as invalid
NING: ds@0: <data: invalid handle 0x200000001
Remounting root read/write
Probing for device nodes ...
Preparing network image for use
Downloading solaris.zlib
--2013-11-21 07:39:42--  http://10.10.10.20:5555/repository/ai-images/sru10.6//solaris.zlib
Connecting to 10.10.10.20:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 158720512 (151M) [text/plain]
Saving to: `/tmp/solaris.zlib'
100%[======================================>] 158,720,512 74.5M/s   in 2.0s
2013-11-21 07:39:44 (74.5 MB/s) - `/tmp/solaris.zlib' saved [158720512/158720512]
Downloading solarismisc.zlib
--2013-11-21 07:39:44--  http://10.10.10.20:5555/repository/ai-images/sru10.6//solarismisc.zlib
Connecting to 10.10.10.20:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12876800 (12M) [text/plain]
Saving to: `/tmp/solarismisc.zlib'
100%[======================================>] 12,876,800  81.0M/s   in 0.2s
2013-11-21 07:39:45 (81.0 MB/s) - `/tmp/solarismisc.zlib' saved [12876800/12876800]
Downloading .image_info
--2013-11-21 07:39:45--  http://10.10.10.20:5555/repository/ai-images/sru10.6//.image_info
Connecting to 10.10.10.20:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88 [text/plain]
Saving to: `/tmp/.image_info'
100%[======================================>] 88          --.-K/s   in 0s
2013-11-21 07:39:45 (7.16 MB/s) - `/tmp/.image_info' saved [88/88]
Done mounting image
Configuring devices.
Hostname:  guest1
Service discovery phase initiated
Service name to look up: default-sparc
Service discovery finished successfully
Process of obtaining install manifest initiated
Using the install manifest obtained via service discovery
 guest1 console login:
Automated Installation started
The progress of the Automated Installation will be output to the console
Detailed logging is in the logfile at /system/volatile/install_log
Press RETURN to get a login prompt at any time.
07:40:00    Using XML Manifest: /system/volatile/ai.xml
07:40:00    Using profile specification: /system/volatile/profile
07:40:00    Using service list file: /var/run/service_list
07:40:00    Starting installation.
07:40:00    0% Preparing for Installation
07:40:00    100% manifest-parser completed.
07:40:00    0% Preparing for Installation
07:40:00    1% Preparing for Installation
07:40:00    2% Preparing for Installation
07:40:01    3% Preparing for Installation
07:40:01    4% Preparing for Installation
07:40:01    6% target-discovery completed.
07:40:01    Selected Disk(s) : c3d0
07:40:01    10% target-selection completed.
07:40:01    12% ai-configuration completed.
07:40:01    14% var-share-dataset completed.
07:40:10    16% target-instantiation completed.
07:40:10    16% Beginning IPS transfer
07:40:10    Creating IPS image
07:40:12     Startup: Retrieving catalog 'solaris' ... Done
07:40:13     Startup: Caching catalogs ... Done
07:40:14     Startup: Refreshing catalog 'solaris' ... Done
07:40:14     Startup: Refreshing catalog 'reliance' ... Done
07:40:15     Startup: Caching catalogs ... Done
07:40:15    Installing packages from:
07:40:15        solaris
07:40:15            origin:  file:///net/10.10.10.20/repository/s11.1/
07:40:15        reliance
07:40:15            origin:  file:///net/10.10.10.20/repository/custom-ips/
07:40:15            origin:  file:///net/10.10.10.20/var/tmp/ril-pkgs/
07:40:16     Startup: Refreshing catalog 'solaris' ... Done
07:40:16     Startup: Refreshing catalog 'reliance' ... Done
07:40:20    Planning: Solver setup ... Done
07:40:21    Planning: Running solver ... Done
07:40:21    Planning: Finding local manifests ... Done
07:40:21    Planning: Fetching manifests:   0/817  0% complete
07:40:26    Planning: Fetching manifests: 102/817  12% complete
07:40:36    Planning: Fetching manifests: 302/817  36% complete
07:40:41    Planning: Fetching manifests: 442/817  54% complete
07:40:49    Planning: Fetching manifests: 502/817  61% complete
07:40:55    Planning: Fetching manifests: 602/817  73% complete
07:41:01    Planning: Fetching manifests: 702/817  85% complete
07:41:06    Planning: Fetching manifests: 817/817  100% complete

No comments:

Post a Comment