The default password for root, mariadb root and the SCA web page is linux. Each should be changed once the appliance has been installed.
You can do some database maintenance and administration using the scadb command. Login as root and run the command.
################################################################################ # Supportconfig Analysis Database Tool ################################################################################ Usage: scadb [OPTION] OPTIONS help Shows this screen check Checks, optimizes and repairs tables empty Truncates Archives and Results, resets Agents and AgentWorkers backup Creates a mysqldump file of the ServerDiagnostics database cmd <query> Supports a custom query import <file> Imports the file old <int> Deletes old archives greater than <int> days old del <int> Deletes archive with <int> ArchiveID reset agents Activates the Agent and clears the agent threads archive reset <int> Configures an archive with archive ID <int> to be reanalyzed archive ignore <int> Sets archive to error with archive ID <int> workers add <int> on <agent_id> Increases the number of agent threads by <int> amount on <agent_id> workers del <int> on <agent_id> Decreases the number of agent threads by <int> amount on <agent_id> maint Changes to maintenance mode, use 'reset agents' to clear
The default behavior is to delete all supportconfig archives in the /srv/ftp/upload directory once they have been successfully processed. However, you can change this behavior so the supportconfig archives are left in the /srv/ftp/upload directory for archive purposes. This is helpful when you want to save supportconfigs off the server. Comparing a supportconfig from a problem server with the supportconfig from its previously working condition is a valuable troubleshooting technique. Enabling Archive Mode also activates a hyperlink to the archive in the SCA Report's Archive File field.
Do the following to enable archive mode:
The SCA Appliance can email a report HTML file for each supportconfig analyzed.
Do the following to configure emailing SCA Reports.
The SCA Appliance and its associated patterns are built in the OpenSUSE Build Service project Supportconfig Analysis Appliance. The appliance is linked to this OBS service making it possible to update your SCA Appliance when new patterns or updates are available. You do not need to reimage your server or VM. Patterns will automatically be updated each night when sdagent-patterns is run, but you can update the appliance and patterns manually. The appliance packages must be manually updated since sdagent-patterns only updates the patterns.
Do the following to manually update the SCA Appliance Patterns
Do the following to update the SCA Appliance
You can backup the database of archives analyzed. This is useful when you want to reimage the appliance or update to a new version of the appliance.
Do the following to backup your SCA Appliance database
You restore the SCA Appliance database data from the scadb backup file.
Do the following to restore your SCA Appliance database
The purpose of the SCA Appliance is to automatically analyze supportconfig archives. You can setup your SLES servers to automatically upload a supportconfig to the SCA Appliance on a regular basis to monitor any change in the server's health. The SCA Appliance is already configured as an anonymous FTP server. The only thing left is to setup a crontab entry on each SLES server so they will upload their supportconfig.
For this example, I will assume your SCA Appliance hostname is sca.company.com, and server you want analyzed is server.company.com
When a server is not behaving correctly, it is important to check some basic server conditions such as free disk space, CPU utilization, memory usage and running process status. The SCA Appliance checks these basic conditions for you in the "Basic Health" category in the reports. However, you can manually review the conditions in the supportconfig archive.
Refer to A Basic Server Health Check with Supportconfig for more details.
The SCA Appliance relies on the data gathered by supportconfig. It is always a good idea to use the latest supportconfig provided in the supportutils package on servers you are analyzing. SLES10 SP3 and newer ship with the supportutils package, other versions of SLES do not.
To update from the published update channels, run zypper up supportutils.
To update from the openSUSE Build Service (OBS), refer to "Supportconfig for Linux", Option A. This is the absolute current version.
Sometimes supportconfig will hang. You can find out which command is causing the hang or even attempt to by-pass the hang using the Ctrl-\ key.
Refer to Troubleshooting a supportconfig Hang for more details.