An administrator has a requirement to examine the disk space of an Authentication Manager. Perhaps an alert has occurred to trigger this requirement.
This knowledge article provides a Linux shell script which can be executed on any Authentication Manager instance in a deployment to generate a report on what is using the disk space of an Authentication Manager instance.
The Linux shell script must be run with elevated privileges on the rsaadmin account and requires the Operations Console username and password to read data from the Authentication Manager database.
Installation1. Download and copy the attached shell script called RSAAM_check_diskspace_usage.sh into the /tmp folder on an Authentication Manager instance. Review the following article on how to
enable Secure Shell on the Appliance, if needed. Where Secure Shell (SSH) has been enabled, a secure FTP client (e.g. WinSCP) can be used to copy the shell script into the /tmp folder.
2. Change the permissions of the shell script so it can be run at the command line:
chmod 755 /tmp/RSAAM_check_diskspace_usage.shUsage1. Logon to the Authentication Manger instance with the rsaadmin account, either in an SSH session or at the local console.
2. Change the privileges of the rsaadmin account using the command:
sudo su -Note that if you do not change the privileges of the rsaadmin account the following message appears:
You must be the root user to use this program; exiting...3. Navigate to the /tmp folder e.g.
cd /tmp4. Run the shell script from the /tmp folder e.g.
./RSAAM_check_diskspace_usage.shExample:
am87p:/tmp # ./RSAAM_check_diskspace_usage.sh
Checking OC credentials....missing OC credentials! - used to access the AM database
Please enter OC Administrator username: ocadmin
Please enter OC Administrator password: ** entered OC password received **
OC credentials validated... redirecting to main program..
Examing Disk Space on an Authentication Manager
- Authentication Manager Hostname : am87p.securidcsapj.local
- AM version : 8.7.0.2.0
- /dev/sda3 has used 12G out of 455G
- disk space used is below 80%
- /opt/rsa/am overall size is 9.1G
- AM database is approx. 111M
- collecting table sizes from the AM database..
- done!
- report filename : /tmp/report-file_202212201206.log
am87p:/tmp #
5. Review the report file.
** Where you have an open case with RSA Customer Support then provide a copy of the report file to the SecurID technical support engineer who is managing your case for review.
RSA Authentication Manager 8.1 / 8.2 / 8.3 / 8.4 / 8.5 have reached their end of primary support dates.
RSA Authentication Manager 8.x product version life cycle information is available from URL
https://community.rsa.com/t5/product-life-cycle/product-version-life-cycle-for-securid/ta-p/572909#toc-hId--1624502097 .