Posts

Solaris Fault Manager

    Fault Manager is part of self-healing functionality that provides fault isolation and component restart, in this case hardware component      (SMF will take care of software components).     Make sure that you run the service and have required packages. # pkginfo | grep fmd system      SUNWfmd                      Fault Management Daemon and Utilities system      SUNWfmdr                     Fault Management Daemon and Utilities (Root) # # fmadm config MODULE                   VERSION STATUS  DESCRIPTION cpumem-diagnosis         1.7  ...

Filesystem full issues

Please follow the procedure for FS full, in this case it was a root process that was locking a big file as you can see: # lsof +L1 COMMAND     PID    USER   FD   TYPE     DEVICE   SIZE/OFF NLINK      NODE NAME … fmd       17807    root    4u  VREG 294,118000 3381641216     0      5288 /var (/dev/vx/dsk/bootdg/var) fmd       17807    root   20u  VREG 294,118000 3381641216     0      5288 /var (/dev/vx/dsk/bootdg/var) … # ps -ef|grep fmd     root 26390 26236   0 02:24:26 pts/4       0:00 grep fmd     root 17807     1   0   May 26 console   475:21 /usr...

ILOM ALOM Command Comparison

ALOM:               ILOM: setdate                   set /SP/clock datetime=value                              value format: MMDDhhmmYYYY setdefaults               set /SP reset_to_defaults=all                               -> reset /SP This resets the SP setkeyswitch              set /SYS keyswitch_state=value                 ...

Restart autosys agent

#/etc/init.d/uajm_agent stop CA-UAJM Agent stopped. #/etc/init.d/uajm_agent start CA-UAJM Agent started. Follow the below workaround if the autosys agent does not start. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1.Run the command to check the status of both process, auto_remote and csampmuxf # ps -ef|grep 'auto'     root 14712     1  0   Aug 27 ?        2:42 auto_remote     root 27652     1  0 13:00:22 ?        0:00 auto_remote     root 27782     1  0 13:00:40 ?        0:00 auto_remote     root 29066 24480  0 13:01:07 pts/7    0:00 grep auto 2.There should be two entries for /opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmux status . If you see one entry then stop agent and check the autore...

AIX Commands related to Boot and Init Process

1) To find the run-level in which system is working a) #who -r b) cat /etc/.init.state 2) To change the runlevel from one to other #telinit M or shutdown -m –> Go to maintenance mode (single user mode) #telinit 2 3) Shows the bootlist in normal mode & Service mode #bootlist -m normal -o #bootlist -m service -o 4) Sets the bootlist in the normal mode and service mode #bootlist -m normal hdisk1 hdisk2 #bootlist -m service cd0 hdisk1 5) To show the boot disks location code #bootlist -m normal -ov ‘ibm,max-boot-devices’ = 0×5 NVRAM variable: (boot-device=/pci@80000002000000c/pci@2/pci1069,b166@1/scsi@0/sd@4:2) Path name: (/pci@80000002000000c/pci@2/pci1069,b166@1/scsi@0/sd@4:4) <–this pathname shows which blv is used match_specific_info: ut=disk/scsi/scsd hdisk0 blv=bos_hd5 6) To shows state of boot record #ipl_varyon -i PVNAME BOOT DEVICE             PVID           ...

NTP Client Configuration in AIX

1) Using “ntpdate” command , have a server suitable for synchronization by using the #ntpdate -d ip.address.of.ntpserver 2) Client configuration for ntp is defined in the configuration file #cat /etc/ntp.conf server <NTP.SERVER.IP> driftfile /etc/ntp.drift tracefile /etc/ntp.trace 3) start the xntpd daemon #startsrc -s xntpd 4) To make permanent after reboot, uncomment the following line in /etc/rc.tcpip vi /etc/rc.tcpip start /usr/sbin/xntpd “$src_running” 5) check the service status # lssrc -s xntpd Subsystem Group PID Status xntpd tcpip 3997772 active 6) check the time sync with server #ntpq -p

SSH login slowness troubleshooting

In newly installed servers, while trying to login using  "ssh" we may feel some slowness to get the password prompt . Most of us think that this is due to network level DNS issue, but actually the assumption is wrong there is a  parameters in the SSH configuration file which makes delay in getting this password prompt.           Let us see the solution for the above issue in Sun SSH and Open SSH. In SunSSH,  Add the mentioned parameter in the file /etc/ssh/sshd_config LookupClientHostnames no In OpenSSH , Edit the mentioned parameter in the file /etc/ssh/sshd_config UseDNS no                 After that restart the ssh service and check the response of quick password prompt while login to the servers through ss h