Reconfigure the CSA service

Reconfigure the CSA service to start, restart, and stop CSA using the standalone-full-ha.xml configuration file.

Caution You must stop the CSA service before reconfiguring it.

To reconfigure the CSA service on Windows, complete the following steps:

  1. Stop the CSA service:

    1. Navigate to the Services screen (Control Panel > Administrative Tools > Services).
    2. Right-click on the CSA service and select Stop.
  2. Edit the CSA_HOME\jboss-as\bin\service.bat file.

    1. Locate the two occurrences of standalone.bat.

    2. Insert the command line option -c standalone-full-ha.xml into the call standalone.bat < .r.lock >> run.log 2>&1 command line.

      For example:

      call standalone.bat -c standalone-full-ha.xml < .r.lock >> run.log 2>&1

  3. Start the CSA service:

    1. Navigate to the Services screen (Control Panel > Administrative Tools > Services).
    2. Right-click on the CSA service and select Start.

To reconfigure the CSA service on Linux, complete the following steps:

Note If you upgrade from CSA 4.5 to CSA 4.7, copy the CSA 4.7 file under CSA_HOME/scripts to the /etc/init.d directory, so that you can start Elasticsearch.

  1. Open a command prompt.
  2. Stop the CSA service. Run the following command:

    service csa stop

  3. Edit the CSA_HOME/scripts/csa_env.conf file:

    1. Locate the Toggle below two lines to run CSA in HA mode comment.
    2. Below this comment, comment out the export CSA_DEPLOY_MODE=standalone.sh # Standalone Mode line:

      #export CSA_DEPLOY_MODE=standalone.sh # Standalone Mode

    3. Uncomment the following line:

      export CSA_DEPLOY_MODE="standalone.sh -c standalone-full-ha.xml # HA Mode

  4. Start the CSA service. Run the following command:

    service csa start