Saturday, 10 May 2014

How to create IPS repository in solaris 11.2 & installing solaris-desktop server ??

1)Download all 4 iPS repos along install-repo.sh script & checksum file
-d destination directory
-s sorce directory (4 repos placed location if script is not in that location)
-I create Image
-v verbose
-c compress
# ksh -x install-repo.ksh  -d Solaris11.2 -I -v -c
+ ZIPCNT=4
+ typeset -i ZIPCNT
+ mkiso=false
+ typeset mkiso
+ ckfile=''
+ typeset ckfile
+ CKSUM=/usr/bin/md5sum
+ typeset CKSUM
+ [ 5 -eq 0 ]
+ pwd
+ ZIPLOC=/IPS
+ typeset ZIPLOC
+ getopts Ii:s:d:vch char
+ filesys=Solaris11.2
+ [ ! -d Solaris11.2 ]
+ [[ Solaris11.2 == . ]]
+ getopts Ii:s:d:vch char
+ mkiso=true
+ typeset mkiso
+ getopts Ii:s:d:vch char
+ verify=true
+ typeset verify
+ getopts Ii:s:d:vch char
+ checkmd=true
+ typeset checkmd
+ getopts Ii:s:d:vch char
+ [ -z '' ]
+ head -1
+ ls -t /IPS/sol-11_2-beta-repo-1of4.zip
+ 2> /dev/null
+ zip1=/IPS/sol-11_2-beta-repo-1of4.zip
+ echo /IPS/sol-11_2-beta-repo-1of4.zip
+ sed 's|.*/\(.*\)-repo.*|\1|'
+ head -1
+ image=sol-11_2-beta
+ typeset image
+ [ true '=' true ]
+ ckfile=/IPS/sol-11_2-beta-repo-md5sums.txt
+ [ ! -f /IPS/sol-11_2-beta-repo-md5sums.txt ]
+ zipnum=1
+ typeset -i zipnum
+ rebuild=false
+ typeset rebuild
+ [ -d Solaris11.2/publisher/solaris ]
+ [ /IPS/sol-11_2-beta-repo-md5sums.txt '!=' '' ]
+ [ ! -f /IPS/sol-11_2-beta-repo-md5sums.txt ]
+ echo '\nComparing checksums of downloaded files...\c'
Comparing checksums of downloaded files...+ 1> /tmp/cksum1369
+ cd /IPS
+ /usr/bin/md5sum sol-11_2-beta-repo-1of4.zip sol-11_2-beta-repo-2of4.zip sol-11_2-beta-repo-3of4.zip sol-11_2-beta-repo-4of4.zip
+ diff /IPS/sol-11_2-beta-repo-md5sums.txt /tmp/cksum1369
+ echo 'done. Checksums match.\n'
done. Checksums match.
+ [ ! 1 -gt 4 ]
+ zipname=sol-11_2-beta-repo-1of4.zip
+ [ ! -f /IPS/sol-11_2-beta-repo-1of4.zip ]
+ echo 'Uncompressing sol-11_2-beta-repo-1of4.zip...\c'
Uncompressing sol-11_2-beta-repo-1of4.zip...+ unzip -qd Solaris11.2 /IPS/sol-11_2-beta-repo-1of4.zip
+ echo done.
done.
+ zipnum=zipnum+1
+ [ ! 2 -gt 4 ]
+ zipname=sol-11_2-beta-repo-2of4.zip
+ [ ! -f /IPS/sol-11_2-beta-repo-2of4.zip ]
+ echo 'Uncompressing sol-11_2-beta-repo-2of4.zip...\c'
Uncompressing sol-11_2-beta-repo-2of4.zip...+ unzip -qd Solaris11.2 /IPS/sol-11_2-beta-repo-2of4.zip
+ echo done.
done.
+ zipnum=zipnum+1
+ [ ! 3 -gt 4 ]
+ zipname=sol-11_2-beta-repo-3of4.zip
+ [ ! -f /IPS/sol-11_2-beta-repo-3of4.zip ]
+ echo 'Uncompressing sol-11_2-beta-repo-3of4.zip...\c'
Uncompressing sol-11_2-beta-repo-3of4.zip...+ unzip -qd Solaris11.2 /IPS/sol-11_2-beta-repo-3of4.zip
+ echo done.
done.
+ zipnum=zipnum+1
+ [ ! 4 -gt 4 ]
+ zipname=sol-11_2-beta-repo-4of4.zip
+ [ ! -f /IPS/sol-11_2-beta-repo-4of4.zip ]
+ echo 'Uncompressing sol-11_2-beta-repo-4of4.zip...\c'
Uncompressing sol-11_2-beta-repo-4of4.zip...+ unzip -qd Solaris11.2 /IPS/sol-11_2-beta-repo-4of4.zip
+ echo done.
done.
+ zipnum=zipnum+1
+ [ ! 5 -gt 4 ]
+ echo 'Repository can be found in Solaris11.2.'
Repository can be found in Solaris11.2.
+ [ false '=' true ]
+ [ true '=' true ]
+ pkgrepo -s Solaris11.2 verify
Initiating repository verification.
+ [ true '=' true ]
+ echo 'Building ISO image...\c'
Building ISO image...+ echo sol-11_2-beta
+ /usr/gnu/bin/tr a-z A-Z
+ VNAME=SOL-11_2-BETA
+ cd Solaris11.2
+ /usr/bin/mkisofs -o /IPS/sol-11_2-beta-repo.iso -no-limit-pathtables -l -allow-leading-dots -A 'Oracle Solaris sol-11_2-beta Release Repository' -publisher 'Copyright 2014 Oracle and/or its affiliates. All rights reserved.' -p pkg-inquiry_ww@oracle.com -R -uid 0 -gid 0 -V SOL-11_2-BETA_REPO -v .
+ 1> /IPS/mkiso.log 2>& 1
+ [ 0 -gt 0 ]
+ echo done.
done.
+ echo 'ISO image and instructions for using the ISO image are at:'
ISO image and instructions for using the ISO image are at:
+ echo /IPS/sol-11_2-beta-repo.iso
/IPS/sol-11_2-beta-repo.iso
+ echo /IPS/README-repo-iso.txt
/IPS/README-repo-iso.txt
root@Guest2:/IPS# clear
root@Guest2:/IPS# ls
install-repo.ksh                sol-11_2-beta-repo-2of4.zip     sol-11_2-beta-repo-md5sums.txt
mkiso.log                       sol-11_2-beta-repo-3of4.zip     sol-11_2-beta-repo.iso
sol-11_2-beta-repo-1of4.zip     sol-11_2-beta-repo-4of4.zip     Solaris11.2
2) set publisher
# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://pkg.oracle.com/solaris/beta/
# svcs pkg/server
STATE          STIME    FMRI
disabled       23:26:26 svc:/application/pkg/server:default
# svccfg -s pkg/server
svc:/application/pkg/server> listprop
pkg                                                            application
pkg/address                                                   net_address
pkg/cfg_file                                                  astring
pkg/content_root                                              astring     usr/share/lib/pkg
pkg/debug                                                     astring
pkg/file_root                                                 astring
pkg/inst_root                                                 astring     /var/pkgrepo
pkg/log_access                                                astring     none
pkg/log_errors                                                astring     stderr
pkg/mirror                                                    boolean     false
pkg/pkg_root                                                  astring     /
pkg/port                                                      count       80
pkg/proxy_base                                                astring
pkg/readonly                                                  boolean     true
pkg/socket_timeout                                            count       60
pkg/sort_file_max_size                                        astring
pkg/ssl_cert_file                                             astring
pkg/ssl_dialog                                                astring     smf
pkg/ssl_key_file                                              astring
pkg/standalone                                                boolean     true
pkg/threads                                                   count       60
pkg/writable_root                                             astring
pkg_bui                                                        application
pkg_bui/feed_description                                      ustring
pkg_bui/feed_icon                                             ustring     web/_themes/pkg-block-icon.png
pkg_bui/feed_logo                                             ustring     web/_themes/pkg-block-logo.png
pkg_bui/feed_name                                             ustring     "package repository feed"
pkg_bui/feed_window                                           count       24
pkg_secure                                                     application
pkg_secure/read_authorization                                 astring     solaris.smf.read.pkg-server
pkg_secure/ssl_key_passphrase                                 astring
fs                                                             dependency
fs/entities                                                   fmri        svc:/system/filesystem/local
fs/grouping                                                   astring     require_all
fs/restart_on                                                 astring     none
fs/type                                                       astring     service
autofs                                                         dependency
autofs/entities                                               fmri        svc:/system/filesystem/autofs
autofs/grouping                                               astring     optional_all
autofs/restart_on                                             astring     none
autofs/type                                                   astring     service
ntp                                                            dependency
ntp/entities                                                  fmri        svc:/network/ntp
ntp/grouping                                                  astring     optional_all
ntp/restart_on                                                astring     none
ntp/type                                                      astring     service
network                                                        dependency
network/entities                                              fmri        svc:/milestone/network
network/grouping                                              astring     require_all
network/restart_on                                            astring     none
network/type                                                  astring     service
manifestfiles                                                  framework
manifestfiles/lib_svc_manifest_application_pkg_pkg-server_xml astring     /lib/svc/manifest/application/pkg/pkg-server.xml
general                                                        framework
general/entity_stability                                      astring     Unstable
start                                                          method
start/exec                                                    astring     "%{pkg/pkg_root}/lib/svc/method/svc-pkg-server %m"
start/timeout_seconds                                         count       0
start/type                                                    astring     method
stop                                                           method
stop/exec                                                     astring     "%{pkg/pkg_root}/lib/svc/method/svc-pkg-server %m %{restarter/contract}"
stop/timeout_seconds                                          count       30
stop/type                                                     astring     method
tm_common_name                                                 template
tm_common_name/C                                              ustring     "image packaging repository"
svc:/application/pkg/server> setprop pkg/inst_root="/IPS/Solaris11.2/"
svc:/application/pkg/server> listprop
pkg                                                            application
pkg/address                                                   net_address
pkg/cfg_file                                                  astring
pkg/content_root                                              astring     usr/share/lib/pkg
pkg/debug                                                     astring
pkg/file_root                                                 astring
pkg/log_access                                                astring     none
pkg/log_errors                                                astring     stderr
pkg/mirror                                                    boolean     false
pkg/pkg_root                                                  astring     /
pkg/port                                                      count       80
pkg/proxy_base                                                astring
pkg/readonly                                                  boolean     true
pkg/socket_timeout                                            count       60
pkg/sort_file_max_size                                        astring
pkg/ssl_cert_file                                             astring
pkg/ssl_dialog                                                astring     smf
pkg/ssl_key_file                                              astring
pkg/standalone                                                boolean     true
pkg/threads                                                   count       60
pkg/writable_root                                             astring
pkg/inst_root                                                 astring     /IPS/Solaris11.2/
pkg_bui                                                        application
pkg_bui/feed_description                                      ustring
pkg_bui/feed_icon                                             ustring     web/_themes/pkg-block-icon.png
pkg_bui/feed_logo                                             ustring     web/_themes/pkg-block-logo.png
pkg_bui/feed_name                                             ustring     "package repository feed"
pkg_bui/feed_window                                           count       24
pkg_secure                                                     application
pkg_secure/read_authorization                                 astring     solaris.smf.read.pkg-server
pkg_secure/ssl_key_passphrase                                 astring
fs                                                             dependency
fs/entities                                                   fmri        svc:/system/filesystem/local
fs/grouping                                                   astring     require_all
fs/restart_on                                                 astring     none
fs/type                                                       astring     service
autofs                                                         dependency
autofs/entities                                               fmri        svc:/system/filesystem/autofs
autofs/grouping                                               astring     optional_all
autofs/restart_on                                             astring     none
autofs/type                                                   astring     service
ntp                                                            dependency
ntp/entities                                                  fmri        svc:/network/ntp
ntp/grouping                                                  astring     optional_all
ntp/restart_on                                                astring     none
ntp/type                                                      astring     service
network                                                        dependency
network/entities                                              fmri        svc:/milestone/network
network/grouping                                              astring     require_all
network/restart_on                                            astring     none
network/type                                                  astring     service
manifestfiles                                                  framework
manifestfiles/lib_svc_manifest_application_pkg_pkg-server_xml astring     /lib/svc/manifest/application/pkg/pkg-server.xml
general                                                        framework
general/entity_stability                                      astring     Unstable
start                                                          method
start/exec                                                    astring     "%{pkg/pkg_root}/lib/svc/method/svc-pkg-server %m"
start/timeout_seconds                                         count       0
start/type                                                    astring     method
stop                                                           method
stop/exec                                                     astring     "%{pkg/pkg_root}/lib/svc/method/svc-pkg-server %m %{restarter/contract}"
stop/timeout_seconds                                          count       30
stop/type                                                     astring     method
tm_common_name                                                 template
tm_common_name/C                                              ustring     "image packaging repository"
svc:/application/pkg/server> exit
# svcadm refresh pkg/server
# svcadm enable pkg/server
# svcs pkg/server
STATE          STIME    FMRI
online         12:32:37 svc:/application/pkg/server:default
# pkg set-publisher -G '*' -g http://xx.xx.xx.xx/ solaris
# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://xx.xx.xx.xx/

