Thursday, April 18, 2024

SOSREPORT: Exadata Diagnostic Utilities – SOSREPORT

 

Exadata Diagnostic Utilities – SOSREPORT

 

SOSREPORT

Sosreport utility is used to collects detailed information about the hardware and configuration of Oracle Linux server

The sos report is a log bundle that collects various system logs, config files, and command output from a Linux system. It is a standardized way to collect diagnostic information from the operating system for investigation

To verify the package installation:

 

# rpm -q sos

sos-4.5.1-3.el8.noarch

 

 

If for some reason the 'sos package' is not installed, it can be installed using the below command:

# yum install sos

 

 

Generate sosreport

Log in to the compute node or storage cell as root user account for which you are running SOSREPORT (example: rac131) 

First find out the sosreport utility in compute node

[root@rac131 ~]# locate sosreport

/etc/selinux/targeted/modules/active/modules/sosreport.pp

/opt/oracle.cellos/validations_server/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

/var/spool/abrt/ccpp-2023-04-01-01:13:43-2821/sosreport.tar.xz

/var/spool/abrt/pyhook-2024-01-19-19:49:22-18259/sosreport.tar.xz

/var/spool/abrt/pyhook-2024-01-19-19:49:22-18812/sosreport.tar.xz

 

 

[root@rac131 ~]# ls -ltrah /usr/sbin/sosreport

-rwxr-xr-x. 1 root root 926 Nov 22  2013 /usr/sbin/sosreport

[root@rac131 ~]#

[root@rac131 ~]# /usr/sbin/sosreport

sosreport (version 2.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 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:  

  https://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 [rac131]:

Please enter the case number that you are generating this report for [None]: 

  Running plugins. Please wait ... 

  Completed [65/65] ...

Creating compressed archive...

 

Your sosreport has been generated and saved in:

  /tmp/sosreport-rac131-20240418041859-1187.tar.xz 

The md5sum is: 2e774e2c4b1a20863d0be085564c1187 

Please send this file to your support representative. 

[root@rac131 ~]#

 

 

No comments:

Post a Comment