To migrate the event data partitions, you can use the offline tool. This tool must be run on the Sentinel server to migrate the underlying H2DB version of the attachment data partition to the latest version. You will not be able to view attachments in older data if you do not migrate event data partitions containing Change Guardian attachment data using the offline tool.
You should use an offline tool if only your Sentinel system is integrated with Change Guardian. To migrate the attachment data partitions, you must use the offline tool. You can run the offline tool on event data partitions containing attachment data on primary storage (Sentinel server) or secondary storage (NFS, CIFS, and SAN).
Below steps to be followed:
Log in to the Sentinel server.
Switch to novell user:
su novell
Go to the following directory:
<sentinel_installation_path>/opt/novell/sentinel/bin
Run the following script:
./h2migrate.sh <event datadirectory path> <from date> <to date>
Example: ./h2migrate.sh /var/opt/novell/sentinel/data/eventdata/events 20220825 20220925
The above parameters mentioned in the command migrate partitions containing attachment data from Aug 25, 2022 to September 25, 2022.
Run the following script:
./h2migrate.sh <Event data directory path> <fromDate> <toDate>
<fromDate>: The from date to start migrating attachment (H2DB) files.
Example: 20220510 OR using wildcards 20220510* OR 202205 OR 2022
<toPartitionId>: The to partition date to end migrating attachment (H2DB) files.
Example: 20220510 OR using wildcards 20220510* OR 202205 OR 2022
For more information, run the following command:
./h2migrate.sh