Tuesday 31 December 2013

WHAT HAPPENS VERITAS SF 6.1 INSTALLATION ON SOLARIS 11


NOTE:-
WHILE INSTALLING VXVM 6.1 ON SOALRIS 11 WHILE INSTALLING IT GENERATE LOCAL IPS REPOSITORY
WHILE UNINSTALLING VXVM 6.1 ON SOLARIS 11 IT REMOVE DIRECTLY WITH OUT CREATING LOCAL REPOSITORY
INSTALLING VXVM 6.1 ON SOLARIS 11:-
root@solaris2:~# ps -aef|grep -i install
    root  4258  4211   3 13:10:58 pts/1       0:54 /usr/bin/python2.6 /usr/bin/pkg install --accept --no-backup-be VRTSperl VRTSvl
    root  4291 26570   0 13:11:56 pts/2       0:00 grep -i install
root@solaris2:~# ptree 4258
783   /usr/lib/ssh/sshd
  26025 /usr/lib/ssh/sshd
    26026 /usr/lib/ssh/sshd
      26027 -bash
        3753  /tmp/dvd1-sol_sparc/sol11_sparc/perl/Sol11sparc/bin/perl -x -S -I
          4211  sh -c /usr/bin/pkg  set-publisher -p /tmp/dvd1-sol_sparc/sol11_
            4258  /usr/bin/python2.6 /usr/bin/pkg install --accept --no-backup-

root@solaris2:~# ps -aef|grep -i vrts
    root  4258  4211   3 13:10:58 pts/1       2:10 /usr/bin/python2.6 /usr/bin/pkg install --accept --no-backup-be VRTSperl VRTSvl
    root  4211  3753   0 13:10:45 pts/1       0:00 sh -c /usr/bin/pkg  set-publisher -p /tmp/dvd1-sol_sparc/sol11_sparc/pkgs/VRTSp....
    root  4333 26570   0 13:13:37 pts/2       0:00 grep -i vrTS
root@solaris2:~# /usr/bin/pkg  set-publisher -p /tmp/dvd1-sol_sparc/sol11_sparc/pkgs/VRTSpkgs.p5p/  Symantec
pkg set-publisher:
  Added publisher(s): Symantec
root@solaris2:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://10.66.10.105/
solaris                     origin   online F http://10.66.10.105:8082/
Symantec                    origin   online F file:///tmp/dvd1-sol_sparc/sol11_sparc/pkgs/VRTSpkgs.p5p/

root@solaris2:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://10.66.10.105/
solaris                     origin   online F http://10.66.10.105:8082/
Symantec                    origin   online F file:///tmp/dvd1-sol_sparc/sol11_sparc/pkgs/VRTSpkgs.p5p/

AFTER installtion completed in unset symantec publisher automatically
root@solaris2:~# pkg unset-publisher Symantec
root@solaris2:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://10.66.10.105/
solaris                     origin   online F http://10.66.10.105:8082/

while uninstalling:-
IT DOES NOT GENERATE IPS REPOSITORY , IT CHECK PKG DEPENDENCIES AND REMOVE PKGS
#/usr/bin/pkg search -Hl depend::VRTS*
require depend  VRTSperl        pkg:/VRTSvlic@3.2.61.10
require depend  VRTSvxvm        pkg:/VRTSaslapm@6.1.0.0
require depend  VRTSvlic        pkg:/VRTSvxvm@6.1.0.0
pkg: Search performance is degraded.
Run 'pkg rebuild-index' to improve search speed.
/usr/bin/awk      { idx=index($3, "@");       if (idx>0) {           pkg=substr ........
===============================================================================================
==============================================================================================


root@solaris2:/tmp/dvd1-sol_sparc/sol11_sparc# ./installer
                                       Symantec Storage Foundation and High Availability Solutions 6.1 Install Program
Copyright (c) 2013 Symantec Corporation. All rights reserved.  Symantec, the Symantec Logo are trademarks or registered trademarks of Symantec Corporation or
its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
The Licensed Software and Documentation are deemed to be "commercial computer software" and "commercial computer software documentation" as defined in FAR
Sections 12.212 and DFARS Section 227.7202.
Logs are being written to /var/tmp/installer-201312311302tkp while installer is in progress.

                                       Symantec Storage Foundation and High Availability Solutions 6.1 Install Program
Symantec Product                      Version Installed on solaris2    Licensed
================================================================================
Symantec Licensing Utilities (VRTSvlic) are not installed due to which products and licenses are not discovered.
Use the menu below to continue.

Task Menu:
    P) Perform a Pre-Installation Check       I) Install a Product
    C) Configure an Installed Product         G) Upgrade a Product
    O) Perform a Post-Installation Check      U) Uninstall a Product
    L) License a Product                      S) Start a Product
    D) View Product Descriptions              X) Stop a Product
    R) View Product Requirements              ?) Help
Enter a Task: [P,I,C,G,O,U,L,S,D,X,R,?] I

                                       Symantec Storage Foundation and High Availability Solutions 6.1 Install Program
     1)  Symantec Dynamic Multi-Pathing (DMP)
     2)  Symantec Cluster Server (VCS)
     3)  Symantec Storage Foundation (SF)
     4)  Symantec Storage Foundation and High Availability (SFHA)
     5)  Symantec Storage Foundation Cluster File System HA (SFCFSHA)
     6)  Symantec Storage Foundation for Oracle RAC (SF Oracle RAC)
     b)  Back to previous menu
