Tuesday, February 11, 2020

Exadata - How To Collect Sosreport on Oracle Linux?

How To Collect Sosreport on Oracle Linux?

When you are working with Oracle support engineer on OS issue, Most commonly asked report from oracle support engineer is sosreport.

What is sosreport?

“The “sosreport” is a tool to collect troubleshooting data on an Oracle Linux system. It generates a compressed zip of debugging information that gives an overview of the most important logs and configuration of a Linux system.

The sosreport includes information about the installed rpm versions, syslog, network configuration, mounted filesystems, disk partition details, loaded kernel modules and status of all services

Please refer the below MOS document for more details:
How To Collect Sosreport on Oracle Linux (Doc ID 1500235.1)

[root@HOST03 ~]# locate sosreport
/etc/selinux/targeted/modules/active/modules/sosreport.pp
/opt/oracle.cellos/validations/init.d/sosreport
/usr/lib/python2.6/site-packages/sos/sosreport.py
/usr/lib/python2.6/site-packages/sos/sosreport.pyc
/usr/lib/python2.6/site-packages/sos/sosreport.pyo
/usr/sbin/sosreport
/usr/share/man/man1/sosreport.1.gz
/usr/share/selinux/devel/include/system/sosreport.if
/usr/share/selinux/targeted/sosreport.pp.bz2
[root@HOST03 ~]#

[root@HOST03 ~]# sosreport 

sosreport (version 3.2)

This command will collect diagnostic and configuration information from
this Oracle Linux system and installed applications.

An archive containing the collected information will be generated in
/tmp/sos.BUdkox and may be provided to a Oracle USA support
representative.

Any information provided to Oracle USA will be treated in accordance
with the published support policies at:

  http://linux.oracle.com/

The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.

No changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [HOST03.r02.xlgs.local]: 
Please enter the case id that you are generating this report for []: 3-20516635001

 Setting up archive ...
 Setting up plugins ...
 Running plugins. Please wait ...

  Running 75/75: yum...                      
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-HOST03.r02.xlgs.local.3-20516635001-20190711082835.tar.xz

The checksum is: b721f41c5d69454c92915b1168a0c3e7

Please send this file to your support representative.

[root@HOST03 ~]# 

[root@HOST03 ~]# ls -ltrh /tmp/sosreport-HOST03.r02.xlgs.local.3-20516635001-20190711082835.tar.xz
-rw------- 1 root root 15M Jul 11 08:29 /tmp/sosreport-HOST03.r02.xlgs.local.3-20516635001-20190711082835.tar.xz
[root@HOST03 ~]# 

Regards,
Mallik

No comments:

Post a Comment

Automation Script | Archivelog Generation Hourly Monitoring

1. List out all the running databases and pic one database where we want to monitore the archive log generation from last 1 month. [oracle@o...