デーモン プロセスを使用してリモート ホスト上でサーバーを起動するには

これは、リモート ホスト上でサーバーを起動する最も一般的な方法です。

このデーモンによって起動されたサーバーには、接続しているユーザーの ID が割り当てられます。このユーザー ID は、接続の確立時に使用した認証詳細から取得されます。その後のコンパイル プロセスとデバッグ プロセスは、このユーザーとして実行されます。

デーモンを起動するには、Unix マシン上の任意のバージョンの Perl と、任意のバージョンの Java が両方必要です。

Starting the Daemon

重要: Before starting the daemon you must have the following on your UNIX machine:
  • A version of Perl.
  • A version of Java 8 or later.
  • The as (assembler) and ld (linking) programs on the path, as specified by the PATH environment variable.

To start the daemon on the default port (4075) as a background process, perform this command with superuser authority:

$COBDIR/remotedev/startrdodaemon

The daemon will now listen for any Eclipse client processes connecting to that machine on port 4075. If you want to use another port, specify another port number on the startrdodaemon command.

The daemon can also be configured to instantiate the servers on a specified port or range of ports. This is particularly relevant when you want to only open certain ports through a firewall. To do this, perform this command with superuser authority:

$COBDIR/remotedev/startrdodaemon [<port> | <low port>-<high port>] 
where:
  • <port> is the port number the daemon should use to listen for connections from Eclipse on the client machine. If no value is given, it will be assigned a default value of 4075. This value matches the value assigned within the Eclipse installation.

    For example,

    $COBDIR/remotedev/startrdodaemon 4999

    This command will start a daemon listening on port 4999 and will use random server ports.

  • <low port>-<high port> is the range of ports on which the servers (launched by the daemon) should use to communicate with Eclipse on the client machine.

    For example,

    $COBDIR/remotedev/startrdodaemon 4080 4090-4999

    This command will start a daemon listening on port 4080 and server ports will be in the range 4090 to 4999.