Use this procedure to Install Cisco ONP using the tar archive and installation script on a supported Linux server.
Set up Cisco ONP software by extracting the provided package and running the installer.
The Cisco ONP application is delivered as a bundled tar, signature file, and pubkey files package. The tar file (CONP-xx.xx.xx.xx.tar.gz) contains these files:
Follow these steps to install Cisco ONP by using the tar archive and the installation script.
Note
This task is also applicable for upgrading Cisco ONP 25.1.1 to Cisco ONP 26.1.1. If you are upgrading from software version prior to R25.1.1 to R26.1.1, you must upgrade to R25.1.1 and then to R26.1.1 to retain data from software version prior to R25.1.1.
If the host server is upgraded from Ubuntu 22.04 to 24.04, restart the Ubuntu host server before proceeding with the Cisco ONP installation.
Procedure
|
1. |
Log in to the Ubuntu server or Red Hat server as root or a user with sudo privileges, where Cisco ONP is to be installed. |
|
2. |
Create the 26.1.1_Build folder under ONP_Builds to keep all the required files for the installation.
Example:
user@host:~/Desktop$ mkdir ONP_Builds/26.1.1_Build
Note
The example path here /home/ user/Desktop/ONP_Builds/26.1.1_Build is referenced as $ONP_HOME in this document.
The $ONP_HOME directory can be any other directory in your server. You can create a directory of your choice and copy the ONP build tar file, signature file, and pubkey file to that directory.
|
|
3. |
Copy or download the Cisco ONP build tar, signature file, and public key file to the created ONP_Builds directory. |
|
4. |
Go to the $ONP_HOME directory and perform these steps:
-
Assign full permission to the build tar.
Example:
cd /home/user/Desktop/ONP_Builds
sudo chmod 777 CONP-xx-xx.xx.xx.tar.gz
-
Untar the Cisco ONP build.
tar -xvf CONP-xx-xx-xx.xx.tar.gz
-
Set read, write, and execute permissions for the Install script, and ONP folders using these commands.
sudo chmod -R 777 ONP
sudo chmod 777 Installer.sh
-
Check whether curl is installed in the server by entering this command.
root:~/$ONP_HOME# curl
If you see this output, curl is installed. Otherwise, install curl.
curl: try 'curl --help' or 'curl --manual' for more information
To install curl, run this command.
root:~/$ONP_HOME# sudo apt install curl
-
Enter y or n to change the default IP address.
Would you like to change the IP (y/n)
If you enter n, the installation proceeds with the same IP address as mentioned above and if you enter y, you must provide the IP address and the installation proceeds with the IP address that is provided by you.
ONP Host IP: 10.76.82.14
|
|
5. |
Start Cisco ONP installation. Type the command sudo ./<install file> <tar file> <public key>,” and press Enter.
Example:
sudo ./Installer.sh CONP-xx.xx.xx.xx.tar.gz CONP-xx.xx.xx.xx_pem.pubkey
-
Enter y or n to change the default IP address.
Would you like to change the IP (y/n)
If you enter n, the installation proceeds with the same IP address as mentioned above and if you enter y, you must provide the IP address and the installation proceeds with the IP address that is provided by you.
ONP Host IP: 10.76.82.14
-
Enter your ONP database credentials.
Note
Make sure to use ONLY alphabets or numbers. We recommend not to use any special characters.
If you are installing Cisco ONP for the first time, you must set the username and password for the database.
Would you like to set database username and password (y/n).
The above option appears only when you already have the 25.1.1 image installed and upgrade to 26.1.1. Otherwise you are prompted to enter ONP database username.
If you enter y, then prompt appears and asks you to enter username and password. If you enter n, you can proceed with the next step.
Enter your ONP database username, only alphanumeric characters are valid [user]:
Enter your ONP database password, only alpha numeric characters are valid (len >= 8 and <= 64 characters) [password]:
Repeat your ONP database password.
|
|
6. |
Wait for the installation to complete.
Note
The Cisco ONP services start automatically, after you successfully install the build.
The install logs are located in this path:
/var/log/cnp/install.log
Run this command to see the list of services running:
root:~/$ONP_HOME# sudo docker ps
You can confirm the successful installation based on whether these services are up and running for more than five minutes:
-
cnp_cnp
-
cnp_ode.1
-
cnp_ode.2
-
cnp_ode.3
-
cnp_pce.1
-
cnp_pce.2
-
cnp_cnp_frontend
-
cnp_gene
-
cnp_postgres
|
|
7. |
After you confirm that all the mentioned services in the previous step are up, you can access the Cisco ONP using the Google Chrome, Mozilla Firefox, or Microsoft Edge browser pointing to Ubuntu server hostname or IP address. |
|
8. |
To install the SSF component, refer the README file for SSF installation.
After you install the SSF component, you can add SSF server details in the Cisco ONP application at .
|