Installing ONES Application

ONES Application system - Installation Steps

  • Enable super-user mode

user@ones-application:~$ sudo su

  • Extract the contents of the downloaded ONES Installer tar.gz file to this folder

root@ones-application:~$ mkdir ONES-1.2.1

root@ones-application:~$ tar -xvzf ONES-1.2.1.tar.gz -C ONES-1.2.1

  • Go to ONES-1.2.1 folder on the server machine

root@ones-aplication:~$ cd ONES-1.2.1

  • Run ones-installer.sh to Install the ONES application function

root@ones-application:~/ONES-1.2.1$ ./ones-installer.sh

The installer file automatically detect & will process fresh installation or upgrade to the new version

  1. By default, the installer has a license for 8 devices upto 30days

  2. ONESv1.2.1 support SSL certificate integration

    1. User can choose YES if the User wants to integrate their own SSL certificate

    2. Choose NO, if the user wants to use self-signed certificate that is integrated into ONES package.

Installing Open Networking Enterprise Suite (ONES)
..................................................
ONES is getting installed for the first time, choose appropriate options when prompted...
....................
Installing prerequisites for ONES application
....................
....................
....................
....................
Installing ONES application...
Using random password for DBs
Do you want to install domain SSL certificate(if not, installation will proceed with a self signed certificate)? [y/n]: n
Using self signed certificates...
  1. ONESv1.2.1 support certificate-based authentication between ONES Controller and devices

Do you want to enable certificate based authentication between ONES controller and devices? [y/n]: n

4. The installation allows a user to enable DB backup

  1. Users can choose the local or remote location to backup the database

  2. By-Default application creates a database backup in every 86400 seconds(1 day), but user can modify it as per the requirement

  3. By-Default application creates 1 backup for local and for remote it has a range 1 to 3 and once it will add one more it will remove the first copy of the database, User can modify the number of backup files at the time of installation

Local backup:
Do you want to enable DB backups? [y/n]y
Where do you want to store the backups? [local/remote]: local    #local keyword trigger local database on server
Enter the backup directory: ./backups     #Enter the server directory in which user wants to take backup
Enter the number of backups (between 1 and 3) to retain (Older backups will be deleted): 1   #Enter the number of backup user wants to create
Enter the backup interval in seconds (3600 seconds or higher): 86400 #Enter the value in seconds to take a backup 
Remote backup:
Do you want to enable DB backup feature? [y/n]: y
Where do you want to store the backups? [local/remote]: remote    #remote keyword trigger remote database on server
Please make sure the remote server is reachable via SSH
Enter the remote machine IP: 10.0.0.1    
Enter the remote machine username: admin
Enter the remote machine password: 
Enter the backup directory: ~/backups    #Enter the remote server directory in which user wants to take backup
Backup is being done in 10.0.0.1 at ~/backups
Enter the number of backups (between 1 and 100) to retain (Older backups will be deleted): 5    #Enter the number of backup user wants to create
Enter the backup interval in seconds (3600 seconds or higher): 86400    #Enter the value in seconds to take a backup 

NOTE: The system might have multiple IP addresses, so the user can use any one IP to access ONES-UI.

  • Installation begins

Installing Open Networking Enterprise Suite (ONES)
..................................................
ONES is getting installed for the first time, choose appropriate options when prompted...
....................
Installing prerequisites for ONES application
....................
....................
....................
....................
Installing ONES application...

Using random password for DBs
Do you want to install domain SSL certificate(if not, installation will proceed with a self signed certificate)? [y/n]: n
Using self signed certificates...
Do you want to enable certificate based authentication between ONES controller and devices? [y/n]: n
Do you want to enable DB backup feature? [y/n]: y
Where do you want to store the backups? [local/remote]: local
Enter the backup directory: ./backups
Enter the number of backups(between 1 and 3) to retain (Older backups will be deleted): 1
Enter the backup interval in seconds(3600 seconds or higher) : 86400
Setting up the environment and loading essential dockers...
d7802b8508af: Loading layer [==================================================>]  138.2MB/138.2MB
66ac3aec5226: Loading layer [==================================================>]  53.48MB/53.48MB
8515c97b6098: Loading layer [==================================================>]  2.048kB/2.048kB
acad07e3b593: Loading layer [==================================================>]  85.56MB/85.56MB
... 
... 
... 
      Name                     Command                  State                                                                    Ports                                                              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
broker              /etc/confluent/docker/run        Up             0.0.0.0:29092->29092/tcp,:::29092->29092/tcp, 0.0.0.0:9092->9092/tcp,:::9092->9092/tcp, 0.0.0.0:9101->9101/tcp,:::9101->9101/tcp
docker              python3 app.py                   Up                                                                                                                                             
kafka-connect       /etc/confluent/docker/run        Up (healthy)   0.0.0.0:8083->8083/tcp,:::8083->8083/tcp, 9092/tcp                                                                              
ones-collector      java -jar /app/collector.jar     Up             8093/tcp                                                                                                                        
ones-collector-db   /docker-entrypoint.sh postgres   Up             0.0.0.0:5432->5432/tcp,:::5432->5432/tcp, 8008/tcp, 8081/tcp                                                                    
ones-db-backup      python3 app.py                   Up                                                                                                                                             
ones-fm             java -jar /app/ones-fm.jar       Up             0.0.0.0:8787->8080/tcp,:::8787->8080/tcp                                                                                        
ones-fm-db          docker-entrypoint.sh postgres    Up             0.0.0.0:2345->5432/tcp,:::2345->5432/tcp                                                                                        
ones-gateway        ./gnmi-gateway -TargetLoad ...   Up             0.0.0.0:9339->9339/tcp,:::9339->9339/tcp                                                                                        
ones-pty-server     docker-entrypoint.sh node  ...   Up             0.0.0.0:8885->8885/tcp,:::8885->8885/tcp                                                                                        
ones-ui             docker-entrypoint.sh node  ...   Up             3002/tcp, 0.0.0.0:443->443/tcp,:::443->443/tcp                                                                                  
schema-registry     /etc/confluent/docker/run        Up             0.0.0.0:8081->8081/tcp,:::8081->8081/tcp                                                                                        
zookeeper           /etc/confluent/docker/run        Up             0.0.0.0:2181->2181/tcp,:::2181->2181/tcp, 2888/tcp, 3888/tcp                                                                    
Finishing up ONES Installation...
............................................................Installed ONES application successfully...
....................
Open the ONES application  at https://<host-ip>

While doing an upgrade from ONESv1.2 to ONESv1.2.1, it removes the user database

  • Access ONES Application Web GUI from a supported browser using https://<host-ip>

Activation:

  • For Trail, user can choose Start A Trial (valid for 30days)

  • For Activation, user can choose Activate License if the user has an activation key of any subscription

Start A Trail

  • Use Default credentials as below;

    • Username: superadmin

    • Password : Admin@123

  • Update/Change your password on the first login

Password should contain:-

Minimum Password Length - 8 characters

Maximum Password Length - 24 characters

Character Support - Alpha Numeric

Special Characters - (# @ $ ! & % only)

Character Rule - At least one Upper Case and one special character

Login To ONES

  • After Resetting the password use new credentials to login

  • You will see the default Dashboard → Hardware view

Activate License

Get the Activation key

  • Share ONES installation ID to the AVIZ support team

  • As per PO, the AVIZ team will share the Activation key

  • Paste the activation key and Activate

Users can activate ONES Application first time just after installation(first-time ONES application shows the page to activate the license

After evaluating ONES application, the user will have the option to activate the license anytime from the dashboard

Last updated

Copyright © Aviz Networks, Inc.