KBEC-00386 - Confirming your ElectricFlow server addresses

Summary

This article will describe how to use the check_server.sh script to check that your server names are configured correctly.

Solution

  1. Download the attached file check_server.sh
  2. Open a terminal
  3. Log in to ElectricFlow using ectool
    • ectool login
  4. Run the following command
    • sudo bash /check_server.sh
  5. Your server settings will output in the following format:
    EF Server
    ==========================================

    Config: $efServer
    Settings: $ipAddress

    Apache
    ==========================================
    Config: $apacheServer

    Repo
    ==========================================
    Config: $repoServer
    URL: $repoUrl

    If any of these values are incorrect, you may change them with the following steps.

EF Server (Config)

  1. Open your commander.properties file in a text editor.
    • /conf/commander.properties
  2. Find the line
    • COMMANDER_SERVER_NAME=
  3. Change the  field to the correct server name.
  4. Save the commander.properties file.

EF Server (Settings – Using ectool)

  1. Run the following command
    • ectool setProperty /server/settings/ipAddress

EF Server (Settings – Using Web UI)

  1. Open the commander homepage
  2. Navigate to Administration > Server > Settings
  3. Change the field “Server IP address” to your server address
  4. Click “OK” to save

Apache (Config)

  1. Open your httpd.conf file in a text editor
    • /apache/conf/httpd.conf
  2. Find the line
    • SetEnv COMMANDER_SERVER ""
  3. Change the "field to the correct server name.
  4. Save the httpd.conf file.

Repo (Config)

  1. Open your server.properties file in a text editor
    • /conf/repository/server.properties
  2. Find the line
    • COMMANDER_HOST=
  3. Change the field  to the correct server name
  4. Save the server.properties file

Repo (Settings – Using ectool)

  1. Run the following command
    • ectool setProperty /repositories/default/url

Repo (Settings – Using Web UI)

  1. Open the commander homepage
  2. Navigate to Artifacts > Repositories > Repository Name > default
  3. Change the field URL to the updated URL
  4. Click “OK” to save

You can view your updated server name settings by running check_server.sh.

Have more questions?

0 Comments

Please sign in to leave a comment.