Change the VERITAS Cluster Server (VCS) engine log size
Log on csvcs3: path = /var/VRTSvcs/log/engine_A.log maxsize = 33554432 bytes tags = ABCDE
Open the VCS database:
#haconf -makerw
Change the size of the log:
# haclus -modify LogSize 2222222
Verify that the logsize has changed:
# halog -info
Log on csvcs3: path = /var/VRTSvcs/log/engine_A.log maxsize = 2222222 bytes tags = ABCDE
Close the VCS database and add the changes to the main.cf:
#haconf -dump -makero
Posted In
VCS
|
0
comments
|
SUN FIRE 15k / 25k Administration
Where will be idprom binary file will be located for domain in sc ?
/var/opt/SUNWSMS/SMS1.6/data/domain_id/ idprom.image
Where will be console information of domains can be located in sc ?
/var/opt/SUNWSMS/SMS1.6/adm/domain_d/console
Post ,dump and syslog information also located in this parent directory
After completing firmware upgrade of sc the sms not starting. What could be reason behind it?
1. The flash update might not be done correctly. You have to use different image files for fp0 and fp1. Reapply the flashupdate with correct image files
2. We have to issue reset-all command at the OBP of sc in order to recognize the new firmware version.
How to obtain device status connected to a IO board. Lets say for IO1 ?
Sc0:>Showdevices IO1
How to power on the domain Lets say A?
Sc0:> setkeyswitch –d A on
How to power off the domain Lets say A ?
Sc0:> setkeyswitch –d A off
How to make the domain A to standby ?
Sc0:>setkeyswitch –d A standby
What will happen when the domain is at standby ?
The domain be down but the boards will remain in powered on state.
How to check the keyswitch status for domain A ?
Showkeyswitch –d A
How to check the Openboot Prom variable of Domains from SC ?
Showobpparams –d A
How to set the Openboot Prom variable of Domains from SC ?
Setobpparams –d A param=value
What is degraded mode ?
If boards are using only one center plane then its called degraded mode. In normal mode all extension boards will use both center planes
How to set to degraded mode ?
Setbus –c CS0
How to set to normal mode ?
Setbus –c CS0,CS1
How to check the bus status on all domains ?
showbus
How to power on the board from sc ?
Poweron SB0
How to power off the board from sc ?
Poweroff SB0
Is it possible to power off the domain with poweroff command while domain is active ?
No. The poweroff command will fail. To shutdown domain you have to issue command setkeyswitch –d A off
SMS supports how many types of blacklists ? What are they ?
Supports three types of blacklists
1. Platform blacklists -> /etc/opt/SUNWSMS/config/platform/balcklist
2. Domain blacklists -> /etc/opt/SUNWSMS/config/domain_id/blacklist
3. ASR(Automatic System Recovery ) Black lists
How to check the blacklists of Domain/Platform ?
Showcomponent
System Board SB0 is causing problems. Currently its part of the domain A. How to define a system board ( ex: SB0 ) in a blacklist?
Disablecomponent –d A SB0
How to remove the board from blacklist of Domain and Platform ?
Enablecomponent –d A SB0
Is it possible to blacklist few components in Board and use rest of the components ?
Yes
How to check the status of all components status?
Showchs
How to reset the status of the components that has been set by ASR ?
setchs
What is the function of MAN ?
MAN ( MAnagement Network ) maintains private point-to-point network connections between the SC's and each domain .
What is I1 network ?
The point-to-point network between domains and SC is called I1 network
What is I2 network ?
The point-to-point network between SC to SC is called I2 network
What type of network name would be plumbed on SC for I1 network ?
Scman0
What type of network name would be plumbed on SC for I2 network ?
Scman1
Does IP forwarding enabled in MAN ?
No. IP forwarding will be disabled by MAN
Lists few services that MAN network will be used for between sc and domains?
1. Domain consoles
2. Message logging
3. Dynamic Reconfiguration
4. System controller heartbeats
5. Network boot/Solaris installs from sc to domains
What is pcd ?
Platform configuration database
What is the command used to show boards status ?
showboards
What is the command used to show devices connected to boards ?
Showdevices
What is the command used to show environment information ?
showenvironment
Which is the failover daemon ?
Fomd ( Failover Monitoring Daemon)
How to check the status of the failover ?
showfailover
How to check the detailed information about failover with each component status ?
Showfailover -v
How to check the role of the current sc ?
Showfailover -r
How to enable failover ?
Setfailover on
How to disable failover ?
Setfailover off
How to do manual failover ?
Setfailover force
Do the files propagate when they deleted on spare sc ?
No. The file propagation is main-centric. Only if files are modified on main sc then only they will be propagated. If required we have to manually propagate all files from main to spare.
How to forcibly propagate all the files from main to spare sc ?
Setdatasync backup
Through which network the file propagation will takes place ?
I2 network.
Does the network configuration Automatically propagates ?
No. we have to manually configure network using smsconfig -m
What is the HASram ? What's the function of it?
Its High-Availability Sram. This is used for communication between sc's apart from i2 network for redundancy.
How to check the data synchronization between two sc's ?
showdatasync
How to manually push specific file/directory from main to spare sc?
Setdatasync push filename
How to add a specific file/directory to the automatic push profile ?
Setdatasync schedule filename
How to remove a specific file/directory from the automatic push ?
Setdatsync cancel filename
What will happen to Main sc once the spare sc takes over the main role ?
Main sc will be reset by spare sc and after rebooting the main sc role becomes spare
Posted In
Domain admin reference
|
0
comments
|
SPARCstorage Array
Posted In
Storage
|
0
comments
|
DISPLAY ISSUE
Posted In
Trouble Shooting
|
0
comments
|
SSH, SFTP issue
- If 'configure' can't find ssl, change the configure command to:
./configure --prefix=/usr --with-ssl-dir=\ /usr/local/ssl --with-tcp-wrappers - Sometimes compilation of openssh bombs out with the following error messages:
sshd.c:1660: error: storage size of req isn't known sshd.c:1663: warning: implicit declaration of function fromhost sshd.c:1660: warning: unused variable req - Another frequent problem is that configure bombs out with the message:
The easiest solution is to go to your openssl directory and type:configure: error: Your OpenSSL headers do not match your library
Compile openssh, using the following command line, and substitute the appropriate path after --with-ssl-dir :make install cd include/openssl cp * /usr/include/openssl/ cp * /usr/local/ssl/include/openssl/./configure --prefix=/usr --with-tcp-wrappers \ --with-ssl-dir=/usr/local/ssl make make install - If it says:
Get rid of your old libcrypto libraries in /usr/lib and rerun ldconfig:Connecting to carbon... OpenSSL version mismatch. Built against 90603f, you have 90607f Couldn't read packet: Connection reset by peer
Then rebuild and reinstall openssh (make clean; make; make install), and restart sshd.cd /usr/local/ssl/lib cp * /usr/lib/ ldconfig - Sometimes ssh has the following connection problem:
On client
On serverRequest for subsystem 'sftp' failed on channel 0 Couldn't read packet: Connection reset by peer
To solve this problem, do the following:sshd[7079]: Accepted password for tjnelson from 63.127.146.196 port 32777 ssh2 sshd[7079]: subsystem request for sftp sshd[7079]: error: subsystem: cannot stat /usr/local/libexec/sftp-server: No such file or directory sshd[7079]: subsystem request for sftp failed, subsystem not found
Edit /etc/ssh/sshd_config and add:
Create /usr/libexec and make a link to sftp-server. For some reason sshd sometimes looks there instead of the path specified in its configuration file.Subsystem sftp /usr/local/libexec/sftp-server Protocol 2
Stop and start sshd (don't restart, because the port takes a while to close).mkdir /usr/libexec cd /usr/libexec ln -s /usr/lib/ssh/sftp-server sftp-servercd /etc/rc.d ./sshd stop ./sshd restart - If it says:
this means your computer is totally screwed, and you should take it out back and shoot it.checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t - If it says:
The startup script needs to be modified to include the full path of sshd.sshd re-exec requires execution with an absolute path - If it says:
This can happen after an upgrade when you change from PAM to password authentication. Edit /etc/ssh/sshd_conf and change PasswordAuthentication to yes.Permission denied (publickey,keyboard-interactive).
Posted In
Trouble Shooting
|
0
comments
|
NISplus Client add to master server
Posted In
NIS
|
0
comments
|
Problem description: - ./explorer[76]: HOSTID: is read only
Problem description: - ./explorer[76]: HOSTID: is read only
#pwd
/opt/SUNWexplo/bin
# ./explorer
./explorer[76]: HOSTID: is read only
Solution: -
# find / -name exp_main
/opt/SUNWexplo/lib/exp_main
# file /opt/SUNWexplo/lib/exp_main
/opt/SUNWexplo/lib/exp_main: executable /bin/ksh script
# grep -i hostid /opt/SUNWexplo/lib/exp_main
# Save HOSTID
HOSTID=`hostid`
export HOSTID EXP_MAIN_VERSION
EXP_SERIAL=`eval echo $"EXP_SERIAL_${HOSTID}"`
# Translate %H to hostid
EXP_SUBJECT=`echo ${EXP_SUBJECT} | sed -e "s~%H~${HOSTID}~g"`
echo "Hostid: \c" >>${EXP_TARGET}/README
hostid >>${EXP_TARGET}/README
EXP_ID="explorer.${HOSTID}.`uname -n`-`date -u +\%Y.\%m.\%d.\%H.\%M`"
eval "EXP_SERIAL_${HOSTID}"=${exp_parms[44]}
Take backup
# cp -p /opt/SUNWexplo/lib/exp_main /opt/SUNWexplo/lib/exp_main.20090609.MUR
Comment below entry to solve this issue and then re-run the explorer script.
# vi /opt/SUNWexplo/lib/exp_main
HOSTID=`hostid`
Posted In
Trouble Shooting
|
0
comments
|