Saturday 10 May 2014

While doing KJP unzip command not working throwing error & lack of excutable persmissons to scripts in Patches How to resolve ??

# unzip 10_Recommended.zip
Archive:  10_Recommended.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of 10_Recommended.zip or
        10_Recommended.zip.zip, and cannot find 10_Recommended.zip.ZIP, period.

Solution:-
Before extracting REcommended patches its home directory should contain 777 permission
other wise extraced files may not get executable permissions due to this patching does not happens
if unzip Command not support latest Zip files use JAR Command
#jar -xf 10_Recommended.zip (it extracts in current location)
-->Hear Wipro is home directory which does not have 777 permissions so jar extracts files does not
have executable privilages so we face below problem

# ./installpatchset --s10patchset
Setup ..

Recommended OS Patchset Solaris 10 SPARC (2014.05.07)
The patch set will complete installation in this session. No intermediate
reboots are required.
Application of patches started : 2014.05.10 10:47:25
Applying 120900-04 (  1 of 373) ... skipped
Applying 121133-02 (  2 of 373) ... skipped
Applying 119254-89 (  3 of 373) ... failed
Application of patches finished : 2014.05.10 10:47:28

Following patches were skipped :
 Patches already applied
 120900-04     121133-02
Following patch failed to apply :
 119254-89
Aborting due to failure while applying patch 119254-89.
Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.
Install log files written :
  /var/sadm/install_data/s10s_rec_patchset_short_2014.05.10_10.47.25.log
  /var/sadm/install_data/s10s_rec_patchset_verbose_2014.05.10_10.47.25.log
  /var/sadm/install_data/s10s_rec_patchset_failed_2014.05.10_10.47.25.log
 # pwd
/wipro/10_Recommended
 # ls
10_Recommended.README  Copyright              installcluster         patch_order            patchset.conf
10_Recommended.html    LEGAL_LICENSE.TXT      installpatchset        patches
# patchadd 119254-89
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
Checking patches that you specified for installation.
Done!

Approved patches will be installed in this order:
119254-89

ERROR: The /wipro/10_Recommended/patches/119254-89/prepatch script contains invalid permissions. Please make the script executable and reinstall 119254-89.
WARNING: Skipping patch
# ls -l /wipro/10_Recommended/patches/119254-89/prepatch
-rw-r--r--   1 root     root         539 May 10 09:45 /wipro/10_Recommended/patches/119254-89/prepatch
 # chmod 755 /wipro/10_Recommended/patches/119254-89/prepatch
 # patchadd 119254-89
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
Checking patches that you specified for installation.
Done!

Approved patches will be installed in this order:
119254-89

ERROR: The /wipro/10_Recommended/patches/119254-89/postpatch script contains invalid permissions. Please make the script executable and reinstall 119254-89.
WARNING: Skipping patch
# ls -l /wipro/10_Recommended/patches/119254-89/prepatch
-rwxr-xr-x   1 root     root         539 May 10 09:45 /wipro/10_Recommended/patches/119254-89/prepatch
 # ls -l /wipro/10_Recommended/patches/119254-89/postpatch
-rw-r--r--   1 root     root        2951 May 10 09:45 /wipro/10_Recommended/patches/119254-89/postpatch
You have new mail in /var/mail/root
 # chmod 755 /wipro/10_Recommended/patches/119254-89/postpatch

--->after change permission of Prepatch & Postpatch scripts patch installed successfully & repeat for following patch also.

 # patchadd 119254-89
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
Checking patches that you specified for installation.
Done!

Approved patches will be installed in this order:
119254-89

Checking installed patches...
Executing prepatch script...
Installing patch packages...
Patch 119254-89 has been successfully installed.
See /var/sadm/patch/119254-89/log for details
Executing postpatch script...
Patch packages installed:
  SUNWinstall-patch-utils-root
  SUNWpkgcmdsr
  SUNWpkgcmdsu
  SUNWswmt
 # cd ..
 # ls
10_Recommended.README  Copyright              installcluster         patch_order            patchset.conf
10_Recommended.html    LEGAL_LICENSE.TXT      installpatchset        patches
 # ./installpatchset --s10patchset
Setup ..