3)installing solaris-desktop server
# pkg install solaris-desktop
           Packages to install: 313
            Services to change:  13
       Create boot environment:  No
Create backup boot environment: Yes
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            313/313   47366/47366  490.0/490.0  4.2M/s
PHASE                                          ITEMS
Installing new actions                   77564/77564
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           1/1
# pkg info solaris-desktop
          Name: group/system/solaris-desktop
       Summary: Oracle Solaris Desktop
   Description: Provides an Oracle Solaris desktop environment
      Category: Meta Packages/Group Packages
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.2.0.0.37.4
Packaging Date: April 23, 2014 04:44:42 PM
          Size: 5.46 kB
          FMRI: pkg://solaris/group/system/solaris-desktop@0.5.11,5.11-0.175.2.0.0.37.4:20140423T164442Z

# pkg info entire
          Name: entire
       Summary: Incorporation to lock all system packages to the same build
   Description: This package constrains system package versions to the same
                build.  WARNING: Proper system update and correct package
                selection depend on the presence of this incorporation.
                Removing this package will result in an unsupported system.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.2.0.0.37.1
Packaging Date: April 23, 2014 06:15:13 PM
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.2.0.0.37.1:20140423T181513Z

# pkg install locale/extra
           Packages to install:   3
            Services to change:   1
       Create boot environment:  No
