# Manually Configuring the Core Server Connection to Ingress

Recommended reading: Ingress

Here are the required steps if you installed/upgraded the Core Server first before installing Ingress.

# Core Server and Ingress are on the same machine

  1. Open the Task Manager.

  2. Click Services.

  3. Search for OpeniTRegistrar and restart it.

  4. Open a command prompt with Administrator level privileges.

  5. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd C:\Program Files\OpeniT\Core\bin
  6. Specify the Ingress API URI, run the command:

    Command Syntax
     openit_confinit -c "apicontroller.uri=https://<hostname>:<port>"

    where:

    • <hostname> - is the hostname of the machine installed with Ingress
    • <port> - is the port specified during Ingress installation

    Example
     openit_confinit -c "apicontroller.uri=https://desktop123win:443"
  7. Update the configuration file, run the command:

    Command Syntax
     openit_confbuilder --server

    Make sure that there are no errors encountered.

# Core Server and Ingress are on separate machines

  1. Go to the Configuration folder, which is by default in C:\Program Files\OpeniT\Core\Configuration.

  2. Look for the configuration file ingress.json and open with a text editor.

  3. Modify the value of uri with the specific Ingress installation you want to connect to.

    ingress.json
    1 |  {
    2 |    "uri": "https://<hostname>:<port>",
    3 |    "checkSslValidity": false
    4 |  }

    where:

    • <hostname> - is the hostname of the machine installed with Ingress
    • <port> - is the port specified during Ingress installation

    Example
    1 |  {
    2 |    "uri": "https://desktop123win:443",
    3 |    "checkSslValidity": false
    4 |  }
  4. Save the changes.

  5. Open the Task Manager and restart the OpeniTRegistrar service.

  6. Open a command prompt with Administrator level privileges.

  7. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd C:\Program Files\OpeniT\Core\bin
  8. Specify the Ingress API URI, run the command:

    Command Syntax
     openit_confinit -c "apicontroller.uri=https://<hostname>:<port>"

    where:

    • <hostname> - is the hostname of the machine installed with Ingress
    • <port> - is the port specified during Ingress installation

    Example
     openit_confinit -c "apicontroller.uri=https://desktop123win:443"
  9. Update the configuration file, run the command:

    Command Syntax
     openit_confbuilder --server

    Make sure that there are no errors encountered.

# Core Server and Ingress are on the same machine

  1. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  2. Restart the Open iT services, run the command:

    Command
     ./openit-all restart
  3. Specify the Ingress API URI, run the command:

    Command Syntax
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "apicontroller.uri=https://<hostname>:<port>"

    where:

    • <hostname> - is the hostname of the machine installed with Ingress
    • <port> - is the port specified during Ingress installation

    Example
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "apicontroller.uri=https://desktop123win:443"
  4. Update the configuration file, run the command:

    Command Syntax
     ./openit_confbuilder --server

    Make sure that there are no errors encountered.

# Core Server and Ingress are on separate machines

  1. Go to the Configuration folder, which is by default in /var/opt/openit/etc/.

  2. Look for the configuration file ingress.json and open with a text editor.

  3. Modify the value of uri with the specific Ingress installation you want to connect to.

    ingress.json
    1 |  {
    2 |    "uri": "https://<hostname>:<port>",
    3 |    "checkSslValidity": false
    4 |  }

    where:

    • <hostname> - is the hostname of the machine installed with Ingress
    • <port> - is the port specified during Ingress installation

    Example
    1 |  {
    2 |    "uri": "https://desktop123win:443",
    3 |    "checkSslValidity": false
    4 |  }
  4. Save the changes.

  5. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  6. Restart the Open iT services, run the command:

    Command
     ./openit-all restart
  7. Specify the Ingress API URI, run the command:

    Command Syntax
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "apicontroller.uri=https://<hostname>:<port>"

    where:

    • <hostname> - is the hostname of the machine installed with Ingress
    • <port> - is the port specified during Ingress installation

    Example
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "apicontroller.uri=https://desktop123win:443"
  8. Update the configuration file, run the command:

    Command Syntax
     ./openit_confbuilder --server

    Make sure that there are no errors encountered.

# Next Step?

After connecting the Core Server to Ingress, you may proceed with verifying the access to the Open iT Core Server web interface.

   Accessing the Core Server Web Interface