I got inspired by very few people/ Managers in my life.
There was a manager I was reporting to and he was an IITian from IIT Bombay..
He is very knowledgeable and he has deep technical knowledge on various engineering topics.
Personally also he was good and people use to find it difficult in understanding his intentions, so they thought that he was rude. But really he was a nice guy.
Every week starting he will ask me for a status update on the project and he will ask for the plan of action on the coming weeks or even days. So that it will be easy for us to plan our self and track our work. Also he had taught me from where he learnt how to manage his professional life and personal life.
He suggested me a book from Stephen R Covey and that book is called " 7 Habits of effective People".. It was really an awesome book and very good content.
I read that book almost 15 years ago but still I remember those 7 habits..
1. Be Proactive
2. Begin with an End in mind
3. Put first things first
4. Seek first to understand than to be understood
5. Win-Win
6. Synergize
7. Sharpen the Saw
The book also has some work sheets which can be used to define our "Short Term" Goals and "Long term Goals"
Some management quotes that are great...
You manage things; you lead people. – Admiral Grace Murray Hopper
Leaders think and talk about the solutions. Followers think and talk about the problems. – Brian Tracy
Leadership is the art of giving people a platform for spreading ideas that work. – Seth Godin
Leadership is the capacity to translate vision into reality. – Warren Bennis
Great leaders are almost always great simplifiers, who can cut
through argument, debate and doubt to offer a solution everybody can
understand. – Colin Powell
Leadership is the ability to hide your panic from others. – Lao Tuz
The smartest thing I ever did was to hire my weakness. – Sara Blakely
10 Qualities of an effecient leader
1. Lead by examples - just by being punctual, this is a basic example which every leader should have.
2. Delegation - delegation is essential to be successful, some managers even after growing up to higher level, still they tend to do micro monitoring and doing things on themselves. because they dont trust people work under them.
3. Consideration - Leaders should think about the people working under them, their problems, personal and official. If you just dump some work on the subordinates without even thinking if they can do it or not, then it will fail.. Also it is not good to give orders to the people working under you, assign the work to someone, the reason being only they can do that, in a way showing the importance.
4. Appreciation - this is very important on all the stages of work and to be more frequent..A person who is not been appreciated will feel himself
5. Listening skills - a leader should be capable of listening to his team and just deploying new ideas without discussing with anyone. And ideas to be discussed and not announced, because he is a boss..
6. Open to learn - Disregard of age and experience, a leader will always be ready to learn new things. Because no one is expert on everything.. Need to respect the skilled employees..
7. Job satisfaction - This is very important aspect, to keep the attrition rate down. It is not just money which forces employees to quit their current job. It is their "Job Satisfaction".. There are many employees who are under paid, but still they stick to their job for many years, thats because of the work environment, culture and mainly the reporting manager. A manager's duty is to find what the employee will be delighted to do and what makes him annoyed in the tasks assigned to him.. Even though there is no way to avoid the annoying work, still a manager should make it clear to the employee that he understands that and it is part of the job..No work is so unimportant..
8. Mentoring - Should help employees to reach upto his level...To teach them to grow up the lader and aso give them confidence in achieving that.
9. Stop being Negative - A leader can criticize his team member, but in a healthy way and also showing the way to overcome that and reach a better level. Negative critisization and poking will end up in creating frusttration among the team members and it will force them to quit.
10. Transperency -
You can find solutions to issues for various UNIX operating systems Cloud and DevOps here. Also this site provides you career guidance to the beginners looking for a career as UNIX/ DevOps Engineers/ Administrator.
Solaris-11 Guest Domain Creation - LDOM
Decommission of LDOM
=========================
ldm stop samplepdtestsun08
ldm unbind samplepdtestsun08
ldm destroy samplepdtestsun08
Rename zfs file system
======
zfs set mountpoint=/ldoms/samplepdsun01 LOCAL-Pool/ldoms/samplepdtestsun08
Creation of LDOM
=========================
1. root@samplepdctrldom04:~# ldm add-domain samplepdsun01
2. root@samplepdctrldom04:~# ldm add-vcpu 24 samplepdsun01
3. root@samplepdctrldom04:~# ldm add-mem 48G samplepdsun01
4. root@samplepdctrldom04:~# ldm add-vnet vnet0 primary-vsw0 samplepdsun01
root@samplepdctrldom04:~# zpool create -f LOCAL-Pool raidz c0t5000CCA03C06AA5Cd0 c0t5000CCA03C06AD80d0 c0t5000CCA03C05F770d0 c0t5000CCA03C0576C8d0 c0t5000CCA03C094AB0d0 \
> c0t5000CCA03C1A7FF4d0
root@samplepdctrldom04:~# zpool status
pool: LOCAL-Pool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
LOCAL-Pool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c0t5000CCA03C06AA5Cd0 ONLINE 0 0 0
c0t5000CCA03C06AD80d0 ONLINE 0 0 0
c0t5000CCA03C05F770d0 ONLINE 0 0 0
c0t5000CCA03C0576C8d0 ONLINE 0 0 0
c0t5000CCA03C094AB0d0 ONLINE 0 0 0
c0t5000CCA03C1A7FF4d0 ONLINE 0 0 0
zfs create LOCAL-Pool/ldoms
zfs set mountpoint=/ldoms LOCAL-Pool/ldoms
root@samplepdctrldom04:~# zfs create LOCAL-Pool/ldoms/samplepdtestsun08
root@samplepdctrldom04:~# zfs set mountpoint=/ldoms/samplepdtestsun08 LOCAL-Pool/ldoms/samplepdtestsun08
5. Create files which will present to guest domain as disks
root@samplepdctrldom04:/ldoms/samplepdsun01# mkfile -n 80g vdisk0.samplepdsun01.img
root@samplepdctrldom04:/ldoms/samplepdsun01# mkfile -n 100g vdisk1.samplepdsun01.img
mkfile -n 100g vdisk2.samplepdsun01.img
mkfile -n 100g vdisk3.samplepdsun01.img
mkfile -n 100g vdisk4.samplepdsun01.img
mkfile -n 100g vdisk5.samplepdsun01.img
mkfile -n 100g vdisk6.samplepdsun01.img
mkfile -n 100g vdisk7.samplepdsun01.img
mkfile -n 100g vdisk8.samplepdsun01.img
6. Specify the device to be exported by the virtual disk server as a virtual disk to the guest domain.
ldm add-vdsdev /ldoms/samplepdsun01/vdisk0.samplepdsun01.img samplepdsun01-vol0@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk1.samplepdsun01.img samplepdsun01-vol1@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk2.samplepdsun01.img samplepdsun01-vol2@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk3.samplepdsun01.img samplepdsun01-vol3@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk4.samplepdsun01.img samplepdsun01-vol4@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk5.samplepdsun01.img samplepdsun01-vol5@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk6.samplepdsun01.img samplepdsun01-vol6@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk7.samplepdsun01.img samplepdsun01-vol7@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk8.samplepdsun01.img samplepdsun01-vol8@primary-vds0
Note -
samplepdsun01-vol0 is a unique name you must specify for the device being added to the virtual disk server. The volume name must be unique to this virtual disk server instance, because this name is exported by this virtual disk server to the clients for adding. When adding a device, the volume name must be paired with the path name of the actual device.
primary-vds0 is the name of the virtual disk server to which to add this device.
7. Add a virtual disk to the guest domain.
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk0 samplepdsun01-vol0@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk1 samplepdsun01-vol1@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk2 samplepdsun01-vol2@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk3 samplepdsun01-vol3@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk4 samplepdsun01-vol4@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk5 samplepdsun01-vol5@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk6 samplepdsun01-vol6@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk7 samplepdsun01-vol7@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk8 samplepdsun01-vol8@primary-vds0 samplepdsun01
8. Set autoboot false
ldm set-var auto-boot\?=false samplepdsun01
ldm set-var boot-device=vdisk0 samplepdsun01
9. add iso image to virtual disk server and assign iso to guesBt domain
root@samplepdctrldom04:/ldoms# ldm add-vdsdev /rpool/sol-10-u8-ga-sparc-dvd.iso samplepdtestsun08-cdrom@primary-vds0
root@samplepdctrldom04:/ldoms# ldm add-vdisk cdrom samplepdtestsun08-cdrom@primary-vds0
Removing iso
root@samplepdctrldom04:/rpool# ldm remove-vdisk cdrom samplepdsun01
root@samplepdctrldom04:/rpool# ldm remove-vdsdev samplepdsun01-cdrom@primary-vds0
10. Bind and start ldom
ldm bind samplepdsun01
ldm start samplepdsun01
11. telnet localhost 5000
12. Boot from iso image and install the OS
OK>boot cdrom
13. /data file system creation with raidz
zpool create -f Local-Pool raidz c0d1 c0d2 c0d3 c0d4 c0d5 c0d6 c0d7 c0d8
zfs create Local-Pool/data
zfs set mountpoint=/data Local-Pool/data
If quota is required then give it by
# zfs set quota=500G LOCAL-Pool/data1
14. Update /etc/resolv.conf
# vi /etc/resolv.conf
nameserver 10.156.4.10
nameserver 10.156.4.20
search i2.com dev.corp.local Clients.corp.local itl.com tech.manu.com manu.com Clients.com
svcadm enable dns/client
Configure DNS Client on Solaris 11
Display DNS Client settings
svccfg -s network/dns/client listprop config
Setup DNS client for Clients
DNS
svccfg -s network/dns/client setprop config/nameserver = net_address: '("10.156.4.10" "10.156.4.20")'
svccfg -s network/dns/client setprop config/search = astring: '("dev.corp.local" "Clients.corp.local" "tech.manu.com" "i2.com" "itl.com")'
svcadm refresh dns/client
DNS Switch
svccfg -s system/name-service/switch setprop config/hosts = astring: '("files" "dns")'
15. Update auto_master and auto fs services
+auto.master.india
#/net -hosts -nosuid,nobrowse
#/home auto_home -nobrowse
vi /lib/svc/method/svc-autofs
add
/usr/lib/autofs/automountd -D OS=sun -D VER=10
restart the autofs services
# svcadm disable autofs
# svcadm enable autofs
16. Update default NFS v4 client version for Solaris 10
vi /etc/default/nfs
NFS_SERVER_VERSMAX=3
NFS_CLIENT_VERSMAX=3
:wq!
svcadm restart nfs/client
For Solaris 11
sharectl get nfs
sharectl set -p server_versmin=2 nfs
sharectl set -p client_versmin=2 nfs
sharectl set -p server_versmax=3 nfs
sharectl set -p client_versmax=3 nfs
sharectl get nfs
17. Setup NIS Client. Solaris 10
1.domainname Clients
2.domainname > /etc/defaultdomain
3.vi /etc/hosts
add NIS slave servers.
10.156.6.83 samplenis01 samplenis01.Clients.corp.local
10.156.6.86 samplenis02 samplenis02.Clients.corp.local
4. ypinit -c
or a return on a line by itself.
next host to add: samplenis01
next host to add: samplenis02
next host to add: ^D
The current list of yp servers looks like this:
samplenis01
samplenis02
Is this correct? [y/n: y] y
OR
1.domainname Clients
2.domainname > /etc/defaultdomain
3. mkdir /var/yp/binding/Clients
3. /usr/lib/netsvc/yp/ypstart ### It will nis client in broadcast method
5.Update /etc/nsswitch.conf
Setup NIS Client. Solaris 11
1. Setup the domainname
svcadm disable nis/domain
svccfg -s svc:/network/nis/domain listprop config/domainname
svccfg -s svc:/network/nis/domain setprop config/domainname =
svccfg -s nis/domain:default refresh
svcadm enable nis/domain
Verify that domainname is setup correctly
domainname
2. ypinit -c
or a return on a line by itself.
next host to add: samplenis01
next host to add: samplenis02
next host to add: ^D
The current list of yp servers looks like this:
samplenis01
samplenis02
Is this correct? [y/n: y] y
3.svcadm enable svc:/network/nis/client:default
4.Update /etc/nsswitch.conf
svccfg -s name-service/switch
svc:/system/name-service/switch> setprop config/password = astring: "files nis"
svc:/system/name-service/switch> setprop config/group = astring: "files nis"
svc:/system/name-service/switch> setprop config/netgroup = astring: "files nis"
svc:/system/name-service/switch> setprop config/automount = astring: "files nis"
svc:/system/name-service/switch> listprop config
svc:/system/name-service/switch> select name-service/switch:default
svc:/system/name-service/switch:default> refresh
svc:/system/name-service/switch:default> validate
18. TSM Client installation
mount md1prdnfs01:/export/swdist /mnt
mount 10.0.9.240:/export/swdist /mnt
cd /mnt/tsm/sun/tsm640/TSMCLI_SOL/tsmcli/solaris
cd "latest tsm"
1. The IBM GSKit; it is a prerequisite of the Tivoli Storage Manager API package.Install GSKit using the following commands:
pkgadd -a ./tsmadmin -d ./gsk8cry64.pkg gsk8cry64
pkgadd -a ./tsmadmin -d ./gsk8ssl64.pkg gsk8ssl64
2. Intstall Tivoli Storage Manager API and Tivoli Storage Manager backup-archive (B/A) client,
pkgadd -a ./tsmadmin -d ./TIVsmCapi.pkg TIVsmCapi
pkgadd -a ./tsmadmin -d ./TIVsmCba.pkg TIVsmCba
19. Configure TSM Client
cd /mnt/tsm/config/sun/
# ./setup_tsm.sh
Setting up standard Clients TSM settings
Setting Startup Scripts
Setting environment VARS
20. Change TSM Client configureations to restore data from other node.
vi /opt/tivoli/tsm/client/ba/bin/dsm.sys
SERVERNAME sampleTSM01B #### Tsm SERVER name of old client
NODENAME bnsndv04 ### Add nodename of which we need data restore
TCPServeraddress sampleTSM01B.Clients.corp.local
vi /opt/tivoli/tsm/client/ba/bin/dsm.opt
Servername sampleTSM01B
a. Start dsmcad process
# /opt/tivoli/tsm/client/ba/bin/dsmcad
b. Run scheduler to check schedule of old node , It will ask of user name and password, enter old node name as user name and password.
Node Name: BNSNDV04
Please enter your user id: BNSNDV04
Please enter password for user id "BNSNDV04":
dsmc restore -subdir=yes "/data/*"
dsmc restore "/data1/*" -subdir=yes -pitd=01/07/13 -pitt=03:23:29
dsmc restore -ina -subdir=yes "/data1/*"
All the other tools are available on automount /usr/localnew and few pkg like rsync will be available on /backup automount
20. COnfigure root profile
vi .profile
#
# Define default prompt to@:<"($|#) ">
# and print '#' for user "root" and '$' for normal users.
#
# Currently this is only done for bash/pfbash(1).
#
case ${SHELL} in
*bash)
typeset +x PS1="\u@\h:\w\\$ "
;;
esac
21. Configure system login welcome message.
vi /etc/motd
"/etc/motd" 1 line, 57 characters
********************************************************************************
* *
* Welcome to xxx06 *
* *
*------------------------------------------------------------------------------*
* SYSTEM SPECS: *
* *
* o Sun LDOM (4 VCPUs - 2848 MHz processors) *
* o 16 GB Main Memory *
* o OS Solaris 10 - Oracle Solaris 10 SPARC *
* o USAGE: This server is being used by MCC team *
* *
* *
********************************************************************************
22. Configure cfg2html and Monitor scripts for filesystem
root@sampleitgsun01:/# mkdir -m 755 /var/cfghtml
root@sampleitgsun01:/# mkdir -m 755 /var/MONITOR
Copy cfg2html and Monitor script from any sun server like bnsndv04
scp /var/cfghtml/cfg2html.sh root@md1npdsunbld01:/var/cfghtml/cfg2html.sh
[root@bnsndv04]# scp /var/MONITOR/fs-check.sh root@samplepdsun05:/var/MONITOR/fs-check.sh
check the fs-check.sh scirpt it should have itg unix address
crontab -e
#######Script for file system Monitoring#######
45 * * * * /var/MONITOR/fs-check.sh >/dev/null 2>&1
10 0 * * * /usr/bin/rm /var/MONITOR/fs.txt.bkup >/dev/null 2>&1
30 6 * * 0 /var/cfghtml/cfg2html.sh #cfg2html script
23. Adjust ZFS arch kernel paramenter.
24. Configure NTP on Solaris 10
vi /etc/inet/ntp.conf
#ntp.conf: This file is centrally maintained. Do not edit.
server timehost1
server timehost2
server timehost3
server timehost4
driftfile /var/ntp.drift
#
ntpq -p
Configuring NTP on solaris 11
1. cp /etc/inet/ntp.client /etc/inet/ntp.conf
vi /etc/inet/ntp.conf
server md1prdntp01
server md1prdntp02
driftfile /var/ntp.drift
svcadm restart svc:/network/ntp:default
25. Configure email, edit sendmail.cf file, to modify the DS line to samplegw.Clients.com
vi /etc/mail/sendmail.cf
samplegw.Clients.com
svcadm restart -v smtp
-----------------------------------------------------------------------------------------------------------------------
T5-8 Troubleshooting Boot issues with LDOM and Zones:
=========================
ldm stop samplepdtestsun08
ldm unbind samplepdtestsun08
ldm destroy samplepdtestsun08
Rename zfs file system
======
zfs set mountpoint=/ldoms/samplepdsun01 LOCAL-Pool/ldoms/samplepdtestsun08
Creation of LDOM
=========================
1. root@samplepdctrldom04:~# ldm add-domain samplepdsun01
2. root@samplepdctrldom04:~# ldm add-vcpu 24 samplepdsun01
3. root@samplepdctrldom04:~# ldm add-mem 48G samplepdsun01
4. root@samplepdctrldom04:~# ldm add-vnet vnet0 primary-vsw0 samplepdsun01
root@samplepdctrldom04:~# zpool create -f LOCAL-Pool raidz c0t5000CCA03C06AA5Cd0 c0t5000CCA03C06AD80d0 c0t5000CCA03C05F770d0 c0t5000CCA03C0576C8d0 c0t5000CCA03C094AB0d0 \
> c0t5000CCA03C1A7FF4d0
root@samplepdctrldom04:~# zpool status
pool: LOCAL-Pool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
LOCAL-Pool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c0t5000CCA03C06AA5Cd0 ONLINE 0 0 0
c0t5000CCA03C06AD80d0 ONLINE 0 0 0
c0t5000CCA03C05F770d0 ONLINE 0 0 0
c0t5000CCA03C0576C8d0 ONLINE 0 0 0
c0t5000CCA03C094AB0d0 ONLINE 0 0 0
c0t5000CCA03C1A7FF4d0 ONLINE 0 0 0
zfs create LOCAL-Pool/ldoms
zfs set mountpoint=/ldoms LOCAL-Pool/ldoms
root@samplepdctrldom04:~# zfs create LOCAL-Pool/ldoms/samplepdtestsun08
root@samplepdctrldom04:~# zfs set mountpoint=/ldoms/samplepdtestsun08 LOCAL-Pool/ldoms/samplepdtestsun08
5. Create files which will present to guest domain as disks
root@samplepdctrldom04:/ldoms/samplepdsun01# mkfile -n 80g vdisk0.samplepdsun01.img
root@samplepdctrldom04:/ldoms/samplepdsun01# mkfile -n 100g vdisk1.samplepdsun01.img
mkfile -n 100g vdisk2.samplepdsun01.img
mkfile -n 100g vdisk3.samplepdsun01.img
mkfile -n 100g vdisk4.samplepdsun01.img
mkfile -n 100g vdisk5.samplepdsun01.img
mkfile -n 100g vdisk6.samplepdsun01.img
mkfile -n 100g vdisk7.samplepdsun01.img
mkfile -n 100g vdisk8.samplepdsun01.img
6. Specify the device to be exported by the virtual disk server as a virtual disk to the guest domain.
ldm add-vdsdev /ldoms/samplepdsun01/vdisk0.samplepdsun01.img samplepdsun01-vol0@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk1.samplepdsun01.img samplepdsun01-vol1@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk2.samplepdsun01.img samplepdsun01-vol2@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk3.samplepdsun01.img samplepdsun01-vol3@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk4.samplepdsun01.img samplepdsun01-vol4@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk5.samplepdsun01.img samplepdsun01-vol5@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk6.samplepdsun01.img samplepdsun01-vol6@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk7.samplepdsun01.img samplepdsun01-vol7@primary-vds0
ldm add-vdsdev /ldoms/samplepdsun01/vdisk8.samplepdsun01.img samplepdsun01-vol8@primary-vds0
Note -
samplepdsun01-vol0 is a unique name you must specify for the device being added to the virtual disk server. The volume name must be unique to this virtual disk server instance, because this name is exported by this virtual disk server to the clients for adding. When adding a device, the volume name must be paired with the path name of the actual device.
primary-vds0 is the name of the virtual disk server to which to add this device.
7. Add a virtual disk to the guest domain.
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk0 samplepdsun01-vol0@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk1 samplepdsun01-vol1@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk2 samplepdsun01-vol2@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk3 samplepdsun01-vol3@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk4 samplepdsun01-vol4@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk5 samplepdsun01-vol5@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk6 samplepdsun01-vol6@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk7 samplepdsun01-vol7@primary-vds0 samplepdsun01
root@samplepdctrldom04:/ldoms/samplepdsun01# ldm add-vdisk vdisk8 samplepdsun01-vol8@primary-vds0 samplepdsun01
8. Set autoboot false
ldm set-var auto-boot\?=false samplepdsun01
ldm set-var boot-device=vdisk0 samplepdsun01
9. add iso image to virtual disk server and assign iso to guesBt domain
root@samplepdctrldom04:/ldoms# ldm add-vdsdev /rpool/sol-10-u8-ga-sparc-dvd.iso samplepdtestsun08-cdrom@primary-vds0
root@samplepdctrldom04:/ldoms# ldm add-vdisk cdrom samplepdtestsun08-cdrom@primary-vds0
Removing iso
root@samplepdctrldom04:/rpool# ldm remove-vdisk cdrom samplepdsun01
root@samplepdctrldom04:/rpool# ldm remove-vdsdev samplepdsun01-cdrom@primary-vds0
10. Bind and start ldom
ldm bind samplepdsun01
ldm start samplepdsun01
11. telnet localhost 5000
12. Boot from iso image and install the OS
OK>boot cdrom
13. /data file system creation with raidz
zpool create -f Local-Pool raidz c0d1 c0d2 c0d3 c0d4 c0d5 c0d6 c0d7 c0d8
zfs create Local-Pool/data
zfs set mountpoint=/data Local-Pool/data
If quota is required then give it by
# zfs set quota=500G LOCAL-Pool/data1
14. Update /etc/resolv.conf
# vi /etc/resolv.conf
nameserver 10.156.4.10
nameserver 10.156.4.20
search i2.com dev.corp.local Clients.corp.local itl.com tech.manu.com manu.com Clients.com
svcadm enable dns/client
Configure DNS Client on Solaris 11
Display DNS Client settings
svccfg -s network/dns/client listprop config
Setup DNS client for Clients
DNS
svccfg -s network/dns/client setprop config/nameserver = net_address: '("10.156.4.10" "10.156.4.20")'
svccfg -s network/dns/client setprop config/search = astring: '("dev.corp.local" "Clients.corp.local" "tech.manu.com" "i2.com" "itl.com")'
svcadm refresh dns/client
DNS Switch
svccfg -s system/name-service/switch setprop config/hosts = astring: '("files" "dns")'
15. Update auto_master and auto fs services
+auto.master.india
#/net -hosts -nosuid,nobrowse
#/home auto_home -nobrowse
vi /lib/svc/method/svc-autofs
add
/usr/lib/autofs/automountd -D OS=sun -D VER=10
restart the autofs services
# svcadm disable autofs
# svcadm enable autofs
16. Update default NFS v4 client version for Solaris 10
vi /etc/default/nfs
NFS_SERVER_VERSMAX=3
NFS_CLIENT_VERSMAX=3
:wq!
svcadm restart nfs/client
For Solaris 11
sharectl get nfs
sharectl set -p server_versmin=2 nfs
sharectl set -p client_versmin=2 nfs
sharectl set -p server_versmax=3 nfs
sharectl set -p client_versmax=3 nfs
sharectl get nfs
17. Setup NIS Client. Solaris 10
1.domainname Clients
2.domainname > /etc/defaultdomain
3.vi /etc/hosts
add NIS slave servers.
10.156.6.83 samplenis01 samplenis01.Clients.corp.local
10.156.6.86 samplenis02 samplenis02.Clients.corp.local
4. ypinit -c
or a return on a line by itself.
next host to add: samplenis01
next host to add: samplenis02
next host to add: ^D
The current list of yp servers looks like this:
samplenis01
samplenis02
Is this correct? [y/n: y] y
OR
1.domainname Clients
2.domainname > /etc/defaultdomain
3. mkdir /var/yp/binding/Clients
3. /usr/lib/netsvc/yp/ypstart ### It will nis client in broadcast method
5.Update /etc/nsswitch.conf
Setup NIS Client. Solaris 11
1. Setup the domainname
svcadm disable nis/domain
svccfg -s svc:/network/nis/domain listprop config/domainname
svccfg -s svc:/network/nis/domain setprop config/domainname =
svccfg -s nis/domain:default refresh
svcadm enable nis/domain
Verify that domainname is setup correctly
domainname
2. ypinit -c
or a return on a line by itself.
next host to add: samplenis01
next host to add: samplenis02
next host to add: ^D
The current list of yp servers looks like this:
samplenis01
samplenis02
Is this correct? [y/n: y] y
3.svcadm enable svc:/network/nis/client:default
4.Update /etc/nsswitch.conf
svccfg -s name-service/switch
svc:/system/name-service/switch> setprop config/password = astring: "files nis"
svc:/system/name-service/switch> setprop config/group = astring: "files nis"
svc:/system/name-service/switch> setprop config/netgroup = astring: "files nis"
svc:/system/name-service/switch> setprop config/automount = astring: "files nis"
svc:/system/name-service/switch> listprop config
svc:/system/name-service/switch> select name-service/switch:default
svc:/system/name-service/switch:default> refresh
svc:/system/name-service/switch:default> validate
18. TSM Client installation
mount md1prdnfs01:/export/swdist /mnt
mount 10.0.9.240:/export/swdist /mnt
cd /mnt/tsm/sun/tsm640/TSMCLI_SOL/tsmcli/solaris
cd "latest tsm"
1. The IBM GSKit; it is a prerequisite of the Tivoli Storage Manager API package.Install GSKit using the following commands:
pkgadd -a ./tsmadmin -d ./gsk8cry64.pkg gsk8cry64
pkgadd -a ./tsmadmin -d ./gsk8ssl64.pkg gsk8ssl64
2. Intstall Tivoli Storage Manager API and Tivoli Storage Manager backup-archive (B/A) client,
pkgadd -a ./tsmadmin -d ./TIVsmCapi.pkg TIVsmCapi
pkgadd -a ./tsmadmin -d ./TIVsmCba.pkg TIVsmCba
19. Configure TSM Client
cd /mnt/tsm/config/sun/
# ./setup_tsm.sh
Setting up standard Clients TSM settings
Setting Startup Scripts
Setting environment VARS
20. Change TSM Client configureations to restore data from other node.
vi /opt/tivoli/tsm/client/ba/bin/dsm.sys
SERVERNAME sampleTSM01B #### Tsm SERVER name of old client
NODENAME bnsndv04 ### Add nodename of which we need data restore
TCPServeraddress sampleTSM01B.Clients.corp.local
vi /opt/tivoli/tsm/client/ba/bin/dsm.opt
Servername sampleTSM01B
a. Start dsmcad process
# /opt/tivoli/tsm/client/ba/bin/dsmcad
b. Run scheduler to check schedule of old node , It will ask of user name and password, enter old node name as user name and password.
Node Name: BNSNDV04
Please enter your user id
Please enter password for user id "BNSNDV04":
dsmc restore -subdir=yes "/data/*"
dsmc restore "/data1/*" -subdir=yes -pitd=01/07/13 -pitt=03:23:29
dsmc restore -ina -subdir=yes "/data1/*"
All the other tools are available on automount /usr/localnew and few pkg like rsync will be available on /backup automount
20. COnfigure root profile
vi .profile
#
# Define default prompt to
# and print '#' for user "root" and '$' for normal users.
#
# Currently this is only done for bash/pfbash(1).
#
case ${SHELL} in
*bash)
typeset +x PS1="\u@\h:\w\\$ "
;;
esac
21. Configure system login welcome message.
vi /etc/motd
"/etc/motd" 1 line, 57 characters
********************************************************************************
* *
* Welcome to xxx06 *
* *
*------------------------------------------------------------------------------*
* SYSTEM SPECS: *
* *
* o Sun LDOM (4 VCPUs - 2848 MHz processors) *
* o 16 GB Main Memory *
* o OS Solaris 10 - Oracle Solaris 10 SPARC *
* o USAGE: This server is being used by MCC team *
* *
* *
********************************************************************************
22. Configure cfg2html and Monitor scripts for filesystem
root@sampleitgsun01:/# mkdir -m 755 /var/cfghtml
root@sampleitgsun01:/# mkdir -m 755 /var/MONITOR
Copy cfg2html and Monitor script from any sun server like bnsndv04
scp /var/cfghtml/cfg2html.sh root@md1npdsunbld01:/var/cfghtml/cfg2html.sh
[root@bnsndv04]# scp /var/MONITOR/fs-check.sh root@samplepdsun05:/var/MONITOR/fs-check.sh
check the fs-check.sh scirpt it should have itg unix address
crontab -e
#######Script for file system Monitoring#######
45 * * * * /var/MONITOR/fs-check.sh >/dev/null 2>&1
10 0 * * * /usr/bin/rm /var/MONITOR/fs.txt.bkup >/dev/null 2>&1
30 6 * * 0 /var/cfghtml/cfg2html.sh #cfg2html script
23. Adjust ZFS arch kernel paramenter.
24. Configure NTP on Solaris 10
vi /etc/inet/ntp.conf
#ntp.conf: This file is centrally maintained. Do not edit.
server timehost1
server timehost2
server timehost3
server timehost4
driftfile /var/ntp.drift
#
ntpq -p
Configuring NTP on solaris 11
1. cp /etc/inet/ntp.client /etc/inet/ntp.conf
vi /etc/inet/ntp.conf
server md1prdntp01
server md1prdntp02
driftfile /var/ntp.drift
svcadm restart svc:/network/ntp:default
25. Configure email, edit sendmail.cf file, to modify the DS line to samplegw.Clients.com
vi /etc/mail/sendmail.cf
samplegw.Clients.com
svcadm restart -v smtp
-----------------------------------------------------------------------------------------------------------------------
sjaganathan@co-ps-opc-a01:~$ ssh -l root 10.129.170.40 (testzadmclient0201) LDOM
The authenticity of host '10.129.170.40 (10.129.170.40)'
can't be established.
RSA key fingerprint is
c9:1c:fc:96:a7:51:39:76:50:2b:0d:dc:89:63:ec:bb.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.129.170.40' (RSA) to the list
of known hosts.
Password:
Oracle(R) Integrated Lights Out Manager
Version 3.2.7.1.b r112192
Copyright (c) 2016, Oracle and/or its affiliates. All rights
reserved.
Warning: HTTPS certificate is set to factory default.
Hostname: test-node1-ilom
-> show
/
Targets:
HOST
System
SP
Properties:
Commands:
cd
show
-> show System/
/System
Targets:
Open_Problems
(0)
CPU_Modules
Processors
Memory
Power
Cooling
Storage
Networking
PCI_Devices
Firmware
Log
Properties:
health = OK
health_details = -
open_problems_count = 0
type = Rack
Mount
model =
SuperCluster T5-8
qpart_id =
Q9527
part_number =
SuperCluster T5-8
serial_number
= AK00358593
component_model = SPARC T5-8
component_part_number = 7308731
component_serial_number = AK00322618
system_identifier = Oracle SuperCluster T5-8 AK00358593
system_fw_version = Sun System Firmware 9.6.6.a 2016/09/09 19:26
primary_operating_system = Not Available
primary_operating_system_detail = Comprehensive System monitoring is not
available. Ensure the host is running with the Hardware Management Pack. For
details
go to
http://www.oracle.com/goto/ilom-redirect/hmp
host_primary_mac_address
= 00:10:e0:76:ba:ca
ilom_address =
10.129.170.40
ilom_mac_address = 00:10:E0:76:BA:D3
locator_indicator = Off
power_state = Off
actual_power_consumption = 98 watts
action =
(none)
Commands:
cd
reset
set
show
start
stop
-> start /System/ ------------------------------This will start –POWERON the Server
Are you sure you want to start /System (y/n)? y
Starting /System
-> show System/
/System
Targets:
Open_Problems
(0)
CPU_Modules
Processors
Memory
Power
Cooling
Storage
Networking
PCI_Devices
Firmware
Log
Properties:
health = OK
health_details
= -
open_problems_count = 0
type = Rack
Mount
model =
SuperCluster T5-8
qpart_id =
Q9527
part_number =
SuperCluster T5-8
serial_number
= AK00358593
component_model = SPARC T5-8
component_part_number = 7308731
component_serial_number = AK00322618
system_identifier = Oracle SuperCluster T5-8 AK00358593
system_fw_version = Sun System Firmware 9.6.6.a 2016/09/09 19:26
primary_operating_system = Not Available
primary_operating_system_detail = Comprehensive System monitoring is not
available. Ensure the host is running with the Hardware Management Pack. For
details
go to
http://www.oracle.com/goto/ilom-redirect/hmp
host_primary_mac_address = 00:10:e0:76:ba:ca
ilom_address =
10.129.170.40
ilom_mac_address = 00:10:E0:76:BA:D3
locator_indicator = Off
power_state = On
actual_power_consumption
= 1255 watts
action =
(none)
Commands:
cd
reset
set
show
start
stop
-> start /HOST/console/ -------- to login to the Console
Are you sure you want to start /HOST/console (y/n)? y
Serial console started.
To stop, type #.
2017-09-27 15:40:48
0:00:0> NOTICE: Initializing
MCU 0 Memory Link 0
2017-09-27 15:41:03
0:00:0> NOTICE: Initializing
MCU 0 Memory Link 1
2017-09-27 15:41:19
0:00:0> NOTICE: Initializing
MCU 1 Memory Link 0
2017-09-27 15:41:35
0:00:0> NOTICE: Initializing
MCU 1 Memory Link 1
2017-09-27 15:41:51
0:00:0> NOTICE: Initializing
MCU 2 Memory Link 0
2017-09-27 15:42:06
0:00:0> NOTICE: Initializing
MCU 2 Memory Link 1
2017-09-27 15:42:21
0:00:0> NOTICE: Initializing
MCU 3 Memory Link 0
2017-09-27 15:42:36
0:00:0> NOTICE: Initializing
MCU 3 Memory Link 1
2017-09-27 15:43:04
0:00:0> NOTICE: Pausing for
120 seconds for Coherence Link tuning
2017-09-27 15:45:04
0:00:0> NOTICE: Found optimal settings
017-09-27 15:40:48
0:00:0> NOTICE: Initializing
MCU 0 Memory Link 0
2017-09-27 15:41:03
0:00:0> NOTICE: Initializing
MCU 0 Memory Link 1
2017-09-27 15:41:19
0:00:0> NOTICE: Initializing
MCU 1 Memory Link 0
2017-09-27 15:41:35
0:00:0> NOTICE: Initializing
MCU 1 Memory Link 1
2017-09-27 15:41:51
0:00:0> NOTICE: Initializing
MCU 2 Memory Link 0
2017-09-27 15:42:06
0:00:0> NOTICE: Initializing
MCU 2 Memory Link 1
2017-09-27 15:42:21
0:00:0> NOTICE: Initializing
MCU 3 Memory Link 0
2017-09-27 15:42:36
0:00:0> NOTICE: Initializing
MCU 3 Memory Link 1
2017-09-27 15:43:04
0:00:0> NOTICE: Pausing for
120 seconds for Coherence Link tuning
2017-09-27 15:45:04
0:00:0> NOTICE: Found optimal
settings
2017-09-27 15:47:42
0:00:0> NOTICE: Booting config
= V_F2-1_20160518123206_oid
[CPU 00:00:0] Hypervisor version: @(#)Hypervisor 1.15.6
2016/08/17 12:59
2017-09-27 15:34:04
SP> NOTICE: Start Host in
progress: Step 5 of 7
2017-09-27 15:34:04
SP> NOTICE: Start Host in
progress: Step 6 of 7
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD from HV.
2017-09-27 15:34:52
SP> NOTICE: Start Host in
progress: Step 7 of 7
NOTICE: Starting additional cpus.
NOTICE: Initializing LDC services.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.
SPARC T5-8 / SuperCluster T5-8, No Keyboard
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All
rights reserved.
OpenBoot 4.38.6, 1022.7500 GB memory available, Serial
#108444362.
Ethernet address 0:10:e0:76:ba:ca, Host ID: 8676baca.
Boot device:
/pci@300/pci@1/pci@0/pci@4/pci@0/pci@c/scsi@0/disk@w5000cca02d022765,0:a File and args:
SunOS Release 5.11 Version 11.3 64-bit
Copyright (c) 1983, 2016, Oracle and/or its affiliates. All
rights reserved.
ok boot disk
Boot device: /pci@300/pci@1/pci@0/pci@4/pci@0/pci@c/scsi@0/disk@p0 File and args:
SunOS Release 5.11 Version 11.3 64-bit
Copyright (c) 1983, 2016, Oracle and/or its affiliates. All
rights reserved.
net4: DL_BIND_REQ failed: DL_SYSERR (errno 16)
net4: DL_UNBIND_REQ failed: DL_OUTSTATE
net11: DL_BIND_REQ failed: DL_SYSERR (errno 16)
net11: DL_UNBIND_REQ failed: DL_OUTSTATE
Hostname: testzadmclient0201
NOTICE: iscsi connection(5) unable to connect to target
iqn.1986-03.com.sun:02:ef9437b2-1913-c503-ede7-d9b87eb81a77, target address 010.129.172.140
NOTICE: iscsi connection(5) unable to connect to target
iqn.1986-03.com.sun:02:ef9437b2-1913-c503-ede7-d9b87eb81a77, target address
010.129.172.140
NOTICE: iscsi connection(5) unable to connect to target
iqn.1986-03.com.sun:02:ef9437b2-1913-c503-ede7-d9b87eb81a77, target address
010.129.172.140
cannot open 'testzdbclient020101': I/O error
cannot open 'testzdbclient020102': I/O error
cannot open 'testzdbclient020103': I/O error
cannot open 'testzdbclient020104': I/O error
cannot open 'testzdbclient020105': I/O error
*******************************************************************************
*******************************************************************************
******************************************
CCCCC * Some Xxx Institutes *
C * Wide Area Network *
C PPPP * *
C P
P * Only authorized
users are permitted *
CCCCC PPPP SSSS
* to access this system. All
access *
P S
* attempts and sessions will be logged!
*
P SSSS
*
*
S *
For assistance, contact *
SSSS ******************************************
******************************************************************************
******************************************************************************
testzadmclient0201 console login: Sep 27 10:55:41 testzadmclient0201 iscsi: NOTICE: iscsi connection(5)
unable to connect to target
iqn.1986-03.com.sun:02:ef9437b2-1913-c503-ede7-d9b87eb81a77, target address
010.129.172.140
Sep 27 10:55:42 testzadmclient0201 devfsadmd[453]: cannot
create link: /dev/infiniband/hca/hermon0 ->
../../../devices/pci@340/pci@1/pci@0/pci@6/pciex15b3,1003@0/hermon@0:devctl. max attempts exceeded. readlink() failed due to: No such file or
directory
Sep 27 10:55:56 testzadmclient0201 ssctuner: warning:
initialization taking longer than expected...moving on.
Sep 27 10:55:43 testzadmclient0201 last message repeated 1
time
Sep 27 10:56:04 testzadmclient0201 iscsi: NOTICE: iscsi
connection(5) unable to connect to target
iqn.1986-03.com.sun:02:ef9437b2-1913-c503-ede7-d9b87eb81a77, target address
010.129.172.140
SUNW-MSG-ID: ZFS-8000-LR, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:05 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 458bc1b2-0bda-4df5-9a0a-da226c18637a
DESC: ZFS device
'id1,ssd@n600144f0ea60a85e000057446f5c0001/a' in pool 'testzdbclient020101'
failed to open.
AUTO-RESPONSE: An attempt will be made to activate a hot
spare if available.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-LR for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-PE, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:05 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: e3033682-5a3f-4199-8ac5-9729508c0823
DESC: ZFS device 'testzdbclient020101' in pool 'testzdbclient020101'
has insufficient replicas to continue.
AUTO-RESPONSE: No automated response will occur.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-PE for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-CS, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:06 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 5a9ae5f8-91ca-424a-9f33-bf6b8136445d
DESC: ZFS pool 'testzdbclient020101' failed to open.
AUTO-RESPONSE: No automated response will occur.
IMPACT: The pool is no longer available.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' and attach any missing devices,
follow any provided recovery instructions or restore from backup. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-CS for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-LR, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:08 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 9eaaca4d-9754-4252-b633-ecf52cb64ae1
DESC: ZFS device
'id1,ssd@n600144f0ea60a85e0000574473060004/a' in pool 'testzdbclient020102'
failed to open.
AUTO-RESPONSE: An attempt will be made to activate a hot
spare if available.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-LR for the latest service procedures and
policies regarding this diagnosis.
Sep 27 10:56:10 testzadmclient0201 psif: NOTICE: Removing
module ret 0
SUNW-MSG-ID: ZFS-8000-PE, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:09 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: f449e819-2991-4e04-9325-d6958717b7d0
DESC: ZFS device 'testzdbclient020102' in pool 'testzdbclient020102'
has insufficient replicas to continue.
AUTO-RESPONSE: No automated response will occur.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-PE for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-CS, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:11 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 8374b58c-1c46-40bd-a961-c1551c08bcff
DESC: ZFS pool 'testzdbclient020102' failed to open.
AUTO-RESPONSE: No automated response will occur.
IMPACT: The pool is no longer available.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' and attach any missing devices,
follow any provided recovery instructions or restore from backup. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-CS for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-LR, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:13 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: b1100408-2592-4a5d-ab70-bbb19c2fa287
DESC: ZFS device
'id1,ssd@n600144f0ea60a85e0000574476610006/a' in pool 'testzdbclient020103'
failed to open.
AUTO-RESPONSE: An attempt will be made to activate a hot
spare if available.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-LR for the latest service procedures and
policies regarding this diagnosis.
Sep 27 10:56:20 testzadmclient0201 iscsi: NOTICE: iscsi
connection(5) unable to connect to target iqn.1986-03.com.sun:02:ef9437b2-1913-c503-ede7-d9b87eb81a77,
target address 010.129.172.140
SUNW-MSG-ID: ZFS-8000-PE, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:21 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: fac84b69-c9e5-40fc-9366-f925a464ad2c
DESC: ZFS device 'testzdbclient020103' in pool 'testzdbclient020103'
has insufficient replicas to continue.
AUTO-RESPONSE: No automated response will occur.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-PE for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-CS, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:23 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 9c406ad0-c890-410c-a2e9-a46fe56d9406
DESC: ZFS pool 'testzdbclient020103' failed to open.
AUTO-RESPONSE: No automated response will occur.
IMPACT: The pool is no longer available.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' and attach any missing devices,
follow any provided recovery instructions or restore from backup. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-CS for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-LR, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:26 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 5ebdcb73-c864-41b0-b823-c484d992a78d
DESC: ZFS device
'id1,ssd@n600144f0ea60a85e0000574479cb0008/a' in pool 'testzdbclient020104'
failed to open.
AUTO-RESPONSE: An attempt will be made to activate a hot
spare if available.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-LR for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-PE, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:29 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 600d99c6-f740-4533-a28e-c06b3439929b
DESC: ZFS device 'testzdbclient020104' in pool 'testzdbclient020104'
has insufficient replicas to continue.
AUTO-RESPONSE: No automated response will occur.
IMPACT: Fault tolerance of the pool may be compromised.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' for more information. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-PE for the latest service procedures and
policies regarding this diagnosis.
SUNW-MSG-ID: ZFS-8000-CS, TYPE: Fault, VER: 1, SEVERITY:
Major
EVENT-TIME: Wed Sep 27 10:56:32 CDT 2017
PLATFORM: SPARC T5-8, CSN: AK00332219, HOSTNAME: testzadmclient0201
SOURCE: zfs-diagnosis, REV: 1.0
EVENT-ID: 6d328df4-4a68-49a4-bbf5-c634e906949b
DESC: ZFS pool 'testzdbclient020104' failed to open.
AUTO-RESPONSE: No automated response will occur.
IMPACT: The pool is no longer available.
REC-ACTION: Use 'fmadm faulty' to provide a more detailed
view of this event. Run 'zpool status -lx' and attach any missing devices,
follow any provided recovery instructions or restore from backup. Please refer
to the associated reference document at
http://support.oracle.com/msg/ZFS-8000-CS for the latest service procedures and
policies regarding this diagnosis.
root@testzadmclient0201:~#
root@testzadmclient0201:~# Sep 27 11:06:09 testzadmclient0201
iscsi: NOTICE: iscsi connection(5) unable to connect to target
iqn.1986-03.com.sun:02:ef9437b2-1913-c503-ede7-d9b87eb81a77, target address
010.129.172.140
^C
root@testzadmclient0201:~# svcs -a |grep -i iscsi
online
10:55:11 svc:/network/iscsi/initiator:default
root@testzadmclient0201:~#
root@testzadmclient0201:~#
root@testzadmclient0201:~#
root@testzadmclient0201:~# svcadm enable
network/iscsi/initiator
root@testzadmclient0201:~#
root@testzadmclient0201:~#
root@testzadmclient0201:~# ipadm show-addr
ADDROBJ
TYPE STATE ADDR
lo0/v4
static ok 127.0.0.1/8
net36/v4
static ok 169.254.182.77/24
stor_ipmp0/v4
static ok 10.129.172.148/24
bondib0/v4
static ok 10.129.172.34/24
bondib1/v4
static ok 10.129.172.35/24
bondib2/v4
static ok 10.129.172.36/24
bondib3/v4
static ok 10.129.172.37/24
bondmgt0/v4
static ok 10.129.170.17/24
bondeth0/v4
static ok 10.129.171.21/24
lo0/v6
static ok ::1/128
oidnet0/v6 addrconf ok fe80::214:4fff:fef8:f364/10
root@testzadmclient0201:~#
root@testzadmclient0201:~# zpool -z testzdbclient020101
verify
unrecognized command '-z'
For more info, run: zpool help
root@testzadmclient0201:~# zoneadm -z testzdbclient020101
verify
zoneadm: zone 'testzdbclient020101': zone is unavailable;
attach suggested. See zoneadm(1M) for
other options.
root@testzadmclient0201:~# zoneadm list
global
root@testzadmclient0201:~# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- testzadmclient0201_T
installed /zoneHomeT/testzadmclient0201_T
solaris excl
- testzdbclient020101
unavailable /zoneHome/testzdbclient020101 solaris excl
- testzdbclient020102
unavailable /zoneHome/testzdbclient020102 solaris excl
- testzdbclient020103
unavailable /zoneHome/testzdbclient020103 solaris excl
- testzdbclient020104
unavailable /zoneHome/testzdbclient020104 solaris excl
- testzdbclient020105
unavailable /zoneHome/testzdbclient020105 solaris excl
root@testzadmclient0201:~# zoneadm -z testzdbclient020102
verify
zoneadm: zone 'testzdbclient020102': zone is unavailable;
attach suggested. See zoneadm(1M) for
other options.
root@testzadmclient0201:~# zoneadm -z testzdbclient020103
verify
zoneadm: zone 'testzdbclient020103': zone is unavailable;
attach suggested. See zoneadm(1M) for
other options.
root@testzadmclient0201:~# zoneadm -z testzdbclient020104
verify
zoneadm: zone 'testzdbclient020104': zone is unavailable;
attach suggested. See zoneadm(1M) for
other options.
root@testzadmclient0201:~# zoneadm -z testzdbclient020105
verify
zoneadm: zone 'testzdbclient020105': zone is unavailable;
attach suggested. See zoneadm(1M) for
other options.
root@testzadmclient0201:~# zoneadm -z testzdbclient020106
verify
zoneadm: testzdbclient020106: No such zone configured
root@testzadmclient0201:~# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- testzadmclient0201_T
installed /zoneHomeT/testzadmclient0201_T
solaris excl
- testzdbclient020101
unavailable /zoneHome/testzdbclient020101 solaris excl
- testzdbclient020102
unavailable /zoneHome/testzdbclient020102 solaris excl
- testzdbclient020103
unavailable /zoneHome/testzdbclient020103 solaris excl
- testzdbclient020104
unavailable /zoneHome/testzdbclient020104 solaris excl
- testzdbclient020105
unavailable /zoneHome/testzdbclient020105 solaris excl
root@testzadmclient0201:~# zoneadm -z testzdbclient020105
attach
Progress being logged to /var/log/zones/zoneadm.20170927T163422Z.testzdbclient020105.attach
Installing: Using
existing zone boot environment
Zone BE root
dataset: testzdbclient020105/testzdbclient020105/rpool/ROOT/solaris-1
Cache: Using /var/pkg/publisher.
Updating non-global
zone: Linking to image /.
Processing linked: 1/1 done
Updating non-global
zone: Auditing packages.
No updates necessary for this image. (zone:testzdbclient020105)
Updating non-global
zone: Zone updated.
Result: Attach Succeeded.
Log saved in non-global zone as /zoneHome/testzdbclient020105/root/var/log/zones/zoneadm.20170927T163422Z.testzdbclient020105.attach
root@testzadmclient0201:~#
ou have new mail.
root@testzadmclient0201:~# ldm list
NAME STATE
FLAGS CONS VCPU
MEMORY UTIL NORM
UPTIME
primary
active -n-cv- UART
512 1047296M 1.3% 1.3%
36m
ssccn2-dom1 active
-t--v- 5001 512
1T 0.2% 0.2%
1h 18m
(-t states that the LDOM is down)
root@testzadmclient0201:~#
root@testzadmclient0201:~# virtinfo -a
Domain role: LDoms control I/O service root
Domain name: primary
Domain UUID: 07c7526c-d223-4e7f-8c2a-b6a8672475f6
Control domain: testzadmclient0201
Chassis serial#: AK00358593
root@testzadmclient0201:~# ldm list-bindings ssccn2-dom1
NAME
STATE FLAGS CONS
VCPU MEMORY UTIL
NORM UPTIME
ssccn2-dom1
active -t--v- 5001
512 1T 0.2%
0.2% 1h 20m
UUID
7556a8bb-acca-4a8b-8659-f507c2a7a919
root@testzadmclient0201:~# ldm start ssccn2-dom1
LDom
ssccn2-dom1 is active
root@testzadmclient0201:~# ldm list-bindings ssccn2-dom1
NAME
STATE FLAGS CONS
VCPU MEMORY UTIL
NORM UPTIME
ssccn2-dom1
active -t--v- 5001
512 1T 0.2%
0.2% 1h 21m
UUID
7556a8bb-acca-4a8b-8659-f507c2a7a919
MAC
00:14:4f:f8:62:12
HOSTID
0x84f86212
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
DEPENDENCY
master=
CORE
CID CPUSET
64 (512, 513, 514, 515, 516, 517, 518, 519)
65 (520, 521, 522, 523, 524, 525, 526, 527)
66 (528, 529, 530, 531, 532, 533, 534, 535)
67 (536, 537, 538, 539, 540, 541, 542, 543)
68 (544, 545, 546, 547, 548, 549, 550, 551)
69 (552, 553, 554, 555, 556, 557, 558, 559)
70 (560, 561, 562, 563, 564, 565, 566, 567)
71 (568, 569, 570, 571, 572, 573, 574, 575)
72 (576, 577, 578, 579, 580, 581, 582, 583)
73 (584, 585, 586, 587, 588, 589, 590, 591)
74 (592, 593, 594, 595, 596, 597, 598, 599)
75 (600, 601, 602, 603, 604, 605, 606, 607)
76 (608, 609, 610, 611, 612, 613, 614, 615)
77 (616, 617, 618, 619, 620, 621, 622, 623)
78 (624, 625, 626, 627, 628, 629, 630, 631)
79 (632, 633, 634, 635, 636, 637, 638, 639)
80 (640, 641, 642, 643, 644, 645, 646, 647)
81 (648, 649, 650, 651, 652, 653, 654, 655)
82 (656, 657, 658, 659, 660, 661, 662, 663)
83 (664, 665, 666, 667, 668, 669, 670, 671)
84 (672, 673, 674, 675, 676, 677, 678, 679)
85 (680, 681, 682, 683, 684, 685, 686, 687)
86 (688, 689, 690, 691, 692, 693, 694, 695)
87 (696, 697, 698, 699, 700, 701, 702, 703)
88 (704, 705, 706, 707, 708, 709, 710, 711)
89 (712, 713, 714, 715, 716, 717, 718, 719)
90 (720, 721, 722, 723, 724, 725, 726, 727)
91 (728, 729, 730, 731, 732, 733, 734, 735)
92 (736, 737, 738, 739, 740, 741, 742, 743)
93 (744, 745, 746, 747, 748, 749, 750, 751)
94 (752, 753, 754, 755, 756, 757, 758, 759)
95 (760, 761, 762, 763, 764, 765, 766, 767)
96 (768, 769, 770, 771, 772, 773, 774, 775)
97 (776, 777, 778, 779, 780, 781, 782, 783)
98 (784, 785, 786, 787, 788, 789, 790, 791)
99 (792, 793, 794, 795, 796, 797, 798, 799)
100 (800, 801, 802, 803, 804, 805, 806, 807)
101 (808, 809, 810, 811, 812, 813, 814, 815)
102 (816, 817, 818, 819, 820, 821, 822, 823)
103 (824, 825, 826, 827, 828, 829, 830, 831)
104 (832, 833, 834, 835, 836, 837, 838, 839)
105 (840, 841, 842, 843, 844, 845, 846, 847)
106 (848, 849, 850, 851, 852, 853, 854, 855)
107 (856, 857, 858, 859, 860, 861, 862, 863)
108 (864, 865, 866, 867, 868, 869, 870, 871)
109 (872, 873, 874, 875, 876, 877, 878, 879)
110 (880, 881, 882, 883, 884, 885, 886, 887)
111 (888, 889, 890, 891, 892, 893, 894, 895)
112 (896, 897, 898, 899, 900, 901, 902, 903)
113 (904, 905, 906, 907, 908, 909, 910, 911)
114 (912, 913, 914, 915, 916, 917, 918, 919)
115 (920, 921, 922, 923, 924, 925, 926, 927)
116 (928, 929, 930, 931, 932, 933, 934, 935)
117 (936, 937, 938, 939, 940, 941, 942, 943)
118 (944, 945, 946, 947, 948, 949, 950, 951)
119 (952, 953, 954, 955, 956, 957, 958, 959)
120 (960, 961, 962, 963, 964, 965, 966, 967)
121 (968, 969, 970, 971, 972, 973, 974, 975)
122 (976, 977, 978, 979, 980, 981, 982, 983)
123 (984, 985, 986, 987, 988, 989, 990, 991)
124 (992, 993, 994, 995, 996, 997, 998, 999)
125 (1000, 1001, 1002, 1003, 1004, 1005, 1006,
1007)
126 (1008, 1009, 1010, 1011, 1012, 1013, 1014,
1015)
127 (1016, 1017, 1018, 1019, 1020, 1021, 1022,
1023)
VCPU
VID PID
CID UTIL NORM STRAND
0 512
64 100% 100% 100%
1 513
64 0.0% 0.0% 100%
2 514
64 0.0% 0.0% 100%
3 515
64 0.0% 0.0% 100%
4 516
64 0.0% 0.0% 100%
5 517
64 0.0% 0.0% 100%
6 518
64 0.0% 0.0%
100%
7 519
64 0.0% 0.0% 100%
8 520
65 0.0% 0.0% 100%
9 521
65 0.0% 0.0% 100%
10 522
65 0.0% 0.0% 100%
11 523
65 0.0% 0.0% 100%
12 524
65 0.0% 0.0% 100%
13 525
65 0.0% 0.0% 100%
14 526
65 0.0% 0.0% 100%
15 527
65 0.0% 0.0% 100%
16 528
66 0.0% 0.0% 100%
17 529
66 0.0% 0.0% 100%
18 530
66 0.0% 0.0% 100%
19 531
66 0.0% 0.0% 100%
20 532
66 0.0% 0.0% 100%
21 533
66 0.0% 0.0% 100%
22 534
66 0.0% 0.0% 100%
23 535
66 0.0% 0.0% 100%
24 536
67 0.0% 0.0% 100%
25 537
67 0.0% 0.0% 100%
26 538
67 0.0% 0.0% 100%
27 539
67 0.0% 0.0% 100%
28 540
67 0.0% 0.0% 100%
29 541
67 0.0% 0.0% 100%
30 542
67 0.0% 0.0% 100%
31 543
67 0.0% 0.0% 100%
32 544
68 0.0% 0.0% 100%
33 545
68 0.0% 0.0% 100%
34 546
68 0.0% 0.0% 100%
35 547
68 0.0% 0.0% 100%
36 548
68 0.0% 0.0%
100%
37 549
68 0.0% 0.0% 100%
38 550
68 0.0% 0.0% 100%
39 551
68 0.0% 0.0% 100%
40 552
69 0.0% 0.0% 100%
41 553
69 0.0% 0.0% 100%
42 554
69 0.0% 0.0% 100%
43 555
69 0.0% 0.0% 100%
44 556
69 0.0% 0.0% 100%
45 557
69 0.0% 0.0% 100%
46 558
69 0.0% 0.0% 100%
47 559
69 0.0% 0.0% 100%
48 560
70 0.0% 0.0% 100%
49 561
70 0.0% 0.0% 100%
50 562
70 0.0% 0.0% 100%
51 563
70 0.0% 0.0% 100%
52 564
70 0.0% 0.0% 100%
53 565
70 0.0% 0.0% 100%
54 566
70 0.0% 0.0% 100%
55 567
70 0.0% 0.0% 100%
56 568
71 0.0% 0.0% 100%
57 569
71 0.0% 0.0% 100%
58 570
71 0.0% 0.0% 100%
59 571
71 0.0% 0.0% 100%
60 572
71 0.0% 0.0% 100%
61 573
71 0.0% 0.0% 100%
62 574
71 0.0% 0.0% 100%
63 575
71 0.0% 0.0% 100%
64 576
72 0.0% 0.0% 100%
65 577
72 0.0% 0.0% 100%
66 578
72 0.0% 0.0%
100%
67 579
72 0.0% 0.0% 100%
68 580
72 0.0% 0.0% 100%
69 581
72 0.0% 0.0% 100%
70 582
72 0.0% 0.0% 100%
71 583
72 0.0% 0.0% 100%
72 584
73 0.0% 0.0% 100%
73 585
73 0.0% 0.0% 100%
74 586
73 0.0% 0.0% 100%
75 587
73 0.0% 0.0% 100%
76 588
73 0.0% 0.0% 100%
77 589
73 0.0% 0.0% 100%
78 590
73 0.0% 0.0% 100%
79 591
73 0.0% 0.0% 100%
80 592
74 0.0% 0.0% 100%
81 593
74 0.0% 0.0% 100%
82 594
74 0.0% 0.0% 100%
83 595
74 0.0% 0.0% 100%
84 596
74 0.0% 0.0% 100%
85 597
74 0.0% 0.0% 100%
86 598
74 0.0% 0.0% 100%
87 599
74 0.0% 0.0% 100%
88 600
75 0.0% 0.0% 100%
89 601
75 0.0% 0.0% 100%
90 602
75 0.0% 0.0% 100%
91 603
75 0.0% 0.0% 100%
92 604
75 0.0% 0.0% 100%
93 605
75 0.0% 0.0% 100%
94 606
75 0.0% 0.0% 100%
95 607
75 0.0% 0.0% 100%
96 608
76 0.0% 0.0%
100%
97 609
76 0.0% 0.0% 100%
98 610
76 0.0% 0.0% 100%
99 611
76 0.0% 0.0% 100%
100 612
76 0.0% 0.0% 100%
101 613
76 0.0% 0.0% 100%
102 614
76 0.0% 0.0% 100%
103 615
76 0.0% 0.0% 100%
104 616
77 0.0% 0.0% 100%
105 617
77 0.0% 0.0% 100%
106 618
77 0.0% 0.0% 100%
107 619
77 0.0% 0.0% 100%
108 620
77 0.0% 0.0% 100%
109 621
77 0.0% 0.0% 100%
110 622
77 0.0% 0.0% 100%
111 623
77 0.0% 0.0% 100%
112 624
78 0.0% 0.0% 100%
113 625
78 0.0% 0.0% 100%
114 626
78 0.0% 0.0% 100%
115 627
78 0.0% 0.0% 100%
116 628
78 0.0% 0.0% 100%
117 629
78 0.0% 0.0% 100%
118 630
78 0.0% 0.0% 100%
119 631
78 0.0% 0.0% 100%
120 632
79 0.0% 0.0% 100%
121 633
79 0.0% 0.0% 100%
122 634
79 0.0% 0.0% 100%
123 635
79 0.0% 0.0% 100%
124 636
79 0.0% 0.0% 100%
125 637
79 0.0% 0.0% 100%
126 638
79 0.0% 0.0% 100%
127 639
79 0.0% 0.0% 100%
128 640
80 0.5% 0.5% 100%
129 641
80 0.0% 0.0% 100%
130 642
80 0.0% 0.0% 100%
131 643
80 0.0% 0.0% 100%
132 644
80 0.0% 0.0% 100%
133 645
80 0.0% 0.0% 100%
134 646
80 0.0% 0.0% 100%
135 647
80 0.0% 0.0% 100%
136 648
81 0.0% 0.0% 100%
137 649
81 0.0% 0.0% 100%
138 650
81 0.0% 0.0% 100%
139 651
81 0.0% 0.0% 100%
140 652
81 0.0% 0.0% 100%
141 653
81 0.0% 0.0% 100%
142 654
81 0.0% 0.0% 100%
143 655
81 0.0% 0.0% 100%
144 656
82 0.0% 0.0% 100%
145 657
82 0.0% 0.0% 100%
146 658
82 0.0% 0.0% 100%
147 659
82 0.0% 0.0% 100%
148 660
82 0.0% 0.0% 100%
149 661
82 0.0% 0.0% 100%
150 662 82
0.0% 0.0% 100%
151 663
82 0.0% 0.0% 100%
152 664
83 0.0% 0.0% 100%
153 665
83 0.0% 0.0% 100%
154 666
83 0.0% 0.0% 100%
155 667
83 0.0% 0.0% 100%
156 668
83 0.0% 0.0% 100%
157 669
83 0.0% 0.0% 100%
158 670
83 0.0% 0.0% 100%
159 671
83 0.0% 0.0% 100%
160 672
84 0.0% 0.0% 100%
161 673
84 0.0% 0.0% 100%
162 674
84 0.0% 0.0% 100%
163 675
84 0.0% 0.0% 100%
164 676
84 0.0% 0.0% 100%
165 677
84 0.0% 0.0% 100%
166 678
84 0.0% 0.0% 100%
167 679
84 0.0% 0.0% 100%
168 680
85 0.0% 0.0% 100%
169 681
85 0.0% 0.0% 100%
170 682
85 0.0% 0.0% 100%
171 683
85 0.0% 0.0% 100%
172 684
85 0.0% 0.0% 100%
173 685
85 0.0% 0.0% 100%
174 686
85 0.0% 0.0% 100%
175 687
85 0.0% 0.0% 100%
176 688
86 0.0% 0.0% 100%
177 689
86 0.0% 0.0% 100%
178 690
86 0.0% 0.0% 100%
179 691
86 0.0% 0.0% 100%
180 692 86
0.0% 0.0% 100%
181 693
86 0.0% 0.0% 100%
182 694
86 0.0% 0.0% 100%
183 695
86 0.0% 0.0% 100%
184 696
87 0.0% 0.0% 100%
185 697
87 0.0% 0.0% 100%
186 698
87 0.0% 0.0% 100%
187 699
87 0.0% 0.0% 100%
188 700
87 0.0% 0.0% 100%
189 701
87 0.0% 0.0% 100%
190 702
87 0.0% 0.0% 100%
191 703
87 0.0% 0.0% 100%
192 704
88 0.0% 0.0% 100%
193 705
88 0.0% 0.0% 100%
194 706
88 0.0% 0.0% 100%
195 707
88 0.0% 0.0% 100%
root@testzadmclient0201:~# ldm list-domain -o domain
ssccn2-dom1
NAME STATE
FLAGS UTIL
NORM
ssccn2-dom1
active -t--v- 0.2% 0.2%
SOFTSTATE
OpenBoot
Running ( The LDOM is in OK
Prompt – not in OS)
UUID
7556a8bb-acca-4a8b-8659-f507c2a7a919
HOSTID
0x84f86212
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
DEPENDENCY
master=
VARIABLES
auto-boot?=false
boot-device=/pci@6c0/pci@1/pci@0/pci@c/pci@0/pci@c/scsi@0/disk@w5000cca02d1066a9,0:a
/pci@6c0/pci@1/pci@0/pci@c/pci@0/pci@c/scsi@0/disk@w5000cca02d1072bd,0:a net
guestUUID=7556a8bb-acca-4a8b-8659-f507c2a7a919
oes_domain_type=app
oes_ldom_type=dedicated
oes_ldom_var_version=1.0
pm_boot_policy=disabled=0;ttfc=2000;ttmr=0;
root@testzadmclient0201:~# ldm list-domain -o domain primary
NAME
STATE FLAGS UTIL
NORM
primary
active -n-cv- 0.4% 0.4%
SOFTSTATE
Solaris running
UUID
07c7526c-d223-4e7f-8c2a-b6a8672475f6
HOSTID
0x86899de8
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=0
perf-counters=global,htstrand
boot-policy=n/a
DEPENDENCY
master=
VARIABLES
auto-boot?=false
boot-device=/pci@300/pci@1/pci@0/pci@4/pci@0/pci@c/scsi@0/disk@w5000cca02d0ff455,0:a
/pci@300/pci@1/pci@0/pci@4/pci@0/pci@c/scsi@0/disk@w5000cca02d107d6d,0:a disk
net
oes_domain_type=db
oes_ldom_type=dedicated
oes_ldom_var_version=1.0
pm_boot_policy=disabled=0;ttfc=2000;ttmr=0;
root@testzadmclient0201:~# ldm -V
Logical Domains Manager (v 3.4.0.2.4)
Hypervisor
control protocol v 1.12
Using
Hypervisor MD v 1.4
System PROM:
Hostconfig v. 1.6.6 @(#)Hostconfig 1.6.6 2016/08/17 13:24
Hypervisor v. 1.15.6 @(#)Hypervisor 1.15.6 2016/08/17 12:59
OpenBoot v. 4.38.6 @(#)OpenBoot 4.38.6 2016/08/17 12:41
root@testzadmclient0201:~# ldm list
NAME
STATE FLAGS CONS
VCPU MEMORY UTIL
NORM UPTIME
primary
active -n-cv- UART
512 1047296M 1.0% 1.0%
47m
ssccn2-dom1
active -t--v- 5001
512 1T 0.2%
0.2% 1h 29m
root@testzadmclient0201:~# telnet localhost
5001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connecting to console "ssccn2-dom1" in group
"ssccn2-dom1" ....
Press ~? for control options ..
{0} ok boot
Boot device:
/pci@6c0/pci@1/pci@0/pci@c/pci@0/pci@c/scsi@0/disk@w5000cca02d1066a9,0:a File and args:
Warning: The /etc/system entry noexec_user_stack has been
deprecated.
This configuration will be honored, but this entry should be
deleted and
non-executable stack controlled with sxadm(1M).
SunOS Release 5.11 Version 11.3 64-bit
Copyright (c) 1983, 2016, Oracle and/or its affiliates. All
rights reserved.
net9: DL_BIND_REQ failed: DL_SYSERR (errno 16)
net9: DL_UNBIND_REQ failed: DL_OUTSTATE
net2: DL_BIND_REQ failed: DL_SYSERR (errno 16)
net2: DL_UNBIND_REQ failed: DL_OUTSTATE
Hostname: test-app0202
*******************************************************************************
*******************************************************************************
******************************************
CCCCC *
Some Xxx Institutes *
C * Wide Area Network *
C PPPP * *
C P
P * Only authorized
users are permitted *
CCCCC PPPP SSSS
* to access this system. All
access *
P S
* attempts and sessions will be logged!
*
P SSSS
*
*
S *
For assistance, contact *
SSSS
******************************************
******************************************************************************
******************************************************************************
test-app0202 console login: Sep 27 12:25:48 test-app0202
ssctuner: critical: Please change ssctuner email address from root@localhost
Sep 27 12:25:48 test-app0202 ssctuner: critical: Please
change ssctuner email address from root@localhost
root
Password: Sep 27 12:25:51 test-app0202 ssctuner: warning:
SSCTUNER pkg is over 8 months old - PLEASE UPDATE
Warning: at least 15 failed authentication attempts since
last successful authentication. The
latest at Sun Sep 24 04:23 2017.
Last login: Sun Apr 30 10:19:03 2017 from test-app0102.cp
Sep 27 12:25:52 test-app0202 login: ROOT LOGIN /dev/console
Oracle Corporation
SunOS 5.11 11.3 November 2016
You have new mail.
root@test-app0202:~#
root@test-app0202:~# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- testzapp020201 installed
/zones/testzapp020201
solaris excl
- testzapp020202 installed
/zones/testzapp020202
solaris excl
- testzapp020203 installed
/zones/testzapp020203
solaris excl
- testzapp020204 installed
/zones/testzapp020204
solaris excl
- testzapp020205 installed
/zones/testzapp020205
solaris excl
- testzapp020206 installed
/zones/testzapp020206
solaris excl
root@test-app0202:~#
root@test-app0202:~# zpool status
pool: testzapp020201
state:
ONLINE
scan: none
requested
config:
NAME STATE READ WRITE CKSUM
testzapp020201 ONLINE 0
0 0
c0t600144F0EA60A85E00005748ACB60011d0
ONLINE 0 0
0
errors: No known data errors
pool: testzapp020202
state:
ONLINE
scan: none
requested
config:
NAME
STATE READ WRITE CKSUM
testzapp020202 ONLINE 0
0 0
c0t600144F0EA60A85E00005748ADC10012d0 ONLINE
0 0 0
errors: No known data errors
pool: testzapp020203
state:
ONLINE
scan: none
requested
config:
NAME
STATE READ WRITE CKSUM
testzapp020203 ONLINE 0
0 0
c0t600144F0EA60A85E00005748AEA00013d0
ONLINE 0 0
0
errors: No known data errors
pool: testzapp020204
state:
ONLINE
scan: none
requested
config:
NAME STATE READ WRITE CKSUM
testzapp020204 ONLINE 0
0 0
c0t600144F0EA60A85E00005748AF690014d0
ONLINE 0 0
0
errors: No known data errors
pool: testzapp020205
state:
ONLINE
scan: none
requested
config:
NAME
STATE READ WRITE CKSUM
testzapp020205 ONLINE 0
0 0
c0t600144F0EA60A85E00005748B03D0015d0
ONLINE 0 0
0
errors: No known data errors
pool: testzapp020206
state:
ONLINE
scan: none
requested
config:
NAME
STATE READ WRITE CKSUM
testzapp020206 ONLINE 0
0 0
c0t600144F0EA60A85E00005748B0E00016d0
ONLINE 0 0
0
errors: No known data errors
pool: rpool
state:
ONLINE
scan: none
requested
config:
NAME STATE
READ WRITE CKSUM
rpool
ONLINE 0 0
0
mirror-0
ONLINE 0 0
0
c0t5000CCA02D1066A8d0s0
ONLINE 0 0
0
c0t5000CCA02D1072BCd0s0
ONLINE 0 0
0
errors: No known data errors
root@test-app0202:~# zpool list
NAME
SIZE ALLOC FREE
CAP DEDUP HEALTH
ALTROOT
testzapp020201
164G 2.79G 161G
1% 1.00x ONLINE
-
testzapp020202
164G 3.96G 160G
2% 1.00x ONLINE
-
testzapp020203
164G 2.78G 161G
1% 1.00x ONLINE
-
testzapp020204
164G 2.81G 161G
1% 1.00x ONLINE
-
testzapp020205
164G 2.79G 161G
1% 1.00x ONLINE
-
testzapp020206
164G 2.78G 161G
1% 1.00x ONLINE
-
rpool
556G 124G 432G
22% 1.00x ONLINE
-
root@test-app0202:~# Sep 27 12:26:18 test-app0202
psif: NOTICE: Removing module ret 0
root@test-app0202:~#
root@test-app0202:~#
root@test-app0202:~#
root@test-app0202:~# zpool -z testzapp020201 verify
unrecognized command '-z'
For more info, run: zpool help
root@test-app0202:~# zoneadm -z testzapp020201 verify
root@test-app0202:~# zoneadm -z testzapp020202 verify
root@test-app0202:~# zoneadm -z testzapp020203 verify
root@test-app0202:~# zoneadm -z testzapp020204 verify
root@test-app0202:~# zoneadm -z testzapp020205 verify
root@test-app0202:~# zoneadm -z testzapp020206 verify
root@test-app0202:~# zoneadm -z testzapp020206 verify
root@test-app0202:~# zoneadm -z testzapp020206 verify^C
root@test-app0202:~# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- testzapp020201 installed
/zones/testzapp020201
solaris excl
- testzapp020202 installed
/zones/testzapp020202
solaris excl
- testzapp020203 installed
/zones/testzapp020203
solaris excl
- testzapp020204 installed
/zones/testzapp020204
solaris excl
- testzapp020205 installed
/zones/testzapp020205
solaris excl
- testzapp020206 installed
/zones/testzapp020206
solaris excl
root@test-app0202:~# zoneadm -z testzapp020201 attach
zoneadm: zone 'testzapp020201': is already installed.
root@test-app0202:~# zoneadm -z testzapp020202 attach
zoneadm: zone 'testzapp020202': is already installed.
root@test-app0202:~# zoneadm -z testzapp020201 boot -- -m
verbose
root@test-app0202:~# zoneadm -z testzapp020202 boot -- -m
verbose
root@test-app0202:~# zoneadm -z testzapp020203 boot -- -m
verbose
root@test-app0202:~# zoneadm -z testzapp020204 boot -- -m
verbose
root@test-app0202:~# zoneadm -z testzapp020205 boot -- -m
verbose
root@test-app0202:~# zoneadm -z testzapp020206 boot -- -m
verbose
root@test-app0202:~# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
1 testzapp020201 running
/zones/testzapp020201 solaris excl
2 testzapp020202 running
/zones/testzapp020202
solaris excl
3 testzapp020203 running
/zones/testzapp020203
solaris excl
4 testzapp020204 running
/zones/testzapp020204
solaris excl
5 testzapp020205 running
/zones/testzapp020205
solaris excl
6 testzapp020206 running
/zones/testzapp020206
solaris excl
root@test-app0202:~# zoneadm list
global
testzapp020201
testzapp020202
testzapp020203
testzapp020204
testzapp020205
testzapp020206
root@test-app0202:~# logout
*******************************************************************************
*******************************************************************************
******************************************
CCCCC * Some Xxx Institutes *
C * Wide Area Network *
C PPPP * *
C P
P * Only authorized
users are permitted *
CCCCC PPPP SSSS
* to access this system. All
access *
P S
* attempts and sessions will be logged!
*
P SSSS
*
*
S *
For assistance, contact *
SSSS ******************************************
******************************************************************************
******************************************************************************
root@testzadmclient0201:~#
root@testzadmclient0201:~# ldm list-domain -o domain
ssccn2-dom1
NAME
STATE FLAGS UTIL
NORM
ssccn2-dom1
active -n--v- 0.3% 0.3%
SOFTSTATE
Solaris running
UUID
7556a8bb-acca-4a8b-8659-f507c2a7a919
HOSTID
0x84f86212
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
DEPENDENCY
master=
VARIABLES
auto-boot?=false
boot-device=/pci@6c0/pci@1/pci@0/pci@c/pci@0/pci@c/scsi@0/disk@w5000cca02d1066a9,0:a
/pci@6c0/pci@1/pci@0/pci@c/pci@0/pci@c/scsi@0/disk@w5000cca02d1072bd,0:a net
guestUUID=7556a8bb-acca-4a8b-8659-f507c2a7a919
oes_domain_type=app
oes_ldom_type=dedicated
oes_ldom_var_version=1.0
pm_boot_policy=disabled=0;ttfc=2000;ttmr=0;
root@testzadmclient0201:~# ldm list
NAME
STATE FLAGS CONS
VCPU MEMORY UTIL
NORM UPTIME
primary
active -n-cv- UART
512 1047296M 1.6% 1.5%
1h 18m
ssccn2-dom1 active
-n--v- 5001 512
1T 0.5% 0.5%
2h
root@testzadmclient0201:~#
Subscribe to:
Posts (Atom)
Installing Ingress Controller - Kubernetes
Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...
-
Decommission of LDOM ========================= ldm stop samplepdtestsun08 ldm unbind samplepdtestsun08 ldm destroy samplepdtestsun08 ...
-
hey guys I really felt happy on receiving lot of response to this blog which keep the spirit high in continue writing this. ok I will contin...
-
OS: Sun Solaris 8/10 Hardware: Fire-V880 Error Message: df: cannot statvfs /oracle/test/vol158: I/O error df: cannot statvfs /oracle/test/vo...