Create backup boot environment: Yes
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                3/3     2820/2820    84.5/84.5  8.1M/s
PHASE                                          ITEMS
Installing new actions                     3502/3502
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           1/1

Thursday, 1 May 2014

ILOM(Integrated Lights Out Manager ) booting logs??

-->ILOM uses LINUX as RTOS

mtdblock2: 0x00060000-0x00080000 : "e1"
mtdblock3: 0x00080000-0x00200000 : "k1"
mtdblock4: 0x00200000-0x01000000 : "r1"
mtdblock5: 0x01000000-0x01060000 : "u2"
mtdblock6: 0x01060000-0x01080000 : "e2"
mtdblock7: 0x01080000-0x01200000 : "k2"
mtdblock8: 0x01200000-0x02000000 : "r2"
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-rpx.o: i2c MPC8xx module version 2.6.1 (20010830)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
ip_conntrack version 2.1 (1024 buckets, 8192 max) - 292 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 68k init
modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.22/modules.dep (No such file or directory)
Creating /var tmpfs
Creating directories in /var...done.
Creating /var/log tmpfs...done.
Activating swap.
Calculating module dependencies... done.
Loading modules...
    fpga
Warning: loading /lib/modules/2.4.22/misc/fpga/fpga.o will taint the kernel: non-GPL license - Proprietary
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Platform ID      : 1
Minor revision   : 0
Major revision   : 5
FPGA power status : 80
  (SYS_POK_EN  !DC_POK  !POK_OIO  !POK_VMEMR  !POK_VMEML  !POK_VCORE  !POK_PSU1  !POK_PSU0 )
