Dear Readers,
In this article, we will see the following Install Python Boto3 On AWS EC2.
Collecting Cluster Health Monitor Data
👉 Oracle recommends that you run the diagcollection.sh script on all nodes in the cluster to collect Cluster Health Monitor data.
👉 Running the script on all nodes ensures that you gather all information needed for analysis.
👉 Run the diagcollection.sh script as a root user.
1 2 3 |
# export GRID_HOME=/u01/app/product/18.2.0/grid_home # cd $GRID_HOME/bin # ./diagcollection.sh -help |
–collect
[–crs] For collecting crs diag information
[–adr] For collecting diag information for ADR; specify ADR location
[–chmos] For collecting Cluster Health Monitor (OS) data
[–all] Default.For collecting all diag information. <<<>>>
[–core] Unix only. Package core files with CRS data
[–afterdate] Unix only. Collects archives from the specified date.
[–aftertime] Supported with -adr option. Collects archives after the specified
[–beforetime] Supported with -adr option. Collects archives before the specified
[–crshome] Argument that specifies the CRS Home location
[–incidenttime] Collects Cluster Health Monitor (OS) data from the specified
[–incidentduration] Collects Cluster Health Monitor (OS) data for the duration
Below command will collect all the information of GRID_HOME as .gz file
1 2 3 4 5 |
# ./diagcollection.sh --collect --crs $GRID_HOME # ls *.gz # mv *.gz $GRID_HOME/diag/logs # gunzip ocrdata_lnx01.tar.gz # tar –xvf ocrdata_lnx01.tar |
Below command will help in limiting the amount of data needs to be collected
1 |
./diagcollection.pl --collect --crs $GRID_HOME --chmos --incidenttime 07/21/2020 01:00:00 --incidentduration 00:30 |
ORACLE_HOME :
1 2 3 4 5 |
# export ORACLE_HOME=/u01/app/oracle/product/18.2.0/dbhome # cd $GRID_HOME/bin # ./diagcollection.sh --collect --oh $ORACLE_HOME # ls *.gz # mv *.gz $ORACLE_HOME/diag/logs |
ALL TRACE & LOGFILES :
1 |
# ./diagcollection.sh –coreanalysis |
Cleans Collected Data :
1 |
# ./diagcollection.sh --clean |
Thank you for giving your valuable time to read the above information. Please click here to subscribe for further updates
KTEXPERTS is always active on below social media platforms.
Facebook : https://www.facebook.com/ktexperts/
LinkedIn : https://www.linkedin.com/company/ktexperts/
Twitter : https://twitter.com/ktexpertsadmin
YouTube : https://www.youtube.com/c/ktexperts
Instagram : https://www.instagram.com/knowledgesharingplatform