Running the DELMIA UNIX and Interix-based Windows RCS Server
This task describes the steps required to run the UNIX- and Interix-based servers.
-
Log on to the RRS server machine and go to the RRS server's bin
directory on the server machine:
cd <rcs_home_dir>/<RRS_Cntr_Type>/bin
-
Start the RRS server daemon:
./rcssrv_<RRS_Cntr_Type> -tcp <port_num>
where rcssrv_<RRS_Cntr_Type> is the name of the RRS server executable, e.g., rcssrv_FANUC_RJ2__4.2 for FANUC RJ2 4.2 RCS, and <port_num> is the IP port that the RRS server will be listening for RRS connection requests from an RRS client.
Note that the RRS server executable file name on the RCS manufacturer's distribution tape may not follow the naming convention described here. Please see the RRS server-specific pages in the Customizing section to see if this may be the case.
<port_num> must match the <port> field of the corresponding RRS server entry in the DELMIA RRS product's RRS servers file.
By default, the RRS server creates the log file /usr/tmp/rcssrv_<RRS_Cntr_Type>.log and the process ID file /usr/tmp/rcssrv_<RRS_Cntr_Type>.pid. Note that on Windows RCS servers these files are created on the same drive that the RRS server executable is located on.
All RRS server startup/termination and RRS connection messages are recorded in the log file. The RRS server daemon's process ID is stored in the process ID file. Optionally, by using the -log <Log_File> and -pid <Process_ID_File> options on the RRS server command line, user-specified log and process ID file names can be used instead of the defaults.
-
Log off the RRS server machine.
The RRS server daemon will continue to run in the background. Once the RRS server daemon is up (unless it gets killed due to a reboot, for example), the RRS server does not require further intervention by the user.
To terminate the RRS server deamon and clean up associated processes and files, execute the following command on the RRS server machine: kill `cat /usr/tmp/rcssrv_<RRS_Cntr_Type>.pid`
where /usr/tmp/rcssrv_<RRS_Cntr_Type>.pid may need to be replaced with the user-specified <Process_ID_File> if the -pid flag was used when the RRS server daemon was first started.
Note:On Windows Interix RRS server machines, you must either:
- first change to the directory on the drive where the RRS server executable is located before issuing the above kill command, or
- explicitly specify the the drive letter in the pid file's pathname in the above kill command.