BR2: 0xf2000000/0x1000000/0xf2000401/0xff0001fc
FPGA init OK: base f2000000, size 1000000 (major 120)
Module fpga loaded, with warnings
    fpga_flash
Warning: loading /lib/modules/2.4.22/misc/fpga_flash/fpga_flash.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module fpga_flash loaded, with warnings
    immap
Warning: loading /lib/modules/2.4.22/misc/immap/immap.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module immap loaded, with warnings
All modules loaded.
Checking all file systems...
fsck (busybox 1.9.0, 2012-12-11 22:35:57 PST)
Setting kernel variables ...
kernel.core_pattern = /coredump/%h.%e.core
kernel.core_uses_pid = 1
net.ipv4.ip_local_port_range = 3100 7075
... done.
Mounting local filesystems...
Identifying DOC Device Type(G3/G4/H3) ...

Warning: /lib/modules/2.4.22/misc/tffs/tffs_h3.o symbol for parameter prio not found
Warning: loading /lib/modules/2.4.22/misc/tffs/tffs_h3.o will taint the kernel: non-GPL license - Proprietary
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
tffs: TrueFFS driver 7100.76
tffs: will not use IRQ
tffs: Looking for G4/P4 MDOC Devices while assuming IF_CFG=16.
tffs: Looking for G4/P4 MDOC Devices while assuming IF_CFG=8.
tffs: Flow: G4_docWindowBaseAddress Exit (NOT FOUND).
tffs: Looking for G3/P3 MDOC Devices while assuming IF_CFG=16.
tffs: Looking for G3/P3 MDOC Devices while assuming IF_CFG=8.
tffs: Looking for H1 DOC at address 0xcd14e000
tffs: DOCH found
tffs: Socket 0 in addr 0xf4000000
tffs: Device 0x0: size 0x1db00000 HW sector 0x200 (recommended 0x1000)
tffs: use major device number 100
Partition check:
 tffsa: tffsa1 tffsa2 tffsa3
tffs:     disk partition: dev_number=0x6401, 65534 sectors, start_sector=1
tffs:     disk partition: dev_number=0x6402, 65536 sectors, start_sector=65535
tffs:     disk partition: dev_number=0x6403, 112000 sectors, start_sector=131071
Module tffs_h3 loaded, with warnings
Loaded TFFS kernel module /lib/modules/2.4.22/misc/tffs/tffs_h3.o
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on tffs(100,1), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,0), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,2), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,4), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on tffs(100,3), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Mounted all disk partitions.
Checking configuration files state ...
Image date:  Tue Dec 11 23:55:47 PST 2012       Image revision: 77080
Conf date:   Tue Dec 11 23:55:47 PST 2012       Conf revision:  77080
Configuration files state good after upgrade.
Loaded IFC configuration file.
Created links for vbsc
Running ldconfig...done
Setting the System Clock using the Hardware Clock as reference...
System Clock set. Local time: Sun Apr  6 13:57:10 GMT 2014
Setting up networking...done.
Hostname: ORACLESP-BDL1023923.
Setting up IP spoofing protection: rp_filter.
Configuring IPv6...done
Configuring network interfaces...eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
done.
Starting portmap daemon: portmap.
Initializing random number generator...done.
Incrementing bootcount ... done (9)
populating memstore vars from disk
INIT: Entering runlevel: 3
Preparsing sensor.xml...
Starting system log daemon: syslogd and klogd.
Starting capidirect daemon:   Done
Starting Boot Timer.
Starting user mgmt upgrade program: usrmgt_upgrade.
Starting the Health Monitor Daemon...
Starting portmap daemon: portmap.
Starting capidirectd: Done.
Starting Network Interface Plugging Daemon: eth0.
Starting IPMI Stack...... Done.
SSH RSA Host Key Files already exist. Skipping key creation ...
SSH DSA Host Key Files already exist. Skipping key creation ...
Starting sshd.
Starting BBR daemon...
bbrd started after 1 seconds.
Starting periodic command scheduler: cron.
Starting Serial Server :seriald .
Starting Servicetags discoverer: stdiscoverer.
Starting Servicetags listener: stlistener.
ORACLESP-BDL1023923 login: admin
Password:
-->

Tuesday, 29 April 2014

