41⟩ How to switch a service group?
#hagrp –switch <service group name> -to <system name>
“Solaris Commands frequently Asked Questions by expert members with experience in Solaris Commands. These interview questions and answers on Solaris Commands will help you strengthen your technical skills, prepare for the interviews and quickly revise the concepts. So get preparation for the Solaris Commands job interview”
#hagrp –switch <service group name> -to <system name>
#haconf -makerw
#hagrp -freeze <group name> -persistent
#haconf -dump -makero
The situation when two or more clusters cannot
communicate with each other and each node thinks that it
owns the resources is said to be split brain scenario.
raid is also called redudant array of endependent disk it
is a combination of multiple disk and drive .which can
store a data in diffrent form and level.and it is confirm
the level of data avilability and data performance.
types of raid
raid 1,2,3,5,6,0+1,1+0
- OpenBoot will be in diagnostic mode and the diagnostic-
mode? command will return true when the configuration
variable diag-switch is set TRUE.
- Diagnostic Test Commands
1) watch-net % To check network connections
2) test net % To test network conection
3) probe-scsi % To find the devices attached to SCSI BUS.
OKprintenv
run #devfsadm cmd after fix 80gb HDD
format.
plz wait disk is reading ..
the attached disk menstioned below controller with HDD name
selectt disk
c#t#d#
select p ( partition)
select p ( print)
you select tag 4 enter
you select tag name enter
you seletct wm enter
you select starting cylinder enter
you give now cylinder size : 65gb( you must mention mb or
gb) enter
u give l for lable ( lable means save a things)
it asking (y/n ) y
newfs /dev/rdsk/c#t#d#s4 enter
it taking few mins then crete dir for mount
mkdir /john ( anything )
mount /dev/dsk/c#t#d#s4 /john
and check
df -hk
put entry in /etc/vfstab
There two common errors or problems you will encounter in SVM and these are
1.Maintainence mode( Due to lack of syncronization or some other error)
2.Disk faulty is the second one!
Zones: A zone is a virtual operating system abstraction
that provides a secured environment where applications
run.The applications are protected from each other to
provide software fault isolation.
Container: zone + resource management
The ability to control resource usage for processes,task
and zones.Resources can be CPU level,RAM,virtual
memory,Kernel level tables etc.
There are two ways to add swap in Sun Server(i.e. Sun
Solaris) as below;
1. Make a partion at availbale free disk of required swap
size and then make an entry in /etc/vfstab file. After that
run the command #swapadd /dev/dsk/cXtXdXsX or give the
reconfiguration reboot to the Server.
2. Instead of making partion you can create make a file of
required swap size with the help of #mkfile <size>
<filename> command and after that make an entry
in /etc/vfstab and follow rest of steps mention in point
one.
Advantages of Disksuite
Solstice disk suite provides three major functionalities :
1. Over come the disk size limitation by providing for
joining of
multiple disk slices to form a bigger volume.
2. Fault Tolerance by allowing mirroring of data from one
disk to another
and keeping parity
information in RAID5.
3. Performance enhancement by allowing spreading the data
space over
multiple disks .
We can use dladm command to change network interface
property in Solaris
In this example below maximum bandwidth of link is set to
2Mbps
$ dladm set-linkprop -p maxbw=2m e1000g0
Similarly if you want to set the link to full duplex
$ dladm set-linkprop -p duplex=full e1000g0
we can create 8192 non global zones within global zone but
in realtime environment only at max of 10 to 15 is possible
/var/adm directory contains Administration information
i)system crashes
ii) accounting information for eace user
iii)Logins
/var/sadm directory contains all the package related
information
Collection of metadevices which have their own metadb