Recommended OS Patchset Solaris 10 SPARC (2014.05.07)
The patch set will complete installation in this session. No intermediate
reboots are required.
Application of patches started : 2014.05.10 10:50:23
Applying 120900-04 (  1 of 373) ... skipped
Applying 121133-02 (  2 of 373) ... skipped
Applying 119254-89 (  3 of 373) ... skipped
Applying 119317-01 (  4 of 373) ... skipped
Applying 121296-01 (  5 of 373) ... skipped
Applying 138215-01 (  6 of 373) ... skipped
Applying 148336-01 (  7 of 373) ... failed
Application of patches finished : 2014.05.10 10:50:30

Following patches were skipped :
 Patches already applied
 120900-04     119254-89     119317-01     121296-01     138215-01
 121133-02
Following patch failed to apply :
 148336-01
Aborting due to failure while applying patch 148336-01.
Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.
Install log files written :
  /var/sadm/install_data/s10s_rec_patchset_short_2014.05.10_10.50.23.log
  /var/sadm/install_data/s10s_rec_patchset_verbose_2014.05.10_10.50.23.log
  /var/sadm/install_data/s10s_rec_patchset_failed_2014.05.10_10.50.23.log
 # cd 148336-01
 # ls
148336-01.html     README.148336-01   SUNWxcu4           postbackout        prebackout
LEGAL_LICENSE.TXT  SUNWesu            patchinfo          postpatch          prepatch
 # ls -l
total 50
-rw-r--r--   1 root     root        7121 May 10 10:09 148336-01.html
-rw-r--r--   1 root     root         183 May 10 10:09 LEGAL_LICENSE.TXT
-rw-r--r--   1 root     root        3306 May 10 10:09 README.148336-01
drwxr-xr-x   4 root     root         512 May 10 10:09 SUNWesu
drwxr-xr-x   4 root     root         512 May 10 10:09 SUNWxcu4
-rw-r--r--   1 root     root         217 May 10 10:09 patchinfo
-rw-r--r--   1 root     root        1833 May 10 10:09 postbackout
-rw-r--r--   1 root     root        1829 May 10 10:09 postpatch
-rw-r--r--   1 root     root        2433 May 10 10:09 prebackout
-rw-r--r--   1 root     root        2429 May 10 10:09 prepatch
 # chmod 755 prepatch postpatch
 # ls -lrth
total 50
drwxr-xr-x   4 root     root         512 May 10 10:09 SUNWxcu4
-rw-r--r--   1 root     root         183 May 10 10:09 LEGAL_LICENSE.TXT
-rw-r--r--   1 root     root        2.4K May 10 10:09 prebackout
-rwxr-xr-x   1 root     root        1.8K May 10 10:09 postpatch
drwxr-xr-x   4 root     root         512 May 10 10:09 SUNWesu
-rw-r--r--   1 root     root        7.0K May 10 10:09 148336-01.html
-rwxr-xr-x   1 root     root        2.4K May 10 10:09 prepatch
-rw-r--r--   1 root     root        3.2K May 10 10:09 README.148336-01
-rw-r--r--   1 root     root        1.8K May 10 10:09 postbackout
-rw-r--r--   1 root     root         217 May 10 10:09 patchinfo
 # pwd
/wipro/10_Recommended/patches/148336-01
 # cd ..
 # patchadd 148336-01
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
Checking patches that you specified for installation.
Done!

Approved patches will be installed in this order:
148336-01

Checking installed patches...
Executing prepatch script...
Installing patch packages...
Patch 148336-01 has been successfully installed.
See /var/sadm/patch/148336-01/log for details
Executing postpatch script...
Patch packages installed:
  SUNWesu
  SUNWxcu4
 # cd ..
 # ls
10_Recommended.README  Copyright              installcluster         patch_order            patchset.conf
10_Recommended.html    LEGAL_LICENSE.TXT      installpatchset        patches
 # ./installpatchset --s10patchset
Setup .....

Recommended OS Patchset Solaris 10 SPARC (2014.05.07)
The patch set will complete installation in this session. No intermediate
reboots are required.
Application of patches started : 2014.05.10 10:53:19
Applying 120900-04 (  1 of 373) ... skipped
Applying 121133-02 (  2 of 373) ... skipped
Applying 119254-89 (  3 of 373) ... skipped
Applying 119317-01 (  4 of 373) ... skipped
Applying 121296-01 (  5 of 373) ... skipped
Applying 138215-01 (  6 of 373) ... skipped
Applying 148336-01 (  7 of 373) ... skipped
Applying 146054-07 (  8 of 373) ... failed
Application of patches finished : 2014.05.10 10:53:34

