Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)

Thursday, June 24, 2021

sar is not capturing logs in Linux

 sar is not capturing logs in Linux

sar (System Activity Report) is monitoring tools which monitors system performance like CPU/mem/IO utilization etc.

The sar captures data on every 10mins interval and the log files are getting stored under /var/log/sa. We can see files generated on every day basis and the log rotaion happens depending on cron set under /etc/cron.d/sysstat.

Supoose the log files are not getting generated in the /var/log/sa directory.


Check the sysstat service status and if it is not running then try to restart the service.

#service sysstat status --> to check service status

#service sysstat status --> to restart service

or

#sysctl restart sysstat


Regards,

Kiran Jaddhav

Thursday, June 3, 2021

How to find serial number of cell nodes - Exadata or SSC

 How to find serial number of cell nodes:


In Exadata box or solaris supercluster (SSC) we may have multiple storage cell nodes attached. 

If we have 10-12 storage cells nodes then instead of login to each and every cells we can find out the serial number by using below command:


1. In Solaris super cluster:

#dcli -g /opt/oracle.supercluster/bin/cell_group -l root "dmidecode -s system-serial-number"

where # cat /opt/oracle.supercluster/bin/cell_group  --> will list number of cell nodes attached to the SSC machine

2. In Exadata servers:

#dcli -g /opt/oracle.SupportTools/onecommand/cell_group -l root "dmidecode -s system-serial-number"

where # cat /opt/oracle.SupportTools/onecommand/cell_group  --> will list number of cell nodes attached to the Exadata machine

Thank U

- Kiiran B Jaadhav