Posts Tagged Solaris
Solaris HBA information
Posted by Lincoln Zuljewic Silva in Solaris on April 26, 2011
On a Solaris system, you can use the command fcinfo to get HBA related information:
# fcinfo hba-port
HBA Port WWN: 210000144fe71480
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: 2200
Type: L-port
State: online
Supported Speeds: 1Gb
Current Speed: 1Gb
Node WWN: 200000144fe71480
HBA Port WWN: 10000000c950c6a2
OS Device Name: /dev/cfg/c5
Manufacturer: Emulex
Model: LP10000-S
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c950c6a2
HBA Port WWN: 10000000c950c6b7
OS Device Name: /dev/cfg/c4
Manufacturer: Emulex
Model: LP10000-S
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c950c6b7
In the example above, you can see that the server has three HBAs (one QLogic and two Emulex).
Solaris and NRPE
Posted by Lincoln Zuljewic Silva in Solaris on August 19, 2009
A very nice guide to install NRPE and nagios-plugins on Solaris 10 can be found here. To stop/start the NRPE, you can use the following command:
# svcadm disable svc:/network/nrpe/tcp
# svcadm enable svc:/network/nrpe/tcp
If you keep getting the "CHECK_NRPE: Error – Could not complete SSL handshake." message, see this FAQ comment
Forcing an user changing the password on Solaris
Posted by Lincoln Zuljewic Silva in Solaris on June 8, 2009
On Solaris, you can use the following commands to unlock na user and force it to change it’s password on first logon:
# passwd -f <username>
passwd: password information changed for <USER>