how to reset SC admin password??


1)power on server
ALOM BOOTMON v1.6.1
ALOM Build Release: 001
Reset register: f0000000 EHRS ESRS LLRS SWRS

ALOM POST 1.0

Dual Port Memory Test, PASSED.
TTY External - Internal Loopback Test
TTY External - Internal Loopback Test, PASSED.
TTYC - Internal Loopback Test
TTYC - Internal Loopback Test, PASSED.
TTYD - Internal Loopback Test
TTYD - Internal Loopback Test, PASSED.
Memory Data Lines Test
Memory Data Lines Test, PASSED.
Memory Address Lines Test
  Slide address bits to test open address lines
  Test for shorted address lines
Memory Address Lines Test, PASSED.
Boot Sector FLASH CRC Test
Boot Sector FLASH CRC Test, PASSED.
2)press escape key
press e to erase ALOM NVRAM
press r to rebuturn boot prompt

Return to Boot Monitor for Handshake  ESC keypress detected.
ALOM <ESC> Menu
e - Erase ALOM NVRAM.
m - Run POST Menu.
R - Reset ALOM.
r - Return to bootmon.
Your selection: e
ALOM NVRAM erased.
ALOM <ESC> Menu
e - Erase ALOM NVRAM.
m - Run POST Menu.
R - Reset ALOM.
r - Return to bootmon.
Your selection: r
ALOM POST 1.0
   Status = 00007fff
Returned from Boot Monitor and Handshake

Instruction CACHE Test
  DISABLE the I-CACHE
  ENABLE the I-CACHE
  Verify I-CACHE Performance Increase
Instruction CACHE Test, PASSED.
Memory Cells Test
  Counting UP:    Write data:  00000000
  Counting DOWN:  Read - Verify - Write data:  ffffffff
  Counting UP:    Read - Verify - Write data:  55aa33cc
Memory Cells Test, PASSED.
Data CACHE Test
  Verify D-CACHE Performance Increase
    D-CACHE Performance Increase I-CACHE Disabled
    D-CACHE Performance Increase I-CACHE Enabled
  Verify D-CACHE Memory
Data CACHE Test, PASSED.
Main Sectors FLASH CRC Test
Main Sectors FLASH CRC Test, PASSED.
Loading the runtime image... VxWorks running.
Starting Advanced Lights Out Manager CMT v1.6.1
Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Current mode: NORMAL
Attaching network interface lo0... done.
Attaching network interface motfec0.... done.
Booting from Segment 0

Sun(tm) Advanced Lights Out Manager CMT v1.6.1

SC Alert: SC System booted.

Full VxDiag Tests
BASIC TOD TEST
  Read the TOD Clock:
SC Alert: Preceding SC reset due to watchdog
TUE APR 29 03:33:28 2014
  Wait, 1 - 3 seconds
  Read the TOD Clock:        TUE APR 29 03:33:30 2014
BASIC TOD TEST, PASSED
ETHERNET CPU LOOPBACK TEST
  50 BYTE PACKET   - a 0 in field of 1's.
  50 BYTE PACKET   - a 1 in field of 0's.
  900 BYTE PACKET  - pseudo-random data.
ETHERNET CPU LOOPBACK TEST, PASSED
Full VxDiag Tests - PASSED

    Status summary  -  Status = 7FFF
       VxDiag    -          -  PASSED
       POST      -          -  PASSED
       LOOPBACK  -          -  PASSED
       I2C       -          -  PASSED
       EPROM     -          -  PASSED
       FRU PROM  -          -  PASSED
       ETHERNET  -          -  PASSED
       MAIN CRC  -          -  PASSED
       BOOT CRC  -          -  PASSED
       TTYD      -          -  PASSED
       TTYC      -          -  PASSED
       MEMORY    -          -  PASSED
       MPC885    -          -  PASSED

APR 29 03:33:35 FATAL: Check DIMM configuration, Not enough valid dram channels
APR 29 03:33:35 FATAL: No Valid MEMORY configuration
APR 29 03:33:35 FATAL: The HOST Processor has a configuration error, forcing a power-down
sc>
3) then reset password
sc> usershow
Warning: the usershow command is being ignored because the password for admin is not set.
Setting password for admin.
New password: *********
Re-enter new password: *********
sc> usershow
Username         Permissions      Password
admin            cuar             Assigned
sc>
 

Friday, 25 April 2014

How to upgrade JAVA version & Degrade Java version in solaris?

1)Extract given software
#tar -xvf jdk-6u45-solaris-sparc.tar
# ls
COPYRIGHT                    SUNWj6dev                    SUNWjavadb-client            SUNWjavadb-docs              jdk-6u45-solaris-sparc.tar
LICENSE                      SUNWj6jmp                    SUNWjavadb-common            SUNWjavadb-javadoc
README.html                  SUNWj6man                    SUNWjavadb-core              SUNWjavadb-service
SUNWj6cfg                    SUNWj6rt                     SUNWjavadb-demo              THIRDPARTYLICENSEREADME.txt
2)check current java version
# pkginfo -l SUNWj6cfg
   PKGINST:  SUNWj6cfg
      NAME:  JDK 6.0 Host Config. (1.6.0_30)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.05.57
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform host specific configuration
    PSTAMP:  jdk-sol-sparc20111110063558
  INSTDATE:  Oct 20 2013 18:07
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        5 installed pathnames
                   5 shared pathnames
                   3 directories
