Page History
Panel | ||
---|---|---|
| ||
First, you will need to stop the DataSync Agent. Next, make sure that you have backed up your local agent files, namely the files in the conf directory in your Perspectium Replicator Agent directory. You will also need to request the latest Agent Installer from Perspectium Support. |
Anchor | ||||
---|---|---|---|---|
|
Panel | ||||
---|---|---|---|---|
| ||||
|
To start upgrading your DataSync Agent, choose from below:
Upgrading the Agent through the command line Anchorcommand-line command-line
command-line | |
command-line |
If you generated an automatic installation script with your previous installation, you can run the installer from the command line and pass the automatic installation file as a parameter. Doing so will cause the installer to run and use all the settings you specified in the previous installation. You will not be prompted for this information. To run the installer with an auto installation script, open a command window and change to the directory where the new installer jar file resides. Next you should locate the auto installation script from your previous install. It is usually in the top directory of the agent installation and if you accepted the default name will be called auto-install.xml.
Once you know the location, copy and paste the auto-intall.xml into the same folder or directory as the perspectium-datasync-installer.jar.
UI Text Box | ||
---|---|---|
| ||
The following is for Linux only. |
Now you can run the following command making sure to use the correct name of the installer jar file:
Code Block |
---|
java -jar perspectium-replicator-installer.jar auto-install.xml |
Upgrading the Agent through the Agent Installer Anchorinstaller installer
installer | |
installer |
UI Steps | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Upgrading Java for the agent
Here are the instructions to follow if you're upgrading your Java version in a Windows machine, or moving from 32-bit to 64-bit Java.
- Stop the DataSync Agent
Modify the path for Java
At the bottom of wrapper.conf file, there should be the following lines corresponding to the installed directory of Java and your current version:Code Block set.JAVA_HOME=C:\Program Files\Java\jre1.8.0_131
Modify the set.JAVA_HOME variable to the location of your new version of Java. For example, if you are upgrading the version reflected above (Java 1.8.0_131) to version 1.8.0_144, you would modify like so:Code Block set.JAVA_HOME=C:\Program Files\Java\jre1.8.0_144
Start the DataSync Agent
Warning | ||
---|---|---|
| ||
If you did not perform these steps, and the version of Java was upgraded on the Agent's VM, then it will run into issues. It will likely crash and fail to start up. |