VAS is a QUEST (formerly DELL) software that allows validating GAD account in Unix environments.
If running vastool status you receive an error of no srvinfo, then first check DNS entries in resolv.conf to assure the servers are correct and that also resolve hosts
root@server1:/root# /opt/quest/bin/vastool status
Host: <server1, SunOS 5.10 sparc>
Date: <Tuesday, 22 November 2016 15:58:18 CET>
QAS: <4.x.x.x>
Domain: <your.domain.com>
INFO: 232 No srvinfo Read more...
Solaris
Solaris knowledge
If trying to start a resource you receive an error about STOP_FAILED state,
root@server1:/root# clrs enable lsnr-res-chzpoip1 clrs: (C928797) Skipping resource lsnr-res-database1 because its resource group SG_oracle_GROUP1 is in ERROR_STOP_FAILED state.
We have to clear the resource state and offline the Service Group.
# clresource clear -f STOP_FAILED lsnr-res-database1 # clrg offline SG_oracle_GROUP1
#!/bin/bash
/usr/bin/kstat -m cpu_info | egrep "chip_id|core_id|module: cpu_info" > /var/tmp/cpu_info.log
nproc=`(grep chip_id /var/tmp/cpu_info.log | awk '{ print $2 }' | sort -u | wc -l | tr -d ' ')`
ncore=`(grep core_id /var/tmp/cpu_info.log | awk '{ print $2 }' | sort -u | wc -l | tr -d ' ')`
vproc=`(grep 'module: cpu_info' /var/tmp/cpu_info.log | awk '{ print $4 }' | sort -u | wc -l | tr -d ' ')`
nstrandspercore=$(($vproc/$ncore))
ncoresperproc=$(($ncore/$nproc))
speedinmhz=`(/usr/bin/kstat Read more...
If you try to stop a zone but it remains in shutting_down state, any further action will fail (i.e. detach)
root@solaris1:/root # zoneadm -z solariszone detach
zoneadm: zone 'solariszones': detach operation is invalid for shutting_down zones.
First important information is:
We should never kill the zsched process!!.
we have to check on the zone related zombi processes that are blocking our attempt to stop the zone (-z)
root@solaris1:/root # ps -fz solariszone
UID PID PPID C Read more...
To solve all the fmadm errors in a row, run:
# for i in ` fmadm faulty |grep Affect| awk {'print $3'}`; do echo $i; fmadm repaired $i; done