# pkginfo -l SUNWj6dev
   PKGINST:  SUNWj6dev
      NAME:  JDK 6.0 Dev. Tools (1.6.0_30)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.05.57
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform development tools
    PSTAMP:  jdk-sol-sparc20111110063605
  INSTDATE:  Oct 20 2013 18:07
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      590 installed pathnames
                  32 shared pathnames
                  67 directories
                  31 executables
              156426 blocks used (approx)

# pkginfo -l SUNWj6jmp
ERROR: information for "SUNWj6jmp" was not found
# pkginfo -l SUNWj6man
   PKGINST:  SUNWj6man
      NAME:  JDK 6.0 Man Pages (1.6.0_30)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.12.07.16.37
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform manual pages
    PSTAMP:  jdk-sol-sparc20111110063622
  INSTDATE:  Oct 20 2013 18:07
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       45 installed pathnames
                   3 shared pathnames
                   5 directories
                1326 blocks used (approx)
# pkginfo -l SUNWj6rt
   PKGINST:  SUNWj6rt
      NAME:  JDK 6.0 Runtime Env. (1.6.0_30)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.05.57
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform virtual machine and core class libraries
    PSTAMP:  jdk-sol-sparc20111110063532
  INSTDATE:  Oct 20 2013 18:07
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      955 installed pathnames
                  57 shared pathnames
                 154 directories
                  82 executables
              240523 blocks used (approx)
# pkginfo -l SUNWjavadb-client
ERROR: information for "SUNWjavadb-client" was not found
# pkginfo -l SUNWjavadb-common
   PKGINST:  SUNWjavadb-common
      NAME:  Java DB common files
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  10.6.2,REV=2010.10.29
   BASEDIR:  /opt
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Common files for Java DB
    PSTAMP:  astra0720101029034436
  INSTDATE:  Oct 08 2013 11:09
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        6 installed pathnames
                   1 shared pathnames
                   1 directories
                 100 blocks used (approx)
# pkginfo -l SUNWjavadb-core
   PKGINST:  SUNWjavadb-core
      NAME:  Java DB core
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  10.6.2,REV=2010.10.29
   BASEDIR:  /opt
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Core software for Java DB
    PSTAMP:  astra0720101029034438
  INSTDATE:  Oct 08 2013 11:09
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       42 installed pathnames
                   1 shared pathnames
                   3 directories
                  19 executables
                8726 blocks used (approx)
# pkginfo -l SUNWjavadb-demo
ERROR: information for "SUNWjavadb-demo" was not found
# pkginfo -l SUNWjavadb-docs
ERROR: information for "SUNWjavadb-docs" was not found
# pkginfo -l SUNWjavadb-javadoc
ERROR: information for "SUNWjavadb-javadoc" was not found
# pkginfo -l SUNWjavadb-service
ERROR: information for "SUNWjavadb-service" was not found

# java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Server VM (build 20.5-b03, mixed mode)

3) Check java version installed
# pwd
/usr
# cd jdk
# ls
instances      j2sdk1.4.2_32  jdk1.5.0_30    jdk1.6.0_30    latest         packages
# cd jdk1.6.0_30
# ls
COPYRIGHT                    README_zh_CN.html            include                      register.html                src.zip
LICENSE                      THIRDPARTYLICENSEREADME.txt  jre                          register_ja.html
README.html                  bin                          lib                          register_zh_CN.html
README_ja.html               demo                         man                          sample
# cd bin
# ls
ControlPanel   idlj           javac          jconsole       jmap           jstat          orbd           rmiregistry    tnameserv
HtmlConverter  jar            javadoc        jcontrol       jps            jstatd         pack200        schemagen      unpack200
appletviewer   jarsigner      javah          jdb            jrunscript     jvisualvm      policytool     serialver      wsgen
apt            java           javap          jhat           jsadebugd      keytool        rmic           servertool     wsimport
extcheck       java-rmi.cgi   javaws         jinfo          jstack         native2ascii   rmid           sparcv9        xjc
# ./java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Server VM (build 20.5-b03, mixed mode)
# echo $PATH
/usr/bin:/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin/:/usr/local/sbin
#
# ls -ld /usr/java
lrwxrwxrwx   1 root     other         15 Oct 20  2013 /usr/java -> jdk/jdk1.6.0_30
# pwd
/usr/jdk/instances/jdk1.6.0/bin
# cd /usr
# cd jdk
# ls
instances      j2sdk1.4.2_32  jdk1.5.0_30    jdk1.6.0_30    latest         packages

4)add following packages

