Backup and restore SLM configuration
The SLM server package stores license information in these folders:
- On UNIX:
$SLMHOME/license
If the environment variable
SLMHOME
is not set, the default path is used: /usr/slm/license. - On Windows:
%PROGRAMDATA%\Infor\Slm\license
Note: The%SLM_RUNTIME%
environment variable can be used to point to another location.
To back up the license information, simply tar or zip this directory and the directory's underlying files and directories.
In case of a hardware failure that corrupts the SLM installation, reinstall the server and client packages. Ensure that all environment settings and registered shared libraries are specified as before the hardware failure. Restore the backed up directory after you installed the server package and restart the server process.
In addition, ensure the files are owned by the user who runs the server process, before and after the crash.
The activation key of the license file is bound to the hardware. Therefore, if a change occurs in the hardware, the SLM server can refuse the former license file and stop running immediately. To check if you require a new activation code, run the program SlmId. Compare the number the program returns with the ID number specified in the host part of the common record of the license file.
$ SlmId
Hostname: server1
Bclm ID: 123556
$ cat $SLMHOME/license/1/6005/license.xml
<?xml version="1.0"?>
<license
layout="1"
version="59">
<common>
<activation
key="2ee028f5a2d15a1427645973224f8a0c"
frozen="No"
/>
<customer
name="Customer Name."
code="230260"
number="910"
editState="active"
/>
<option
HAS="No"
confirmTime="600"
clusterName="SLMCluster1"
clusterId="2437582664"
clientUpdate="Yes"
editState="active"
/>
<host
name="server1"
id="123556"
port="6005"
editState="active"
/>
....
If both the ID numbers are equal, the
SLM
server process runs without modification. If the ID numbers differ, you must
change the license file and reapply for a new activation code. Because the
server stops immediately after the
license.xml file is read, you cannot use the MMC
snap-in to change the host ID.