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