# 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 apicontroller.xml in the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components.

  5. Locate the object node uri and update its value using the machine's hostname and the specified port during Ingress installation.

    apicontroller.xml
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">http://<hostname>:<port></Value>
    34|    </Object>
    Example
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">https://mnl3000host:443</Value>
    34|    </Object>
  6. Save the changes.

  7. Open a command prompt with Administrator level privileges.

  8. 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
  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 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": "http://<ingress_hostname>:8080",
    3 |    "checkSslValidity": false
    4 |  }
  4. Save the changes.

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

  6. Open apicontroller.xml in the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components.

  7. Locate the object node uri and update its value using the machine's hostname and the specified port during Ingress installation.

    apicontroller.xml
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">http://<hostname>:<port></Value>
    34|    </Object>
    Example
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">https://mnl3000host:443</Value>
    34|    </Object>
  8. Save the changes.

  9. Open a command prompt with Administrator level privileges.

  10. 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
  11. 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. Run the command to restart the Open iT services.

    Command
     /opt/openit/bin/openit-all restart
  2. Open apicontroller.xml in the Components directory, which is by default in /var/opt/openit/etc/Components.

  3. Locate the object node uri and update its value using the machine's hostname and the specified port during Ingress installation.

    apicontroller.xml
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">http://<hostname>:<port></Value>
    34|    </Object>
    Example
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">https://mnl3000host:443</Value>
    34|    </Object>
  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. 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": "http://<ingress_hostname>:8080",
     3 |    "checkSslValidity": false
     4 |  }
  4. Save the changes.

  5. Run the command to restart the Open iT services.

    Command
     /opt/openit/bin/openit-all restart
  6. Open apicontroller.xml in the Components directory, which is by default in /var/opt/openit/etc/Components.

  7. Locate the object node uri and update its value using the machine's hostname and the specified port during Ingress installation.

    apicontroller.xml
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">http://<hostname>:<port></Value>
    34|    </Object>
    Example
    30|    <Object>
    31|        <Name>uri</Name>
    32|        <Description>URI of the API(required)</Description>
    33|        <Value type="String">https://mnl3000host:443</Value>
    34|    </Object>
  8. Save the changes.

  9. 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
  10. 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  

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close