Select a product to install: [1-6,b,q] 3
This Symantec product may contain open source and other third party materials that are subject to a separate license.  See the applicable Third-Party Notice
at http://www.symantec.com/about/profile/policies/eulas
Do you agree with the terms of the End User License Agreement as specified in the storage_foundation/EULA/en/EULA_SFHA_Ux_6.1.pdf file present on media?
[y,n,q,?] y

                                                       Symantec Storage Foundation 6.1 Install Program
     1)  Install minimal required packages - 377 MB required
     2)  Install recommended packages - 537 MB required
     3)  Install all packages - 539 MB required
     4)  Display packages to be installed for each option
Select the packages to be installed on all systems? [1-4,q,?] (2) 3
Enter the Solaris 11 Sparc system names separated by spaces: [q,?] (solaris2)
                                                       Symantec Storage Foundation 6.1 Install Program
                                                                           solaris2
Logs are being written to /var/tmp/installer-201312311302tkp while installer is in progress
    Verifying systems: 100%
    Estimated time remaining: (mm:ss) 0:00                                                                                                         8 of 8
    Checking system communication .................................................................................................................. Done
    Checking release compatibility ................................................................................................................. Done
    Checking installed product ..................................................................................................................... Done
    Checking prerequisite patches and packages ..................................................................................................... Done
    Checking platform version ...................................................................................................................... Done
    Checking file system free space ................................................................................................................ Done
    Checking product licensing ..................................................................................................................... Done
    Performing product prechecks ................................................................................................................... Done
System verification checks completed successfully

                                                       Symantec Storage Foundation 6.1 Install Program
                                                                           solaris2
The following Symantec Storage Foundation packages will be installed on all systems:
Package           Version              Package Description
VRTSperl          5.16.1.6             Perl Redistribution
VRTSvlic          3.2.61.10            Licensing
VRTSspt           6.1.0.0              Software Support Tools
VRTSvxvm          6.1.0.0              Volume Manager Binaries
VRTSaslapm        6.1.0.0              Volume Manager - ASL/APM
VRTSvxfs          6.1.0.0              File System
VRTSfsadv         6.1.0.0              File System Advanced Solutions
VRTSfssdk         6.1.0.0              File System Software Developer Kit
VRTSdbed          6.1.0.0              Storage Foundation Databases
VRTSodm           6.1.0.0              Oracle Disk Manager
VRTSsfmh          6.0.0.0              Storage Foundation Managed Host
VRTSsfcpi61       6.1.0.0              Storage Foundation Installer
Press [Enter] to continue:
A copy of a previous VM configuration is present on the system solaris2.
Do you want to restore and reuse the previous VM configuration of system solaris2 [y,n,q,?] (y)

                                                       Symantec Storage Foundation 6.1 Install Program
                                                                           solaris2
Logs are being written to /var/tmp/installer-201312311302tkp while installer is in progress
    Installing SF: 100%
    Estimated time remaining: (mm:ss) 0:00                                                                                                         3 of 3
    Performing SF preinstall tasks ................................................................................................................. Done
    Installing SF packages ......................................................................................................................... Done
    Performing SF postinstall tasks ................................................................................................................ Done
Symantec Storage Foundation Install completed successfully

                                                       Symantec Storage Foundation 6.1 Install Program
                                                                           solaris2
To comply with the terms of Symantec's End User License Agreement, you have 60 days to either:
 * Enter a valid license key matching the functionality in use on the systems
 * Enable keyless licensing and manage the systems with a Management Server. For more details visit http://go.symantec.com/sfhakeyless. The product is fully
functional during these 60 days.
     1)  Enter a valid license key
     2)  Enable keyless licensing and complete system licensing later
How would you like to license the systems? [1-2,q] (2)
Checking system licensing
                                                       Symantec Storage Foundation 6.1 Install Program
                                                                           solaris2
     1)  SF Standard
     2)  SF Enterprise
     b)  Back to previous menu
Select product mode to license: [1-2,b,q,?] (2)
Would you like to enable the Symantec Volume Replicator? [y,n,q] (n)
Registering SF license
SF vxkeyless key (SFENT) successfully registered on solaris2

                                                       Symantec Storage Foundation 6.1 Install Program
                                                                           solaris2
Logs are being written to /var/tmp/installer-201312311302tkp while installer is in progress
    Starting SF: 100%
    Estimated time remaining: (mm:ss) 0:00                                                                                                       15 of 15
    Performing SF configuration .................................................................................................................... Done
    Starting vxdmp ................................................................................................................................. Done
    Starting vxio .................................................................................................................................. Done
    Starting vxspec ................................................................................................................................ Done
    Starting vxconfigd ............................................................................................................................. Done
    Starting vxesd ................................................................................................................................. Done
    Starting vxrelocd .............................................................................................................................. Done
    Starting vxcached .............................................................................................................................. Done
    Starting vxconfigbackupd ....................................................................................................................... Done
    Starting vxattachd ............................................................................................................................. Done
    Starting vxportal .............................................................................................................................. Done
    Starting fdd ................................................................................................................................... Done
    Starting vxdbd ................................................................................................................................. Done
    Starting odm ................................................................................................................................... Done
    Performing SF poststart tasks .................................................................................................................. Done
