Tuesday, April 30, 2013

UCS Director : How to collect logs from shelladmin with Root access

Background


If the webserver is not working (Tomcat has an issue or something else), it is not possible to collect logs via GUI


Steps

1. ssh shelladmin@<UCS director>

2. select menu 23) Login as Root

3. you can browse to /opt/infra directory and type "ls"
ucsd_opt_infra.png

3. You can find a following 3 scripts :
collectBasicSystemInfo.sh
collectSystemInfo.sh
createLogZip.sh

cloudCare_CLI.png

4. collectSystemInfo.sh is associated with "System Information (Advanced)
UCSD_collectsysteminfo.png

5. createLogZip.sh is associated with "Download All Logs" but before you run, you need to create a target diretory to save the logs.

In my test I have crated tpm/alllog directory and here is result :

ucsd_createlogzip copy.png

ucsd_new_logall.png


No comments:

Post a Comment