Starting and Stopping the ActiveMQ Brokers and 3DOrchestrate Servers

You can use a command-line option of the 3DOrchestrate deployment utility to start and stop the cluster members.

Note: Any command-line option shown in [square brackets] is optional; all others are mandatory.

This page discusses:

Start or Stop an ActiveMQ Broker

To start or stop a particular ActiveMQ broker of the cluster, you must work locally on the actual server machine. You can run the start and stop commands remotely from a different cluster machine.

  1. Open a command-line prompt, and change the current directory to <server_install_dir>; for example:

    C:\DassaultSystemes\R2026x\3DOrchestrate\
  2. Start or stop an ActiveMQ broker by executing the following command:

    ./<os>/reffiles/SMAExeServer/deploy/smaexe-deploy.[bat|sh] -ha –amq [-v] deploy.param index=<AMQ-index>  StartAMQ|StopAMQ

    Use this command with the proper ActiveMQ index number to start or gracefully shut down. Use either StartAMQ or StopAMQ on the command line.

    StartAMQ Executes the ActiveMQ startup script in the directory <server_install_dir>/<servername>/activemq-<tag>/bin/. Startup log messages are monitored to ensure that the ActiveMQ broker starts correctly.
    StopAMQ Executes the ActiveMQ shutdown script in the same directory.
    Index Numerical index (1-99) of one of the previously registered ActiveMQ brokers of the broker you are shutting down or starting.
    deploy.param Specify the fully qualified path and file name. Typically, it is <server_install_dir>/config/deploy.param

    You can find the log messages for startup and shutdown in the subdirectory /logs/<tag>/. Log messages for ActiveMQ operation are located in the subdirectory /activemq-<tag>/data/activemq.log.

Start or Stop a Cluster 3DOrchestrate Server

To start or stop a particular cluster server, you must work locally on the actual server machine. The start and stop commands cannot be run remotely from a different cluster machine.

  1. Open a command-line prompt, and change the current directory to <server_install_dir>; for example:

    C:\DassaultSystemes\R2026x\3DOrchestrate\
  2. Start or stop a clustered 3DOrchestrate server by executing the following command:

    ./<os>/reffiles/SMAExeServer/deploy/smaexe-deploy.[bat|sh] -ha –eed [-v] deploy.param index=<EED-index>  StartEED|StopEED

    Use this command with the proper 3DOrchestrate server index number to start or gracefully shut down. Use either StartEED or StopEED on the command line.

    StartEED Executes the TomEE 3DOrchestrate startup script in the directory <server_install_dir>/<servername>/tomee-<tag>/bin/. Startup log messages are monitored to ensure that the 3DOrchestrate server starts correctly.
    StopEED Executes the TomEE 3DOrchestrate shutdown script in the same directory.
    index Numerical index (1-99) of one of the previously registered 3DOrchestrate servers you are shutting down or starting.
    deploy.param Specify the fully qualified path and file name. Typically, it is <server_install_dir>/config/deploy.param

    You can find the log messages for startup and shutdown in the subdirectory /logs/<tag>/. Log messages for 3DOrchestrate server normal operation are located in the subdirectory /tomee-<tag>/logs/.