Symantec Storage Foundation Startup completed successfully
The updates to VRTSaslapm package are released via the Symantec SORT web page: https://sort.symantec.com/asl. To make sure you have the latest version of
VRTSaslapm (for up to date ASLs and APMs), download and install the latest package from the SORT web page.
Checking online updates for Symantec Storage Foundation 6.1
        A connection attempt to https://sort.symantec.com to check for product updates failed.
        Visit https://sort.symantec.com to check for available product updates and information.
installer log files, summary file, and response file are saved at:
        /opt/VRTS/install/logs/installer-201312311302tkp
Would you like to view the summary file? [y,n,q] (n)
root@solaris2:/tmp/dvd1-sol_sparc/sol11_sparc#
root@solaris2:/tmp/dvd1-sol_sparc/sol11_sparc#
root@solaris2:/tmp/dvd1-sol_sparc/sol11_sparc#


 

Monday 30 December 2013

SOLARIS 11 IPS SETUP & PKG ADMINISTRATION

Hot to Create IPS:-
#lofiadm -a <full_path_to>/sol-11-1111-repo-full.iso /dev/lofi/1
#mount -F hsfs /dev/lofi/1 /mnt
#rsync -aP /mnt/repo <destination>
#umount /mnt
#lofiadm -d /dev/lofi/1

# zfs create -o mountpoint=/RILIPS rpool/ips
# df -kh /RILIPS
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ips               67G    31K        41G     1%    /RILIPS
# lofiadm -a /opt/sol-11-1111-repo-p01.iso
/dev/lofi/1
# mount -F hsfs /dev/lofi/1 /mnt
# cd /mnt
# ls
COPYRIGHT  NOTICES    README     repo
#rsync –aP /mnt/repo /RILIPS

