Creating a Docker container secondary server
To create a Docker container secondary server:
- Contact Ricoh Software Support for assistance with this process. The Software Support team can help evaluate your system and determine whether this procedure needs to be modified to fit your needs.
- Download and install the Secondary Docker feature.Follow these procedures:
- If directed by Software Support, install the Secondary Server feature on the remote
Linux computer that will host the Docker container secondary server.
Follow the procedures outlined in Installing remote secondary servers .
- If you did not install the Secondary Server feature:
- Configure NFS to communicate between the primary computer and the computer that will
host the Docker container secondary server.
Follow the procedure in Preparing the primary computer to set up NFS on the primary computer. Stop after you have configured NFS and edited
/etc/hosts
. Do not create a secondary server at this time. - On the computer that will host the Docker container secondary server, create this
directory:
/aiw
, then mount it to the/aiw
directory on the primary computer.Use this command: mount -t nfs primary computer IP address or hostname:/aiw /aiw
- Configure NFS to communicate between the primary computer and the computer that will
host the Docker container secondary server.
- On the computer that will host the Docker container secondary server:
- Create a Linux user ID with the same name as the RICOH ProcessDirector system user (aiw1 is the default). Add that user ID to the docker group.
- Change the ownership of the
/aiw
directory to the user you created.
- Log in to RICOH ProcessDirector.
- Create the server object to represent the Docker container secondary
server.
- Click the Administration tab.
- In the left pane, click .
- On the Servers page, click
- Fill in the properties as appropriate.
- Click OK.
RICOH ProcessDirector creates the server object and installs the container secondary server on the target system. - When the installation process completes, start the container secondary servers. Log
in to the computer that hosts the secondary container servers and run the command
below.
- Note:
- If you created the container secondary server on the primary computer, run the command
on the primary computer.
Replace directory with: /aiw
The path_to_script is not required on the primary server.
- If you created the container secondary server on a different computer, run the command
from the secondary computer.
On a secondary computer, you must provide the full path to the script on the primary computer, including the directory that is mounted to the
/aiw
directory on the primary server. In the command below, replace these values:- path_to_script
The full path to the script on the primary server, including the mounted directory. If the mounted directory is
/aiw
(as in the procedure above), the value is:/aiw/aiw1/bin/
- directory
The full path to the directory that is mounted to the
/aiw
directory on the primary server. In the procedure above, this directory is also/aiw
.
- path_to_script
- To start a specific container secondary server, replace [secondary_name] with the name of that server. Omit this value to start all of the container secondary servers present on the Linux computer.
For example:- To start all the container secondary servers on the primary server:
containers.pl start /aiw
- To start one of four container secondary servers on a different computer:
/aiw/aiw1/bin/containers.pl start /aiw secServContainer3
- If you created the container secondary server on the primary computer, run the command
on the primary computer.
To stop the Docker container secondary servers, run this command on the computer that hosts them:
[path_to_script]containers.pl stop directory[secondary_name]
Follow the replacement instructions above for [path_to_script], directory and [secondary_name].