#pkgadd -d . SUNWj6cfg SUNWj6dev SUNWj6man SUNWj6rt
(OR)
# pkgadd -d . SUNWj6cfg
Processing package instance <SUNWj6cfg> from </tmp/today>
JDK 6.0 Host Config. (1.6.0_45)(sparc) 1.6.0,REV=2006.11.29.05.57
Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   3 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.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWj6cfg> [y,n,?] y
Installing JDK 6.0 Host Config. (1.6.0_45) as <SUNWj6cfg>
## Installing part 1 of 1.
[ verifying class <none> ]
[ verifying class <preserve> ]
## Executing postinstall script.
Installation of <SUNWj6cfg> was successful.
# pkgadd -d . SUNWj6dev
Processing package instance <SUNWj6dev> from </tmp/today>
JDK 6.0 Dev. Tools (1.6.0_45)(sparc) 1.6.0,REV=2006.11.29.05.57
Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
   500 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.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWj6dev> [y,n,?] y
Installing JDK 6.0 Dev. Tools (1.6.0_45) as <SUNWj6dev>
## Installing part 1 of 1.
:
:
:
/usr/jdk/instances/jdk1.6.0/src.zip
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWj6dev> was successful.
# ls
COPYRIGHT                    SUNWj6dev                    SUNWjavadb-client            SUNWjavadb-docs              jdk-6u45-solaris-sparc.tar
LICENSE                      SUNWj6jmp                    SUNWjavadb-common            SUNWjavadb-javadoc
README.html                  SUNWj6man                    SUNWjavadb-core              SUNWjavadb-service
SUNWj6cfg                    SUNWj6rt                     SUNWjavadb-demo              THIRDPARTYLICENSEREADME.txt
# pkgadd -d . SUNWj6man
Processing package instance <SUNWj6man> from </tmp/today>
JDK 6.0 Man Pages (1.6.0_45)(sparc) 1.6.0,REV=2006.12.07.16.37
Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.
:
:
:
/usr/jdk/instances/jdk1.6.0/man/man1/xjc.1
[ verifying class <none> ]
Installation of <SUNWj6man> was successful.
# ls
COPYRIGHT                    SUNWj6dev                    SUNWjavadb-client            SUNWjavadb-docs              jdk-6u45-solaris-sparc.tar
LICENSE                      SUNWj6jmp                    SUNWjavadb-common            SUNWjavadb-javadoc
README.html                  SUNWj6man                    SUNWjavadb-core              SUNWjavadb-service
SUNWj6cfg                    SUNWj6rt                     SUNWjavadb-demo              THIRDPARTYLICENSEREADME.txt
# pwd
/tmp/today
# cd /usr/jdk
# ls
instances      j2sdk1.4.2_32  jdk1.5.0_30    jdk1.6.0_30    latest         packages
# java -varesion
Unrecognized option: -varesion
Could not create the Java virtual machine.
# java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Server VM (build 20.5-b03, mixed mode)
#
#
#
# cd /tmp/today
# ls
COPYRIGHT                    SUNWj6dev                    SUNWjavadb-client            SUNWjavadb-docs              jdk-6u45-solaris-sparc.tar
LICENSE                      SUNWj6jmp                    SUNWjavadb-common            SUNWjavadb-javadoc
README.html                  SUNWj6man                    SUNWjavadb-core              SUNWjavadb-service
SUNWj6cfg                    SUNWj6rt                     SUNWjavadb-demo              THIRDPARTYLICENSEREADME.txt
# pkgadd -d . SUNWj6rt
Processing package instance <SUNWj6rt> from </tmp/today>
JDK 6.0 Runtime Env. (1.6.0_45)(sparc) 1.6.0,REV=2006.11.29.05.57
Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
   122 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.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWj6rt> [y,n,?] y
Installing JDK 6.0 Runtime Env. (1.6.0_45) as <SUNWj6rt>
## Installing part 1 of 1.
/usr/jdk/instances/jdk1.6.0/COPYRIGHT
/usr/jdk/instances/jdk1.6.0/bin/java
:
:
/usr/jdk/instances/jdk1.6.0/jre/lib/zi/Africa/Maseru
/usr/jdk/instances/jdk1.6.0/jre/lib/zi/Africa/Mbabane
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWj6rt> was successful.
5)OBSERVER links automatically generates
# ls
COPYRIGHT                    SUNWj6dev                    SUNWjavadb-client            SUNWjavadb-docs              jdk-6u45-solaris-sparc.tar
LICENSE                      SUNWj6jmp                    SUNWjavadb-common            SUNWjavadb-javadoc
README.html                  SUNWj6man                    SUNWjavadb-core              SUNWjavadb-service
SUNWj6cfg                    SUNWj6rt                     SUNWjavadb-demo              THIRDPARTYLICENSEREADME.txt
# cd /usr/jdk
# ls
instances      j2sdk1.4.2_32  jdk1.5.0_30    jdk1.6.0_45    latest         packages
# ls -ld /usr/java
lrwxrwxrwx   1 root     other         15 Apr 25 23:35 /usr/java -> jdk/jdk1.6.0_45
# java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)

