Manually Configuring the Core Server Connection to Ingress
Recommended reading: Ingress
This guide will walk you through connecting your Core Server to Ingress, assuming you have already installed or upgraded the Core Server before installing Ingress. Follow the set of instructions for your installation scenario:
Core Server and Ingress are on the same machine
- Windows
- Unix
-
Open the Task Manager.
-
Click Services.
-
Search for OpeniTRegistrar and restart it.
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin, run the command:Command Syntaxcd <bin_dir>Examplecd C:\Program Files\OpeniT\Core\bin -
Specify the Ingress API URI, run the command:
Command Syntaxopenit_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
Exampleopenit_confinit -c "apicontroller.uri=https://WIN-HOST01:443" -
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --serverMake sure that there are no errors encountered.
-
Go to the bin directory, which is by default in
/opt/openit/bin, run the command:Command Syntaxcd <bin_dir>Examplecd /opt/openit/bin -
Restart the Open iT services, run the command:
Command Syntax./openit-all restart -
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://host01:443"noteThis command may display an error message but it actually completes successfully.
-
Update the configuration file, run the command:
Command Syntax./openit_confbuilder --serverMake sure that there are no errors encountered.
Core Server and Ingress are on separate machines
- Windows
- Unix
-
Go to the Configuration folder, which is by default in
C:\Program Files\OpeniT\Core\Configuration. -
Look for the configuration file
ingress.jsonand open with a text editor. -
Modify the value of uri with the specific Ingress installation you want to connect to.
ingress.json{
"uri": "https://<hostname>:<port>",
"checkSslValidity": false
}where:
<hostname>- is the hostname of the machine installed with Ingress<port>- is the port specified during Ingress installation
Example{
"uri": "https://WIN-HOST01:443",
"checkSslValidity": false
} -
Save the changes.
-
Open the Task Manager and restart the OpeniTRegistrar service.
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin, run the command:Command Syntaxcd <bin_dir>Examplecd C:\Program Files\OpeniT\Core\bin -
Specify the Ingress API URI, run the command:
Command Syntaxopenit_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
Exampleopenit_confinit -c "apicontroller.uri=https://WIN-HOST01:443" -
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --serverMake sure that there are no errors encountered.
-
Go to the Configuration folder, which is by default in
/var/opt/openit/etc/. -
Look for the configuration file
ingress.jsonand open with a text editor. -
Modify the value of uri with the specific Ingress installation you want to connect to.
ingress.json{
"uri": "https://<hostname>:<port>",
"checkSslValidity": false
}where:
<hostname>- is the hostname of the machine installed with Ingress<port>- is the port specified during Ingress installation
Example{
"uri": "https://host01:443",
"checkSslValidity": false
} -
Save the changes.
-
Go to the bin directory, which is by default in
/opt/openit/bin, run the command:Command Syntaxcd <bin_dir>Examplecd /opt/openit/bin -
Restart the Open iT services, run the command:
Command Syntax./openit-all restart -
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://host01:443"noteThis command may display an error message but it actually completes successfully.
-
Update the configuration file, run the command:
Command Syntax./openit_confbuilder --serverMake 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.