repo/publisher/solaris/pkg/xvm-gui/
repo/publisher/solaris/pkg/xvm-gui/0.5.11%2C5.11-0.175.0.0.0.0.0%3A20110927T120851Z
        1550 100%    2.22kB/s    0:00:00 (xfer#147320, to-check=2/151751)
repo/publisher/solaris/pkg/xvm/
repo/publisher/solaris/pkg/xvm/0.5.11%2C5.11-0.160%3A20110228T165515Z
         309 100%    0.44kB/s    0:00:00 (xfer#147321, to-check=1/151751)
repo/publisher/solaris/tmp/
repo/publisher/solaris/tmp/lock
           0 100%    0.00kB/s    0:00:00 (xfer#147322, to-check=0/151751)
repo/publisher/solaris/trans/
sent 3346236849 bytes  received 2816848 bytes  6638362.13 bytes/sec
total size is 3332622832  speedup is 1.00
#umount /mnt
#lofiadm –d  /dev/lofi/1

# lofiadm -a /opt/sol-11-1111-repo-p02.iso
/dev/lofi/1
# mount -F hsfs /dev/lofi/1 /mnt
# df -kh /mnt
Filesystem             Size   Used  Available Capacity  Mounted on
/dev/lofi/1            3.2G   3.2G         0K   100%    /mnt
# cd /mnt
# ls
COPYRIGHT  NOTICES    README     repo
#rsync –aP /mnt/repo /RILIPS
………..
repo/publisher/solaris/file/ff/ffff2c12cfae4666bbeb37a16b09ef17934424ae
         591 100%    0.64kB/s    0:00:00 (xfer#142855, to-check=3/142992)
repo/publisher/solaris/file/ff/ffff8d7c04b69be14d4e42e0c9b75106368cf4b9
        1977 100%    2.15kB/s    0:00:00 (xfer#142856, to-check=2/142992)
repo/publisher/solaris/file/ff/ffffe8709466cd2ffc3d8f76d4cc0d17035f99ef
        3988 100%    4.33kB/s    0:00:00 (xfer#142857, to-check=1/142992)
sent 3226181810 bytes  received 2714812 bytes  5802150.26 bytes/sec
total size is 3213138366  speedup is 1.00
#umount /mnt
#lofiadm –d  /dev/lofi/1

# svcs pkg/server
STATE          STIME    FMRI
disabled       Mar_29   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/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-depot %m"
start/timeout_seconds                                         count       0
start/type                                                    astring     method
stop                                                           method
stop/exec                                                     astring     "%{pkg/pkg_root}/lib/svc/method/svc-pkg-depot %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 = /RILIPS/repo
svc:/application/pkg/server> listprop pkg/inst_root
pkg/inst_root astring     /RILIPS/repo
svc:/application/pkg/server> exit

# svcprop pkg/server|grep -i inst_root
pkg/inst_root astring /var/pkgrepo
# svcadm enable pkg/server
# svcadm refresh pkg/server
# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   http://pkg.oracle.com/solaris/release/

#pkg set-publisher -G '*' -g http://10.66.10.101/ solaris
# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   http://10.66.10.101/
#pkg rebuild-index
PHASE                                          ITEMS
Indexing Packages                            436/436
IN CLIENT
#pkg set-publisher -G '*' -g http://10.66.10.101/ solaris

PKG ADMINISTRATION
Fault Management Resource Identifiers:-
Scheme://<publisher>/<pkgname>@<version>:<timestamp>
Ex:-
pkg://solaris/driver/network/ethernet/bge@0.5.11,5.11-0.175.1.0.0.21.0:20120723T161616Z
schema=pkg
publisher=solaris
pkgname= driver/network/ethernet/bge
version=0.5.11,5.11-0.175.1.0.0.21.0
TimeStamp=20120723T161616Z
Version = component version + build version +major version +os update +SRU update +reserved +SRU build number + Nightly build number
Component version=0.5.11
Build version=5.11
Major release version=0.175
OS update=1
SRU update=0
Reserved =0
SRU build Number =21
Nightly build Number=0
Timestamp=YYYYMMDDTHHMMSSZ
Y=year M=month D=date H=hours M=minutes S=seconds
Getting Information About Software Packages :-
# pkg list <options> <pkg name>
-n option lists the newest version of each known package.
-s option lists only the package name and summary.
-v option lists the full package FMRI.
-u option lists all installed packages that have newer versions available.


root@rilcom:~# pkg list '*toolkit'
NAME (PUBLISHER)                                  VERSION                    IFO
system/dtrace/dtrace-toolkit                      0.99-0.175.0.0.0.2.1       i—
root@rilcom:~# pkg list -a '*toolkit'
NAME (PUBLISHER)                                  VERSION                    IFO
system/dtrace/dtrace-toolkit                      0.99-0.175.0.0.0.2.1       i—
To list all matching packages, including packages that cannot be installed in this image, use the -af option
root@rilcom:~# pkg list -af '*toolkit'
NAME (PUBLISHER)                                  VERSION                    IFO
developer/dtrace/toolkit                          0.99-0.173.0.0.0.1.0       --r
image/nvidia/cg-toolkit                           3.0.15-0.175.0.0.0.0.0     ---
system/dtrace/dtrace-toolkit                      0.99-0.175.0.0.0.2.1       i—
To list only the newest versions of these packages, specify @latest.
pkg list  '*toolkit@latest'
NAME (PUBLISHER)                                  VERSION                    IFO
system/dtrace/dtrace-toolkit                      0.99-0.175.0.0.0.2.1       i—


“i” ===============> packages are installed in this image.
“f” ================> package is frozen.
“r” ================> package has been renamed.

root@rilcom:~# pkg list amp
pkg list: no packages matching 'amp' installed
root@rilcom:~# pkg list -a amp
NAME (PUBLISHER)                                  VERSION                    IFO
amp                                               0.5.11-0.133               --r
group/feature/amp                                 0.5.11-0.175.0.0.0.2.2576  ---
web/amp                                           0.5.11-0.174.0.0.0.0.0     --r
root@rilcom:~# pkg list -af  amp
NAME (PUBLISHER)                                  VERSION                    IFO
amp                                               0.5.11-0.133               --r
group/feature/amp                                 0.5.11-0.175.0.0.0.2.2576  ---
web/amp                                           0.5.11-0.174.0.0.0.0.0     --r
root@rilcom:~# pkg list -s  amp
pkg list: no packages matching 'amp' installed
root@rilcom:~# pkg list -sa  amp
NAME (PUBLISHER)                                        SUMMARY
amp
group/feature/amp                                       AMP (Apache, MySQL, PHP) Deployment Kit for Oracle Solaris
web/amp
root@rilcom:~# pkg list -va  amp
FMRI                                                                         IFO
pkg://solaris/amp@0.5.11,5.11-0.133:20101027T183105Z                         --r
pkg://solaris/group/feature/amp@0.5.11,5.11-0.175.0.0.0.2.2576:20111020T063601Z ---
pkg://solaris/web/amp@0.5.11,5.11-0.174.0.0.0.0.0:20110921T191502Z           --r

# pkg list -n amp
NAME (PUBLISHER)                                  VERSION                    IFO
amp                                               0.5.11-0.133               --r
group/feature/amp                                 0.5.11-0.175.0.0.0.2.2576  ---
web/amp                                           0.5.11-0.174.0.0.0.0.0     --r

PKG  INFORMATION:-
The -r option displays the newest available versions
--license to get licenses
-l long list format

# pkg info amp
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:
        amp
# pkg info -l larger-server
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:

# pkg info -r amp
          Name: amp
       Summary:
         State: Not installed (Renamed)
    Renamed to: web/amp@0.5.11-0.133
                consolidation/sfw/sfw-incorporation
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.133
Packaging Date: October 27, 2010 06:31:05 PM
          Size: 0.00 B
          FMRI: pkg://solaris/amp@0.5.11,5.11-0.133:20101027T183105Z
          Name: group/feature/amp
       Summary: AMP (Apache, MySQL, PHP) Deployment Kit for Oracle Solaris
   Description: Provides a set of components for deployment of an AMP (Apache,
                MySQL, PHP) stack on Oracle Solaris
      Category: Meta Packages/Group Packages (org.opensolaris.category.2008)
                Web Services/Application and Web Servers (org.opensolaris.category.2008)
         State: Not installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.0.0.0.2.2576
Packaging Date: October 20, 2011 06:36:01 AM
          Size: 5.45 kB
          FMRI: pkg://solaris/group/feature/amp@0.5.11,5.11-0.175.0.0.0.2.2576:20111020T063601Z
          Name: web/amp
       Summary:
         State: Not installed (Renamed)
    Renamed to: group/feature/amp@0.5.11-0.174.0.0.0.0.0
                consolidation/ips/ips-incorporation
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.174.0.0.0.0.0
Packaging Date: September 21, 2011 07:15:02 PM
          Size: 5.45 kB
          FMRI: pkg://solaris/web/amp@0.5.11,5.11-0.174.0.0.0.0.0:20110921T191502Z
displays the file system content of packages
# pkg contents zip
PATH
usr
usr/bin
usr/bin/zip
usr/bin/zipcloak
usr/bin/zipnote
usr/bin/zipsplit
usr/share
usr/share/man
usr/share/man/man1
usr/share/man/man1/zip.1
usr/share/man/man1/zipcloak.1
usr/share/man/man1/zipnote.1
usr/share/man/man1/zipsplit.1
# pkg contents -t file -o owner,group,mode,pkg.size,path -s path zip
OWNER GROUP MODE PKG.SIZE PATH
root  bin   0555 242596 usr/bin/zip
root  bin   0555   122280 usr/bin/zipcloak
root  bin   0555   111472 usr/bin/zipnote
root  bin   0555   120240 usr/bin/zipsplit
root  bin   0444    86036 usr/share/man/man1/zip.1
root  bin   0444     2548 usr/share/man/man1/zipcloak.1
root  bin   0444     2239 usr/share/man/man1/zipnote.1
root  bin   0444     1680 usr/share/man/man1/zipsplit.1
solaris-small-server
solaris-large-server

to display the set of packages that is included in each group.
# pkg contents -Hro fmri  -a type=group -t depend solaris-large-server
archiver/gnu-tar
compress/bzip2
compress/gzip
compress/p7zip ……………
libpower library came from the system/kernel/power package
#  pkg search -Hlo pkg.name /lib/libpower.so.1
system/kernel/power
# pkg search -lo path,pkg.name libpower.so.1
PATH              PKG.NAME
lib/libpower.so.1 system/kernel/power
# pkg search -Hlo path,pkg.name basename:libpower.so.1
lib/libpower.so.1       system/kernel/power
# pkg search -Hlo path,pkg.name 'path:*libpower.so.1'
lib/libpower.so.1       system/kernel/power
Listing Packages by Category
#  pkg search 'info.classification:source code management'
INDEX               ACTION VALUE                              PACKAGE
info.classification set    Development/Source Code Management pkg:/library/perl-5/subversion@1.6.16-0.175.0.0.0.2.537
info.classification set    Development/Source Code Management pkg:/developer/xopen/xcu4@0.5.11-0.174.0.0.0.0.0
info.classification set    Development/Source Code Management pkg:/library/java/subversion@1.6.16-0.175.0.0.0.2.537
info.classification set    Development/Source Code Management pkg:/developer/versioning/git@1.7.3.2-0.175.0.0.0.2.537
info.classification set    Development/Source Code Management pkg:/developer/quilt@0.47-0.175.0.0.0.2.537
info.classification set    Development/Source Code Management pkg:/library/python-2/subversion@1.6.16-0.175.0.0.0.2.537
info.classification set    Development/Source Code Management pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537
info.classification set    Development/Source Code Management pkg:/developer/versioning/cvs@1.12.13-0.175.0.0.0.2.537
info.classification set    Development/Source Code Management pkg:/developer/versioning/sccs@0.5.11-0.174.0.0.0.0.0
info.classification set    Development/Source Code Management pkg:/developer/versioning/mercurial@1.8.4-0.175.0.0.0.2.537
# pkg search -Ho pkg.name 'info.classification:source code management'
library/perl-5/subversion
developer/xopen/xcu4
library/java/subversion
developer/versioning/git
developer/quilt
library/python-2/subversion
developer/versioning/subversion
developer/versioning/cvs
developer/versioning/sccs
developer/versioning/mercurial
Showing Dependent Packages
# pkg search -Hlo pkg.name require:system/kernel/power
system/hal
# pkg search -lo pkg.name,fmri 'depend:exclude:*xorg*'
# pkg search -Hfo fmri '*/solaris-large-server:depend:group:*'
archiver/gnu-tar
compress/bzip2
compress/gzip
compress/p7zip ….

Package adding:-
-n =dri run
-v =verbose
# pkg list |wc -l
     437
# pkg list -a |wc -l
    2252
~# pkg install -nv amp
           Packages to install:        12
     Estimated space available:  34.18 GB
Estimated space to be consumed: 415.94 MB
       Create boot environment:        No
Create backup boot environment:        No
            Services to change:         2
          Rebuild boot archive:        No
Changed packages:
solaris
  database/mysql-51
    None -> 5.1.37,5.11-0.175.0.0.0.2.537:20111019T092655Z
  database/mysql-51/library
    None -> 5.1.37,5.11-0.175.0.0.0.2.537:20111019T091844Z
  database/mysql-common
    None -> 0.5.11,5.11-0.175.0.0.0.2.537:20111019T092931Z
  group/feature/amp
    None -> 0.5.11,5.11-0.175.0.0.0.2.2576:20111020T063601Z
  system/library/security/libmcrypt
    None -> 2.5.8,5.11-0.175.0.0.0.2.537:20111019T115811Z
  text/tidy
    None -> 1.0.0,5.11-0.175.0.0.0.2.537:20111019T120537Z
  web/php-52
    None -> 5.2.17,5.11-0.175.0.0.0.2.537:20111019T121145Z
  web/php-52/extension/php-apc
    None -> 3.0.19,5.11-0.175.0.0.0.2.537:20111019T120733Z
  web/php-52/extension/php-mysql
    None -> 5.2.17,5.11-0.175.0.0.0.2.537:20111019T120818Z
  web/server/apache-22/module/apache-dtrace
    None -> 0.3.1,5.11-0.175.0.0.0.2.537:20111019T121522Z
  web/server/apache-22/module/apache-fcgid
    None -> 2.3.6,5.11-0.175.0.0.0.2.537:20111019T121536Z
  web/server/apache-22/module/apache-php5
    None -> 5.2.17,5.11-0.175.0.0.0.2.537:20111019T121804Z
Services:
  restart_fmri:
    svc:/system/manifest-import:default
    svc:/system/rbac:default

# pkg publisher solaris
            Publisher: solaris
                Alias:
           Origin URI: http://10.66.10.101/
              SSL Key: None
             SSL Cert: None
          Client UUID: 00ec5b84-ff0f-e000-00de-e6a0ffffffff
      Catalog Updated: October 26, 2011 05:17:30 PM
              Enabled: Yes
     Signature Policy: verify
# pkg  update -nv --accept
No updates available for this image.
# pkg change-facet -nv 'facet.locale.*=true'
Installing a Package into a New Boot Environment:-
# beadm list
BE         Active Mountpoint Space  Policy Created
--         ------ ---------- -----  ------ -------
bkpsolaris NR     /          2.19G  static 2013-04-02 10:36
ipssolaris -      -          165.0K static 2013-05-01 23:27
solaris    -      -          11.79G static 2013-03-28 16:30

# pkg install -vv --be-name newbesoalris amp
           Packages to install:        12
     Estimated space available:  34.18 GB
Estimated space to be consumed: 415.94 MB
       Create boot environment:       Yes
     Activate boot environment:       Yes
Create backup boot environment:        No
          Rebuild boot archive:        No
……………….
Changed packages:
solaris
  database/mysql-51
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                12/12     745/745    78.8/78.8
PHASE                                        ACTIONS
Install Phase                              1138/1138
PHASE                                          ITEMS
Package State Update Phase                     12/12
Image State Update Phase                         2/2

PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                              12/12
A clone of bkpsolaris exists and has been updated and activated.
On the next boot the Boot Environment newbesoalris will be
mounted on '/'.  Reboot when ready to switch to this updated BE.
# beadm list
BE           Active Mountpoint Space  Policy Created
--           ------ ---------- -----  ------ -------
bkpsolaris   N      /          729.0K static 2013-04-02 10:36
ipssolaris   -      -          165.0K static 2013-05-01 23:27
newbesoalris R      -          2.64G  static 2013-05-02 01:37
solaris      -      -          11.79G static 2013-03-28 16:30

# pkg list amp
pkg list: no packages matching 'amp' installed
# beadm mount  newbesoalris /mnt
# df -kh /mnt
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ROOT/newbesoalris
                        67G   1.9G        34G     6%    /mnt
# pkg -R /mnt list  amp
NAME (PUBLISHER)                                  VERSION                    IFO
group/feature/amp                                 0.5.11-0.175.0.0.0.2.2576  i—

 

SHELL SCRIPT PART -1

Shell script structure:
1.which shell need to interpret.
2. Comments related to scrip.
3. Comments on purpose of script.
4. Comments on mode of execution.
5. Define files and variables.
6. Define functions.
7. Define Main.
8. END OF SCRIPT
Example shift operator:
#!/usr/bin/bash
a=$#
for i in 1 .. $a
do
Token=$1
echo "token $Token"
shift
done
#bash shifteg 1 2 3
token 1
token 2
token 3
TRAP:
When a program is terminated before it would normally end, we can catch an exit
signal. This is called a trap.
0      —              Normal termination, end of script
1     SIGHUP     Hang up, line disconnected
2     SIGINT       Terminal interrupt, usually Ctrl + C
3     SIGQUIT    Quit key, child processes to die before terminating
9     SIGKILL     kill -9 command, cannot trap this type of exit status
15    SIGTERM   kill command’s default action
19    SIGSTOP   Stop, usually Ctrl + z
Note:- SIGKILL [9] is not trappable
Example:-
#cat trapeg
trap 'echo "\nEXITING on a TRAPPED SIGNAL"' 1 2 3 15 19
while true
do
echo
sleep 10
done
#bash trapeg


EXITING on a TRAPPED SIGNAL  -->hear tested with kill sig 1[ took another session kill -1 pid]

EXITING on a TRAPPED SIGNAL -->hear tested with killsig 2

EXITING on a TRAPPED SIGNAL -->hear tested with killsig 3

EXITING on a TRAPPED SIGNAL -->hear tested with killsig 15

EXITING on a TRAPPED SIGNAL -->hear tested with killsig 19


Killed  ---->hear tested with kilsig 9

In the above program u need to stop execution on receiving any signal  use following
trap 'echo "\nEXITING on a TRAPPED SIGNAL";exit' 1 2 3 15 19
eg:
cat trapeg
trap 'echo "\nEXITING on a TRAPPED SIGNAL";exit' 1 2 3 15 19
while true
do
echo
sleep 10
done
sairam@solaris:~$ bash trapeg
EXITING on a TRAPPED SIGNAL --->tried with kill -1 <pid>
=====================
Different Types of Shells to Declare
COMMAND DESCRIPTION
#!/bin/sh     or  #!/usr/bin/sh                        Declares a Bourne shell
#!/bin/ksh   or  #!/usr/bin/ksh                      Declares a Korn shell
#!/bin/csh   or  #!/usr/bin/csh                      Declares a C shell
#!/bin/bash or  #!/usr/bin/bash                   Declares a Bourne-Again (Bash) shell
SHIFT command:-
# cat shift.sh
#!/usr/bin/Bash
echo "welcome to shift program PLEASE ENTER ARUMETNS"
echo "ALL parameters :$@"
shift
echo "AFTER EXECTING SHFIT COMMAND ALL Parameters :$@"
# sh shift.sh 1 2 3 4
welcome to shift program PLEASE ENTER ARUMETNS
ALL parameters :1 2 3 4
AFTER EXECTING SHFIT COMMAND ALL Parameters :2 3 4

Special Parameter Definitions
The $*  special parameter specifies all command-line arguments.
The $@  special parameter also specifies all command-line arguments.
The "$*"  special parameter takes the entire list as one argument with spaces between.
The "$@"  special parameter takes the entire list and separates it into separate arguments.
The $$  special parameter specifies Process id.
The  !!    special parameter for execution of previous command  in bash shell.
The $# special parameter specifies  total of arguments

Communicating with Users:-
wall                   Writes a message on the screen of all logged-in users on the local host.
rwall                Writes a message on the screen of all logged-in users on a    remote host.
Write              Writes a message to an individual user. The user must currently be logged in.
 TALK                      Starts an interactive program that allows two users to have  a conversation. The screen is split in          two, and                                both users  can see what each person is typing.

Wall demo:
root@solaris:~# wall
wlecome
Broadcast Message from root (pts/1) on solaris Thu Mar 21 12:41:58...
Welcome
test@solaris:~$ Broadcast Message from root (pts/1) on solaris Thu Mar 21 12:41:58...
welcome
…..
WRITE DEMO:-
root@solaris:~# write test
who r y
what happend
welcome

test@solaris:~$
        Message from root on solaris (pts/1) [ Thu Mar 21 12:43:15 ] ...
who r y
what happend
welcome
<EOT>
TaLK:
#svcs talk
STATE          STIME    FMRI
online         12:32:29 svc:/network/talk:default
Root user:
root@solaris:~# talk test
[Connection established]
welcome to test




└------------------------------------------------------------------------------┘
hi root





TEST user:
Message from Talk_Daemon@solaris at 12:45 ...
talk: connection requested by root@localhost.
talk: respond with:  talk root@localhost
talk root@localhost
[Connection established]
hi root





└------------------------------------------------------------------------------┘

welcome to test

Silent Running:-
15 3 8 1 * /usr/local/bin/somescript.Bash 2>&1 >/dev/null
We can call this silent running. This means that there is absolutely no output from the script going to our screen. Inside the script there may be some output directed to files or devices, a particular terminal, or even the system’s console, /dev/console, but none to the user’s screen. This is especially useful when executing a script from one of the system’s cron tables.
2>&1 > /dev/null
By terminating a command like this it redirects standard error (stderr), specified by file descriptor 2, to standard output (stdout), specified by file descriptor 1. Then we have another redirection to /dev/null, which sends all of the output to the bit bucket.

How to execute commands on Remote shell:-
#ssh user@hostname command_to_execute
# cat sshcopy
#!/bin/Bash
#
# SCRIPT: keyit.rsa
# PURPOSE: This script is used to set up RSA SSH keys.
This script must be executed by the user who needs the keys setup.
REM_HOST=$1
cat $HOME/.ssh/id_rsa.pub | ssh $REM_HOST "cat >> ~/.ssh/authorized_keys"
example:
#cat /root/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApqBrhDRapJ/V0C3oblc7kwIRBFfW1pH2xs++aZ5Pwn8xtM/kIRkk66eKnuGBhBdW/SxI9cxOB1jMXFN1vNjmr9LGhefE/AE9V9T3ZT69Lc8hHNsOO+wFJca7J5ozY0yhOkuzLyTbuwUmr2ywym7lHeZQJfsPoQzzLVqCHb4/er+vNKKfTjPz87uqvCQgYJHEVEnMzCbaweHtoXYfRjmk8dv9Ew/6EuJ0VhtLS9WR+iFBMVfeNk8S79YG2JUOa/ijzjFORSFSTPjGRjb5q3QBmamSN2T6loLSQ0T/lyP5oAjah5A6OhF31qgPGKxCBHYSbWf1+7m7/1ciB8iVrZHTXQ== root@solaris
# cat /root/.ssh/id_rsa.pub|ssh 10.25.12.89 "cat >>/.ssh/authorized_keys"
Password:
# ssh 10.25.12.89
Last login: Mon Mar 25 15:41:05 2013 from 10.66.10.101
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
You have new mail.
Sourcing //.profile-EIS.....
root@SAPTEST3 # exit
Connection to 10.25.12.89 closed.



Uppercase or Lowercase Text for Easy Testing:-
# echo "welcome"|tr '[a-z]' '[A-Z]'
WELCOME

# echo "welcome TO Reliance"|tr '[A-Z]' '[a-z]'
welcome to reliance

[or]
For upper case letters:-
#typeset -u variable
# variable="welcome to reliance"
# echo $variable
WELCOME TO RELIANCE
For lower case letters:-
#typeset -l a
# a="WELCOME TO RELIANCE"
# echo $a
welcome to reliance

Using getopts to Parse Command-Line Arguments:-
Syntax:-
getopts OptionString VARIABLE
eg :-
getopts :s:m:h:d:p: TIMED 2>/dev/null

#cat one.sh
#!/usr/bin/Bash
while getopts :s:m:h:d:y:  timed 2>/dev/null ==>if u don’t mention y: last value not accepted
do
case $timed in
s)
        echo "seconds :$OPTARG"
        ;;
m)
        echo "minutes :$OPTARG"
        ;;
h)
        echo "hours : $OPTARG"
        ;;
y)
        echo "years : $OPTARG"
        ;;
*)
        echo "please use -s -m -h -d -y options"
        ;;
esac
done
#sh one.sh -s 10 -m 20 -h 24 -m 10 -y 1996
seconds :10
minutes :20
hours : 24
minutes :10
years : 1996

script to report BCV sync:-
# cat test
#!/bin/sh
MAILTEST=/usr/local/bin/emc/scripts/P22-B2/maillog
COUNT_TIME=`grep -i IST $MAILTEST/EMC_SAR_b2_9May2013.log.tmp|tail |wc -l`
grep -i IST $MAILTEST/EMC_SAR_b2_9May2013.log.tmp|tail>/tmp/time
grep -i "TOTAL Sync" $MAILTEST/EMC_SAR_b2_9May2013.log.tmp|tail |cut -d':' -f2>/tmp/Tsync
grep -i "Change Log" $MAILTEST/EMC_SAR_b2_9May2013.log.tmp|tail |cut -d':' -f2>/tmp/CL
grep -i "Change Data" $MAILTEST/EMC_SAR_b2_9May2013.log.tmp|tail |cut -d':' -f2>/tmp/CD
echo "Content-type: text/html" >>/tmp/sync
echo "<HTML>">>/tmp/sync
echo "<BODY>">>/tmp/sync
echo "<table border="1" bgcolor="#00FF00"> ">>/tmp/sync
echo "<tr bgcolor="#FF6347">">>/tmp/sync
echo "<td>RetailPD B2 start time</td>">>/tmp/sync
echo "<td>RetailPD B2 TOTAL Sync time</td>">>/tmp/sync
echo "<td>Net Change Log (MB)</td>">>/tmp/sync
echo "<td>Net Change Data (MB)</td>">>/tmp/sync
echo "</tr>">>/tmp/sync
for ((i=1;i<=$COUNT_TIME;i++))
do
echo "<tr bgcolor=#C0C0C0>">>/tmp/sync
echo "<td><p>`cat /tmp/time|sed -n $i\p`</p></td>">>/tmp/sync
echo "<td><p>`cat /tmp/Tsync|sed -n $i\p`</td>">>/tmp/sync
echo "<td><p>`cat /tmp/CL|sed -n $i\p`</td>">>/tmp/sync
echo "<td><p>`cat /tmp/CD|sed -n $i\p`</td>">>/tmp/sync
echo "</tr>">>/tmp/sync
done
echo "</table>" >>/tmp/sync
echo "</BODY>">>/tmp/sync
echo "</HTML>">>/tmp/sync
cat /tmp/sync|mail chittibabu.miriyala@ril.com
>/tmp/sync

 

solaris 10 host clean up after removing lun

#vxdisk rm diskname
#devfsadm -cv
#powermt check
arning: Symmetrix device path c4t5006048452A5AD27d154s0 is currently dead.
Do you want to remove it (y/n/a/q)? a
Warning: Symmetrix device path c4t5006048452A5AD27d155s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d156s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d75s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d77s0 is currently dead.
Warning: Symmetrix device path c4t5006048452A5AD27d78s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d154s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d155s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d156s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d75s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d77s0 is currently dead.
Warning: Symmetrix device path c5t5006048452A5AD28d78s0 is currently dead.
#/etc/powercf -q

Could not validate the entry:
---------------------------------------
emcpower6: user ID = 15300000030
---------------------------------------

removing emcpower6

Could not validate the entry:
---------------------------------------
emcpower7: user ID = 15300000038
---------------------------------------

removing emcpower7

Could not validate the entry:
---------------------------------------
emcpower8: user ID = 15300000040
---------------------------------------

removing emcpower8

Could not validate the entry:
---------------------------------------
emcpower18: user ID = 15300000090
---------------------------------------

removing emcpower18

Could not validate the entry:
---------------------------------------
emcpower19: user ID = 15300000098
---------------------------------------

removing emcpower19

Could not validate the entry:
---------------------------------------
emcpower20: user ID = 153000000a0
---------------------------------------

# devfsadm -Cv
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d20s7
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c4t5006048452A5AD27d18s7
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d20s7
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s0
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s1
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s2
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s3
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s4
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s5
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s6
devfsadm[27092]: verbose: removing file: /dev/rdsk/c5t5006048452A5AD28d18s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d20s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c4t5006048452A5AD27d18s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d20s7
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s0
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s1
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s2
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s3
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s4
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s5
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s6
devfsadm[27092]: verbose: removing file: /dev/dsk/c5t5006048452A5AD28d18s7

#powermt save