Starting the server at boot time - PingDirectory - 10.0

PingDirectory 10.0

bundle
pingdirectory-100
ft:publication_title
PingDirectory 10.0
Product_Version_ce
PingDirectory 10.0 (Latest)
category
Product
pd-100
pingdirectory
ContentType_ce

By default, the server does not start automatically when the system is booted. Instead, you must start it manually with the bin/start-server command.

You can use the create-systemd-script utility to configure the server to start automatically when the system boots. If you prefer, you can also create the script manually.

Click the following tabs to see the instructions for the configuration you want to perform.

Starting the PingDirectory server at boot time

  1. Create the service unit configuration file in a temporary location, where "ds" is the user running the server.
    $ bin/create-systemd-script \
         --outputFile /tmp/ping-directory.service \
         --userName ds
  2. As a root user, copy the ping-directory.service configuration file into the /etc/systemd/system directory.
  3. To read the new configuration file, reload systemd.
    $ systemctl daemon-reload
  4. To start the server, run the start command.
    $ systemctl start ping-directory.service
  5. To configure the server to start automatically when the system boots, run the enable command.
    $ systemctl enable ping-directory.service
  6. Sign off as root.

    To perform this task on an RC system, create the startup script with bin/create-rc-script and move it to the /etc/init.d directory.

    Note:

    Create symlinks to this script from the /etc/rc3.d directory (starting with an “S” to ensure that the server is started) and from the /etc/rc0.d directory (starting with a “K” to ensure that the server is stopped).

Starting the PingDirectoryProxy server at boot time

  1. Create the service unit configuration file in a temporary location, where "ds" is the user running the server.
    $ bin/create-systemd-script \
         --outputFile /tmp/ping-directory-proxy.service \
         --userName ds
  2. As a root user, copy the ping-directory-proxy.service configuration file into the /etc/systemd/system directory.
  3. To read the new configuration file, reload systemd.
    $ systemctl daemon-reload
  4. To start the server, run the start command.
    $ systemctl start ping-directory-proxy.service
  5. To configure the server to start automatically when the system boots, run the enable command.
    $ systemctl enable ping-directory-proxy.service
  6. Sign off as root.

    To perform this task on an RC system, create the startup script with bin/create-rc-script and move it to the /etc/init.d directory.

    Note:

    Create symlinks to this script from the /etc/rc3.d directory (starting with an “S” to ensure that the server is started) and /etc/rc0.d directory (starting with a “K” to ensure that the server is stopped).

Starting the PingDataSync server at boot time

  1. Create the startup script. In this example, ds is the user.
    $ bin/create-rc-script \
      --outputFile Ping-Identity-Sync.sh \
      --userName ds
  2. Sign on as root and move the generated Ping-Identity-Sync.sh script into the /etc/init.d directory.
  3. Create symlinks to it from the /etc/rc3.d directory (starting with an "S" to start the server) and the /etc/rc0.d directory (starting with a "K" to stop the server).
    # mv Ping-Identity-Sync.sh /etc/init.d/
    # ln -s /etc/init.d/Ping-Identity-Sync.sh /etc/rc3.d/S50-Ping-IdentitySync.sh
    # ln -s /etc/init.d/Ping-Identity-Sync.sh /etc/rc0.d/K50-Ping-IdentitySync.sh