Multihomed describes a computer host that has multiple IP addresses connected to networks.
When the dbWatch Server runs on a multihomed computer, you have to specify which IP the Server should bind to.
On windows
Create/change the environment variable called JAVA_TOOL_OPTIONS and give it the value -Djava.rmi.server.hostname=“ip”.
The dbWatch Server will bind to this address next time it is restarted.
On Linux
On linux you have to make some changes to the dbWatch startup file. The startup file is dbWatchService[version].sh when starting the dbWatch Server as a service, and dbWatchConsole[version].sh when starting the dbWatch Server in a console.
Enter the following command:
-Djava.rmi.server.hostname=“ip”
This should be entered at the end of the file, after -Dinstall4j.jvmDir=”$app_java_home” and in the line that contains the startup command for dbWatch. It should then look something like this:
“$app_java_home/bin/java” -Dinstall4j.jvmDir=”$app_java_home” -Djava.rmi.server.hostname=“ip” -Dinstall4j.appDir=”$app_home” -Dexe4j.modulename=”$prg_dir/$prg” …..
← dbWatch installation on Red Hat Enterprise Linux 8.1 / Upgrading dbWatch →
Post your comment on this topic.