Post Setup Wizard Configuration Steps (Magic xpi 4.1)
In all of the application servers, go to the Services control panel and change the service user to the Magic xpi admin user.
In all of the application servers, except the first one (where the setup program already configured this property), modify the Magic.ini file settings for the connection to the internal database as follows:
In the [MAGIC_LOGICAL_NAMES] section, copy the following lines with their defined values from the first application server installation to all of the other application servers:
-
DB_NAME=
-
DB_SERVER_NAME=
-
DB_USER=
-
DB_PASSWORD=
Magic xpi 4.x requires a license to run:
-
Copy the license file that you received after purchase, and copy it to all of the servers, or to the shared location.
-
Modify the Magic.ini file with the license file location by updating the [MAGIC_ENV] LicenseFile entry to point to the shared license file.
For example: LicenseFile =\\10.1.1.6\licenses\License.dat
-
Make sure that your project’s ifs.ini file is configured with the production license (i.e. [MAGIC_ENV]LicenseName = IBPRSRVI for a Windows machine).
Note:
|
Aside from the server hosting the license according to the license’s HOSTID flag, any other server that loads will not add an actual license. The license count will therefore be zero.
|
|
If your application servers have multiple network cards, configure the use of a specific card for the Magic xpi 4.x server, as follows:
-
Modify the NIC_ADDR value found in the <Magic xpi installation>/GigaSpaces/bin/magicxpi-setenv.bat file to hold either the IP assigned to this network card or the name of the network card itself.
For example: NIC_ADDR=10.1.1.11 or NIC_ADDR="#eth0:ip#", where eth0 is the name of the network card.
Tip: You can find the network cards’ IPs and names by running the following script:
<Magic xpi installation folder>/GigaSpaces/bin/platform-info.bat –verbose
Then, look for the section called Network Interfaces Information.
Note:
|
In Magic xpi 4.x, you need to add the NIC_ADDR value manually to the magicxpi-setenv.bat file. For example: set NIC_ADDR=10.1.1.73. As of Magic xpi 4.0a, this entry appears by default.
|
|
-
Add the NIC_ADDR value to the Magic.ini file’s jvm_args section: -Djava.rmi.server.hostname=<your network card IP address here>
Note:
|
The host name or IP address should not be surrounded by quotation marks.
|
|