# pkginfo -l SUNWj6cfg SUNWj6dev SUNWj6rt SUNWj6man
   PKGINST:  SUNWj6cfg
      NAME:  JDK 6.0 Host Config. (1.6.0_45)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.05.57
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform host specific configuration
    PSTAMP:  sc14ar01-z620130326145941
  INSTDATE:  Apr 25 2014 23:33
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        5 installed pathnames
                   5 shared pathnames
                   3 directories
   PKGINST:  SUNWj6dev
      NAME:  JDK 6.0 Dev. Tools (1.6.0_45)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.05.57
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform development tools
    PSTAMP:  sc14ar01-z620130326145944
  INSTDATE:  Apr 25 2014 23:33
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      590 installed pathnames
                  32 shared pathnames
                  67 directories
                  31 executables
              155920 blocks used (approx)
   PKGINST:  SUNWj6man
      NAME:  JDK 6.0 Man Pages (1.6.0_45)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.12.07.16.37
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform manual pages
    PSTAMP:  sc14ar01-z620130326145945
  INSTDATE:  Apr 25 2014 23:34
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       45 installed pathnames
                   3 shared pathnames
                   5 directories
                1326 blocks used (approx)
   PKGINST:  SUNWj6rt
      NAME:  JDK 6.0 Runtime Env. (1.6.0_45)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.05.57
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform virtual machine and core class libraries
    PSTAMP:  sc14ar01-z620130326145940
  INSTDATE:  Apr 25 2014 23:35
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      955 installed pathnames
                  57 shared pathnames
                 154 directories
                  82 executables
              239947 blocks used (approx)

6)ADD follwing pkg for JDK
pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx
# pkginfo -l SUNWj6rtx
   PKGINST:  SUNWj6rtx
      NAME:  JDK 6.0 64-bit Runtime Env. (1.6.0_45)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.04.58
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform virtual machine and core class libraries (64 bit)
    PSTAMP:  sc14ar01-z520130326143954
  INSTDATE:  Apr 26 2014 13:54
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       85 installed pathnames
                   8 shared pathnames
                  16 directories
                  65 executables
               53034 blocks used (approx)
# pkginfo -l SUNWj6dvx
   PKGINST:  SUNWj6dvx
      NAME:  JDK 6.0 64-bit Dev. Tools (1.6.0_45)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.04.58
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform development tools (64-bit)
    PSTAMP:  sc14ar01-z520130326143955
  INSTDATE:  Apr 26 2014 13:54
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       53 installed pathnames
                  12 shared pathnames
                  21 directories
                  28 executables
                3356 blocks used (approx)
# pkginfo -l SUNWj6dmx
   PKGINST:  SUNWj6dmx
      NAME:  JDK 6.0 64-bit Demo Programs (1.6.0_26)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.6.0,REV=2006.11.29.04.58
   BASEDIR:  /usr
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Java Platform demonstration applications and applets (64-bit)
    PSTAMP:  j2se-build20110504060514
  INSTDATE:  May 05 2012 00:44
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       37 installed pathnames
                  21 shared pathnames
                  29 directories
                   8 executables
                 296 blocks used (approx)

(0R) if link not generated automatically uneed to generate link

Need to edit /etc/profile  file
PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/jdk/instances/jdk1.6.0/bin
export PATH

#cd /usr
Remove java file which is refering old java version path.
#rm java
Create softlink with New java version.
#ln -s  jdk/jdk1.6.0_45 /usr/java

1)TO revert degrade java version java1.6 to java 1.5
# ls -ld /usr/java
lrwxrwxrwx   1 root     root          15 Apr 25 23:52 /usr/java -> jdk/jdk1.6.0_45
# java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)
# rm /usr/java
# pwd
/usr
# ln -s jdk/jdk1.5.0_30 /usr/java
# java -version
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03)
Java HotSpot(TM) Server VM (build 1.5.0_30-b03, mixed mode)

How to configure Link Based IPMP in solaris 10?

1)make entry in /etc/hosts file
# cat /etc/hosts
#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
10.25.12.15   Guest1  loghost
2)make link base config , start in.mapthd daemon & restart service.
# cat /etc/hostname.vnet0
Guest1 netmask + broadcast + group testgrp0  up
# cat /etc/hostname.vnet1
group testgrp0  up

#/usr/lib/inet/in.mpathd
# svcadm restart svc:/network/physical:default
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
vnet0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.25.12.15 netmask ffffff00 broadcast 119.43.101.255
        groupname testgrp0
        ether 0:14:4f:f9:9:11
vnet1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
        groupname testgrp0
        ether 0:14:4f:fb:e1:4e
3)testing of IPMP.
# if_mpadm -d vnet0
Apr 25 20:41:38 Guest1 in.mpathd[7920]: Successfully failed over from NIC vnet0 to NIC vnet1
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
vnet0: flags=89000842<BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER,OFFLINE> mtu 0 index 2
        inet 0.0.0.0 netmask 0
        groupname testgrp0
        ether 0:14:4f:f9:9:11
vnet1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
        groupname testgrp0
        ether 0:14:4f:fb:e1:4e
vnet1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.25.12.15 netmask ffffff00 broadcast 119.43.101.255

# if_mpadm -r vnet0
Apr 25 20:42:05 Guest1 in.mpathd[7920]: Successfully failed back to NIC vnet0
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
vnet0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.25.12.15 netmask ffffff00 broadcast 119.43.101.255
        groupname testgrp0
        ether 0:14:4f:f9:9:11
vnet1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
        groupname testgrp0
        ether 0:14:4f:fb:e1:4e