Clearing the transaction logs

A transactional log is simply a binary file where transactions are written. Transaction logging keeps a sequential record of every operation that occurs to your data. If a database becomes corrupted, we can "roll back" the database to a point before it was corrupted and replay the changes from the transaction log.

Do not to delete these files as this action might cause application server function failure.

  1. From the top-level menu of the Appliance Dashboard, locate the Server Control widget.

  2. From the Server Control widget, select Application server.

  3. Click Stop.
  4. Access the command-line interface (CLI) of the virtual appliance by using either an ssh session or the console.

  5. From the command-line interface, log on to the IBM Security Identity Manager virtual appliance. The following message is displayed:
    Welcome to ISIM appliance
    Enter "help" for a list of available commands
    

  6. Enter the help command at the isimvasrv prompt for a list of available commands. The following result is displayed:
    Current mode commands: 
    fips                    View FIPS 140-2 state and events. 
    firmware                Work with firmware images. 
    fixpacks                Work with fix packs. 
    isim                    Work with ISIM settings. 
    license                 Work with licenses. 
    lmi                     Work with the local management interface. 
    management              Work with management settings. 
    snapshots               Work with policy snapshot files. 
    support                 Work with support information files. 
    tools                   Work with network diagnostic tools. 
    Global commands: 
    back                    Return to the previous command mode. 
    exit                    Log off from the appliance. 
    help                    Display information for using the specified command. 
    reboot                  Reboot the appliance. 
    shutdown                End system operation and turn off the power. 
    top                     Return to the top level.

  7. Enter the isim command at the isimvasrv prompt.

  8. Enter the help command at the isimvasrv:isim prompt for a list of available commands. The following result is displayed:
    Current mode commands: 
    jvm_property             Work with the Application Server JVM properties. 
    keystore_password        Work with ISIM keystore. 
    langpack                 Work with ISIM Server language packs. 
    logs                     Work with ISIM log files. 
    nodes_administration     Work with ISIM application server nodes in the cluster. 
    single_sign_on_settings  Work with SSO. 
    upgrade                  Work with ISIM upgrade. 
    utilities                Work with ISIM utilities. 
    Global commands: 
    back                     Return to the previous command mode. 
    exit                     Log off from the appliance. 
    help                     Display information for using the specified command. 
    reboot                   Reboot the appliance. 
    shutdown                 End system operation and turn off the power.
    top                      Return to the top level.

  9. Enter the logs command at the isimvasrv:isim prompt.

  10. Enter the help command at the isimvasrv:isim:logs prompt for a list of available commands. The following result is displayed:
    Current mode commands: 
    clear                     Clear log files on the system. 
    clear_ffdc                Clear all FFDC log files on the system. 
    clear_tranlog             Clear all transactions logs on the system. 
    monitor                   Monitor log files on the system. 
    Global commands: 
    back                      Return to the previous command mode. 
    exit                      Log off from the appliance. 
    help                      Display information for using the specified command. 
    reboot                    Reboot the appliance. 
    shutdown                  End system operation and turn off the power. 
    top                       Return to the top level.

  11. Enter the clear_tranlog command at the isimvasrv:isim:logs prompt.
This command clears transaction logs for the Application server.

Parent topic: Troubleshooting virtual appliance problems