Installing ONES Application

These steps will guide a user how to install a tar-ball package on base Linux based machine

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

root@ones-application:~$ tar -xvf ONES-3.0.0.tar.bz2

  • Go to ONES-3.0 folder on the server machine

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

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

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

The installer file automatically detects & processes fresh installation or upgrade to the new version

  1. By default, the installer does not provide any license, user needs to contact AVIZ support Team.

  2. ONESv3.0 support SSL certificate integration

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

      Installing Open Networking Enterprise Suite (ONES)
      ..................................................
      Installing prerequisites for ONES application
      ....................
      ....................
      ....................
      ....................
      Installing sshpass...
      dpkg: warning: downgrading sshpass from 1.09-1 to 1.06-1
      (Reading database ... 116659 files and directories currently installed.)
      Preparing to unpack .../sshpass_1.06-1_amd64.deb ...
      Unpacking sshpass (1.06-1) over (1.09-1) ...
      Setting up sshpass (1.06-1) ...
      Processing triggers for man-db (2.10.2-1) ...
      ONES is getting installed for the first time, choose appropriate options when prompted...
      ....................
      Installing ONES application...
      
      Do you want to install domain SSL certificate(if not, installation will proceed with a self signed certificate)? [y/n]: y
      Enter the path to the private key file: /home/aviz/server.pem
      Enter the path to the certificate file: /home/aviz/server.crt.pem

      Note* Replace the Private key & certificate path to correct location

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

      Installing Open Networking Enterprise Suite (ONES)
      ..................................................
      Installing prerequisites for ONES application
      ....................
      ....................
      ....................
      ....................
      Installing sshpass...
      dpkg: warning: downgrading sshpass from 1.09-1 to 1.06-1
      (Reading database ... 116659 files and directories currently installed.)
      Preparing to unpack .../sshpass_1.06-1_amd64.deb ...
      Unpacking sshpass (1.06-1) over (1.09-1) ...
      Setting up sshpass (1.06-1) ...
      Processing triggers for man-db (2.10.2-1) ...
      ONES is getting installed for the first time, choose appropriate options when prompted...
      ....................
      Installing ONES application...
      
      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...
      
      

  3. Enable or disable the ONE DL feature

    1. User can choose YES if the User wants to enable ONES DataLake feature.

      Do you want to enable ONE-DL feature? [y/n]: y
      Since ONE-DL configuration has been chosen, please provide the information below...
      Enter EC2 ONE-DL Backend Public DNS Endpoint: <Path>
    2. User can choose No if need not to enable ONES DataLake feature

      Do you want to enable ONE-DL feature? [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, the application creates a database backup every 86400 seconds(1 day), but the user can modify it as per the requirement

  5. Local and Remote Backup

    1. By-default application creates 1 backup for local and for remote,

    2. It has a range of 1 to 3 and once it will add one more it will remove the first copy of the database,

    3. User can modify the number of backup files at the time of installation

    4. By-default ONES create ./backup directory to maintain local database

  1. ONESv3.0 support certificate-based authentication between ONES App and devices for GNMI and Auto-discovery


For agent auto-discovery agent will act as a client and the collector as a server. For normal gnmi communication, the agent will act as a server and the collector as a client. Need certificates based on this.

  1. ONES Application support IP-based Access & FQDN Access

Enter the ONES App URL: https:// #Replace the input with IP or FQDN

IP based

FQDN based

  1. ONESv3.0 support password-based(MD5) authentication between ONES App and devices for GNMI and Auto-discovery

    1. User can choose yes if need password based authentication

    2. User can choose no if there no requirement of authentication

  • Installation begins

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

Activation:

  • For a Trail license, the user needs to reach out to AVIZ Support

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

Users can activate the 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 License Page

1. Activate License

2. Activate Key

  • 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 Monitor Page with a Topology view

1. Upgrade License

After Trail use, if the user wishes to upgrade new Subscription-based license, so user can navigate to the below page.

  1. Account >> License >> Upgrade License

  1. Click Upgrade License & Enter the subscription-based key

If Switches Deployment is large so user needs to enable the large config inside Database Config File

  1. Copy the postgresql.config file outside to do changes

  1. edit the file and uncomment few lines to activate Large config and save the changes

  1. Copy the changes to DB config file

  1. Restart the ones-collector-db