Following patches were skipped :
 Patches already applied
 120900-04     119254-89     121296-01     138215-01     148336-01
 121133-02     119317-01
Following patch failed to apply :
 146054-07
Aborting due to failure while applying patch 146054-07.
Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.
Install log files written :
  /var/sadm/install_data/s10s_rec_patchset_short_2014.05.10_10.53.19.log
  /var/sadm/install_data/s10s_rec_patchset_verbose_2014.05.10_10.53.19.log
  /var/sadm/install_data/s10s_rec_patchset_failed_2014.05.10_10.53.19.log
 # cd patches/146054-07
 # chmod 755 prepatch postpatch
 # pwd
/wipro/10_Recommended/patches/146054-07
 # pwd
/wipro/10_Recommended/patches/146054-07
------>so i changed recursively to all files in WIPRO HOmedirectory now KJP done successfully.

 # chmod -R 755 /wipro


 # ls
10_Recommended.README  Copyright              installcluster         patch_order            patchset.conf
10_Recommended.html    LEGAL_LICENSE.TXT      installpatchset        patches
 # ./installpatchset --s10patchset
Setup ....

Recommended OS Patchset Solaris 10 SPARC (2014.05.07)
The patch set will complete installation in this session. No intermediate
reboots are required.
Application of patches started : 2014.05.10 10:58:20
Applying 120900-04 (  1 of 373) ... skipped
Applying 121133-02 (  2 of 373) ... skipped
Applying 119254-89 (  3 of 373) ... skipped
..............
updated successfully

How to ugrade Solaris 11.1 to Soalris 11.2 ???

1)configure publisher of solaris 11.2 repo.
# pkg info entire
          Name: entire
       Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.1.13.6.0).
   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.  For
                more information see https://support.oracle.com/CSP/main/article
                ?cmd=show&type=NOT&doctype=REFERENCE&id=1501435.1.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11 (Oracle Solaris 11.1.13.6.0)
 Build Release: 5.11
        Branch: 0.175.1.13.0.6.0
Packaging Date: Fri Nov 08 21:15:57 2013
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.13.0.6.0:20131108T211557Z

#pkg set-publisher -G '*' -g http://xx.xx.xx.xx/ solaris
2)upgrade solaris 11.1 to solaris 11.2

# pkg update --accept
            Packages to remove:   3
           Packages to install:  94
            Packages to update: 447
           Mediators to change:   1
       Create boot environment: Yes
Create backup boot environment:  No
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            544/544   34949/34949  635.2/635.2  3.2M/s
PHASE                                          ITEMS
Removing old actions                       8266/8266
Installing new actions                   26008/26008
Updating modified actions                25534/25534
Updating package state database                 Done
Updating package cache                       450/450
Updating image state                            Done
Creating fast lookup database                   Done
A clone of solaris exists and has been updated and activated.
On the next boot the Boot Environment solaris-1 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.
# beadm list
BE        Active Mountpoint Space Policy Created
--        ------ ---------- ----- ------ -------
newbe     -      -          64.0K static 2014-04-24 21:29
solaris   N      /          7.54M static 2013-12-20 02:18
solaris-1 R      -          9.67G static 2014-05-10 13:00
3)take reboot & check configuration

#reboot
# 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: Wed Apr 23 18:15:13 2014
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.2.0.0.37.1:20140423T181513Z

NOTE:-
Now server is upgraded from solaris11.1 SRU 13.6 to Soalris 11.2

# ldm  -V
Logical Domains Manager (v 3.1.1.0.5)
        Hypervisor control protocol v 1.11
        Using Hypervisor MD v 1.4
System PROM:
        Hostconfig      v. 1.3.3.f      @(#)Hostconfig 1.3.3.f 2013/09/10 15:06
        Hypervisor      v. 1.12.3.c     @(#)Hypervisor 1.12.3.c 2013/09/10 14:48
        OpenBoot        v. 4.35.3       @(#)OpenBoot 4.35.3 2013/08/05 11:37

# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    12    19968M   1.5%  1.4%  5m
guest1           bound      ------  5001    16    8G
guest2           active     -n----  5002    16    16G      0.0%  0.0%  21m
secondary        active     -n--v-  5000    12    19G      0.0%  0.0%  13d 21h 36m

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:
-->