Enabling History Logging on the Storage System

To achieve this, login to the host on which the UEM CLI operates. Then, check whether history logging is enabled by issuing the following command at the command prompt:

uemcli -d <array-ip> -u <name of user with access to storage system> -p <password of user with access to storage system> / metrics / service show

For instance, if the IP address of the storage array is 192.168.10.86, and the credentials of the user with rights to access the storage array are username: john and password: john, the command will be:

uemcli -d 19.168.10.86 -u john -p john /metrics /service show

The following will then appear:

Storage system address: 192.168.10.86
Storage system port: 443
HTTPS connection
1: History enabled = yes
History retention = 2012-9-20 12:00:00 (5 sec), 2012-9-20 12:00:00 (60 sec), 2012-9-14 12:00:00 (300 sec), not available (3600 sec), not available (14400 sec)

If History enabled is set to no, then, set this to yes by issuing the following command:

<Unisphere_CLI_installed_dir> uemcli -d <IP> -u <username> -p <password> /metrics/service set -historyEnabled yes