The remote development support from the Eclipse IDE relies upon Micro Focus Visual COBOL Development Hub running on the UNIX machine and handling all requests from the IDE for building and debugging programs. Micro Focus Visual COBOL Development Hub provides a UNIX daemon, the Remote Development Option (RDO) daemon, which initiates the RDO as Eclipse clients connect to it. Whichever environment is used to start the RDO daemon will be inherited for all servers and hence all build and debug sessions.
You may need to configure some aspects of the environment before you start the daemon. This is because when a build or debug session is initiated on the Development Hub from one of the Eclipse clients, the environment used will be inherited from whatever was used to start the daemon. A typical example of the kind of environment that might need to be set up would include database locations and settings for SQL access at build/run time.
The daemon can be run with or without parameters. If no parameters are specified, the process relies on the default values in $COBDIR/remotedev/rdo.cfg.
Use the following syntax to start the daemon on the remote host:
$COBDIR/remotedev/startrdodaemon [<port> <low port>-<high port>]
Example: To start the daemon listening on port 4999:
$COBDIR/remotedev/startrdodaemon 4999
This command will override the default port in rdo.cfg.
Example: To instruct the daemon (on port 4999) to instantiate servers using a range of ports 4090-4993:
$COBDIR/remotedev/startrdodaemon 4999 4090-4993
This command will also override the default ports in rdo.cfg.
If the server has an active firewall, it is important that these ports are open in the firewall settings. You can use the configrdo utility to set the default ports in rdo.cfg to ones already open in the firewall. If you are running on a supported Red Hat platform, you can also use the utility to open the required ports in the active firewall. See Configuring the firewall for more information.
To stop the daemon, type the following command with super-user authority:
$COBDIR/remotedev/stoprdodaemon <port>