Working with Controller
Logs
Controller logs display the status history of the operations executed in the adaptive computing landscape. They help in monitoring the operations executed by the adaptive computing controller.
When working with controller logs, you can perform the following activities:
● Display current or archived controller logs
Controller logs give information about the operations executed using ACC. The controller logs are displayed on the Controller Log screen that consists of the following two sections:
¡ Log overview – To display basic information of an operation such as the operation ID, date, status, application service, and so on.
¡ Log detail – To display information about an operation in terms of the messages generated at the different stages of execution of an operation.
● Archive current controller logs
To reduce the load of the log database, you can archive and delete the current controller logs.
Archiving, copies log entries from the log database to an external XML archiving storage. You need to delete the log entries from the log database to reduce the load.
● Delete controller logs
To reduce the load of the log database, when there are too many entries of the controller logs in the log database, you can delete the controller logs.

We recommended that you archive the log entries before deleting them from the log database
You can only retrieve archived log entries, and not the deleted log entries.
● Export log data into an XML file
To mail or print the log information you can export log data into an XML, and use tools such as Microsoft Office Excel.
In the Adaptive Computing Controller, choose Logsfrom the navigation panel.
1. To display the controller log details, choose Current Logs from the Log Type dropdown.
2. To display the details of a controller log, select the relevant log from the Controller Log area.
The log details are displayed in the Log Details tab area.
3. To display logs based on based on the log type, select one of the following options from the Show dropdown list, and choose Go.
Option |
Displays |
Example |
All |
All current log entries. |
Logs created for every operation executed using the ACC. |
Action Log |
Log entries related to the actions start, stop, prepare,relocate, unprepare and so on. |
Log created when a service is started, stopped, or relocated. |
Archive Log |
Log entries related to archiving/retrieving/deleting of log entries. |
Log created for archiving a set of logs. |
Cancelled |
Logs that correspond to a cancel operation. |
Log created when the start of a service is canceled. |
Change Log |
Log entries which contain change logs. |
Log created for a configuration change. |
Failed |
Log entries whose status is Failed. |
Log created when relocating a service fails. |
In Progress |
Log entries whose operation status is In Progress. |
Log entry created when starting a service is in progress. |
Log Deletion |
Log entries that were created during deletion of logs. |
Log entry created when a controller log is deleted. |
Successful |
Logs whose operation is successful. |
Log entry created for a service that has started successfully. |
Validation Logs |
Log entries related to validation of SLD data. |
Log entires created for invalid or inconsistent SLD data |
Migration Logs |
Log entries related to the migration of SLD data. |
Log entry created when services or resources are migrated in the SLD. |
...
4. To filter the log entries based on their attributes, choose the relevant option from the Find dropdown list.
a. Based on the option selected in dropdown Find, enter a relevant value in the field provided.

If the option Action is selected in the Find field, then you enter the value Start to display logs created when a service is started.

The asterisk (*) can be used to represent several characters and the question mark (?) can be used to represent a single character. The filter is not case sensitive.
b. Choose Go or press ENTER.
The current log entries depending on the selected options are displayed in the Controller Log view.

To display logs related to a service or resource, perform the following activities:
i. Depending on the log (service related log or resource related log) you want to display, choose Services or Resources from the navigation bar.
ii. Select the service or resource whose log information you want to display.
iii. Select the Log tab page from the detailed view to display the logs.
...
1. To display archived logs, choose Archived Logs from the Log Type dropdown.
2. In the Controller Log area, select the relevant option from Retrieve for dropdown, and choose Go.
○ To display the logs archived before a particular number of days, select Older Than and enter the required value.
○ To display the logs archived within a particular time frame, select Dates and enter or select the values from the date picker.
○ To display the logs archived for a particular service, select Service and enter the service name or choose a service using Advanced Search.
You can select the services based on the search criteria such as system ID, Name, and Type.

If you enter AI4 for the system ID, the log entries for the service AI4 (APP 01), AI4 (DB), AI4 (CI) are retrieved.
3. To display the details of an archived controller log, select the relevant log from the Controller Log area.
The log details are displayed in the Log Details tab area.
...
1. To archive the current controller logs, choose Archive from the Controller Log area
2. In the Archive Logs dialog box, perform any of the following activities:
○ To archive logs created before a particular number of days, select the Older Than radio button and enter the required value.
○ To archive logs created within a particular time frame, select the From radio button and enter the date value or choose a value from the date picker in the fields From and To.
...
3. Choose Archive.
Log entries from the log database are copied to an external XML archiving storage, and a log is written into controller log about the archiving process.
...
1. To delete the controller logs, choose Delete from the Controller Log area
2. In the Delete Logs dialog box, to delete logs without archiving, perform the following activities:
a. To delete logs created before a particular number of days, select the Older Than radio button and enter the required value.
b. To delete logs created within a particular time frame, select the From radio button and enter or select the values from the date picker in the fields From and To.
c. To delete logs of a particular service, select the Service radio button and enter the service name or choose a service using Advanced Search.
d. Choose Delete.
3. In the Delete Logs dialog box, to delete archived logs, perform the following activities:
a. Choose the required log entries from the Log entries dropdown list.

An example for the dropdown list options:
§ 2007-10-08 16:55:39.145 - Deletion of log entries older than 180 days
§ 2007-10-08 16:55:39.145 - Deletion of log entries between 2007-10-08, 2007-11-08
b. Choose Delete.
A log is written into controller log about the deleting process.
To export the log data displayed on the controller log screen into an XML file, choose Export.
You can now display and print the XML file using tools like Microsoft Office Excel.
More information:
Setting
Up XML Data Archiving Service for ACC
