AVIZ Networks
HomeRelease
  • Open Networking Enterprise Suite (ONES)
    • ONES Application
      • ONES Telemetry Collector(s) and Visibility
      • ONES Time Scale Metric Calculation
      • ONES Rule Engine
      • ONES Orchestration
      • ONE DL
      • ONES AVIZ Support
      • ONES Security
      • ONES Multisite
    • Licensing
  • What's new?
  • Getting Started
    • Supported Switch Platforms and NOS
    • Scalability
    • Subscription
    • ONES Installation
      • Installation Pre-requisites
      • Download ONES Package
      • Installing ONES Application
      • Upgrade ONES Application
      • ONE-DL cloud Deployment
      • Installing ONES Agents 3.1.0
        • ONES Telemetry Agent Installation
        • ONES Server Agent Installation
        • ONES Orchestration Agent Installation
        • Agent Less Telemetry
          • Cumulus(NVUE API)
          • Arista EOS (eAPI)
          • CISCO NXOS (GRPC)
      • Adding New Controller
      • Installing ONES Multisite
    • VM Deployment
      • VMware ONES Deployment
      • KVM ONES Deployment
      • Upgrade VM
  • ONES Web GUI Administration
    • Login Page
    • Adding Devices
    • AI Asistance
    • Monitor
    • Inventory
      • Devices
      • Configurations
        • YAML Based Configuration
          • VXLAN-Symmetric
            • VXLAN-Symmetric-SAG-no-mclag-vrf
            • VXLAN-Symmetric-SAG-mclag-vrf
            • VXLAN-Symmetric-SVI-no-mclag-vrf
            • VXLAN-Symmetric-SVI-mclag-vrf
            • VXLAN-Symmetric-SAG-vrf-RoCE
          • VXLAN-SVI
            • VXLAN-SVI-no-mclag-IPv6-eBGP-IPv6-SVI
            • VXLAN-SVI-no-mclag-iBGP-IPv4-Underlay
            • VXLAN-SVI-no-mclag-eBGP-IPv6-SAG
            • VXLAN-SVI-no-mclag-eBGP-IPv4-Underlay
            • VXLAN-svi-no-mclag-eBGP-BGPU-Underlay
          • VXLAN-SAG
            • VXLAN-SAG-no-mclag-iBGP-no-host
            • VXLAN-SAG-no-mclag-iBGP-BGPU-Underlay
            • VXLAN-SAG-no-mclag-iBGP-BGPU-Underlay-HostPO
            • VXLAN-SAG-no-mclag-ebgp-no-host
          • VXLAN-MGLAG
            • VXLAN-MCLAG-ibgp-sag
            • VXLAN-MCLAG-ebgp-svi.yaml
            • VXLAN-MCLAG-ipv6-ibgp-sag
            • VXLAN-MCLAG-ebgp-BGPU-IPv6SAG
            • VXLAN-MCLAG-ibgp-BGPU-IPv6svi
            • VXLAN-MCLAG-ipv4-ibgp-svi
            • VXLAN-MCLAG-ipv6-ebgp-sag
          • VXLAN-Asymmetric
            • VXLAN-Asymmetric-SAG-no-mclag
            • VXLAN-Asymmetric-SAG-mclag
            • VXLAN-Asymmetric-SVI-no-mclag
            • VXLAN-Asymmetric-SVI-mclag
          • MH-VXLAN
            • MH-VXLAN-ibgp-sag
            • MH-VXLAN-ipv6-ibgp-sag
            • MH-VXLAN-Asymmetric-SAG
            • MH-VXLAN-ebgp-BGPU-IPv6SAG
            • MH-VXLAN-ipv6-ebgp-sag
            • MH-VXLAN-Symmetric-2-SAG-vrf
          • MCLAG
            • MCLAG-IPv4-SVI-AccessHosts
            • MCLAG-ibgp-BGPU-Underlay-IPv4SVI-AccessHosts
            • MCLAG-ibgp-IPv6-Underlay-IPv6SVI-AccessHosts
            • MCLAG-IPv4-Underlay-IPv6SVI-AccessHosts
            • MCLAG-IPv6-Underlay-IPv6SVI-AccessHosts
          • L3-MCLAG
            • L3-MCLAG
            • L3-MCLAG-bgpU-combinedLink
            • L3-MCLAG-bgp-combinedLink
          • L2-LS
            • L2LS-EC-L2
            • L2LS-EC-L3-ipv4
            • L2LS-EC-L3-ipv6
          • iBGP
            • i-BGP-IPv6-CLOS-IPv6-host
            • i-BGP-IPv6-CLOS-IPv4-svi
            • i-BGP-IPv4-CLOS-L2PO-host
            • i-BGP-IPv4-CLOS-L2-host
            • i-BGP-IPv4-CLOS-IPv6-svi
            • i-BGP-IPv4-CLOS-IPv4-PO-host
            • i-BGP-BGP-U-CLOS-IPv4-svi
            • i-BGP-BGP-U-CLOS-IPv4-host
          • e-BGP
            • e-BGP-IPv6-CLOS-IPv6-host
            • e-BGP-IPv6-CLOS-IPv4-svi
            • e-BGP-IPv4-CLOS-L2-host
            • e-BGP-IPv4-CLOS-IPv6-svi
            • e-BGP-BGP-U-CLOS-IPv6-svi
            • e-BGP-BGP-U-CLOS-IPv6-host
          • BGP-PO
            • BGP-PO-SLFOW-LeafOnly-EC
            • BGP-PO-SLFOW-LeafOnly-EC-incr1
            • BGP-PO-MCLAG-SLFOW-LeafOnly-EC
          • LeafOnly-EC
          • IPCLOS-1-IPv4-SVI-AccessHosts
          • DHCP-IPCLOS-IPv4-SVI-AccessHosts
          • VXLAN-Symmetric-SAG-vrf-RoCE
        • GUI Based Configuration
        • NetOps Based Configuration
    • Rule Engine
      • Rules Type
        • Add Rules: Entity
        • Add Rules: Entity by Properties
      • Alerts
    • Analytics
    • Settings
    • Integrations
      • Slack Channel Integration
      • Zendesk Support Integration
      • Service Now Integration
      • Cloud Services
        • Splunk
        • Amazon S3
    • Accounts
  • Support
    • How to contact Aviz Networks Support?
    • Backup and Recovery
Powered by GitBook

Copyright © Aviz Networks, Inc.

On this page
  • Installation (Agent Install on multiple switches at the same time)
  • Supported Deployment Methods
  • Installation
  • Uninstallation
  • Installation with a config cleanup

Was this helpful?

  1. Getting Started
  2. ONES Installation
  3. Installing ONES Agents 3.1.0

ONES Orchestration Agent Installation

On the ONES Application server, go to ONES-3.1.0/ones_fm_agent

root@ones-application:~$ cd /ONES-3.1.0/ones_fm_agent

Installation (Agent Install on multiple switches at the same time)

  • Enter device details (Management IP, Username, Password ) in device_info.csv

root@ones-application:/ONES-3.1.0/ones_fm_agent:~$ vi device_info.csv

ip,user,passwd
10.20.3.12,admin,YourPaSsWoRd
...
...
...
  • Save the file

  • Execute the installation script

Supported Deployment Methods

All these supported methods can be implemented by a single script

  1. Installation: install FMCLI

  2. uninstallation: Uninstall FMCLI

  3. installresetconfig: Install FMCLI and reset the configuration

  4. upgrade: Upgrade FMCLI to the latest version

  5. install_withQOS: Install FMCLI and enable QoS feature

  6. installresetconfig_withQOS: Install FMCLI, reset the configuration, and enable QoS feature

Installation

root@ones-application:/ONES-3.1/ones_fm_agent:~$ ./deploy_fmcli.sh

root@ones-application:/ONES-3.1/ones_fm_agent# ./deploy_fmcli.sh
Available options for FMCLI installation:
1) install
   - Install FMCLI
2) uninstall
   - Uninstall FMCLI
3) installresetconfig
   - Install FMCLI and reset the configuration
4) upgrade
   - Upgrade FMCLI to the latest version
5) install_withQOS
   - Install FMCLI and enable QoS feature
6) installresetconfig_withQOS
   - Install FMCLI, reset the configuration, and enable QoS feature

Please enter your choice (1-6) to proceed with the FMCLI installation: 1

Installer will proceed with FMCLI-install ...

e2ef8a51359d: Loading layer [==================================================>]  72.54MB/72.54MB
ae2d55769c5e: Loading layer [==================================================>]  7.401MB/7.401MB
3054512b6f71: Loading layer [==================================================>]  31.35MB/31.35MB
997b8e79e84f: Loading layer [==================================================>]   5.12kB/5.12kB
e6c5004ee77f: Loading layer [==================================================>]   11.7MB/11.7MB
f58d795dfab9: Loading layer [==================================================>]   2.56kB/2.56kB
ed46ea0f4e17: Loading layer [==================================================>]  31.74MB/31.74MB
1c38a701a3d6: Loading layer [==================================================>]   42.7MB/42.7MB
c4456c24c820: Loading layer [==================================================>]  1.421MB/1.421MB
Loaded image: avizdock/agent_installer:latest
Docker image 'avizdock/agent_installer:latest' is loaded.
0395e7f3ca200006767cec01c285730e2083be3a3080763acccd7a6a456e6022

Docker container 'agent_installer' is running.
CONTAINER ID   IMAGE                             COMMAND     CREATED              STATUS         PORTS     NAMES
0395e7f3ca20   avizdock/agent_installer:latest   "python3"   About a minute ago   Up 2 seconds             agent_installer

Docker container 'ones-fm' is running.
Update success for 10.20.3.12
/usr/local/lib/python3.8/site-packages/paramiko/pkey.py:82: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "cipher": algorithms.TripleDES,
/usr/local/lib/python3.8/site-packages/paramiko/transport.py:253: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "class": algorithms.TripleDES,
Ignore below Error if Installing Agent via docker installer

ones-fm container is not running

Operation = install
##### params = {'ip': '10.20.3.12', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.2', 'fm_port': None} #####
###############Connecting to switch###############
<paramiko.client.SSHClient object at 0x7fc3e99a4070>
Connection to switch 10.20.3.12 successfull.....................
/home/ones_fm_agent
Creating work directory  on the device 10.20.3.12........
Work Directory ones-fm_1740143859_4471154 created successfully on the device 10.20.3.12 .............
Copying FMCLI_Installer.py to directory ones-fm_1740143859_4471154 on the device 10.20.3.12 .............
Debug command used:: sudo ls ones-fm_1740143859_4471154/FMCLI_Installer.py
The file 'ones-fm_1740143859_4471154/FMCLI_Installer.py' copy success on the device.
Copying FMCLI_Installer.py to directory ones-fm_1740143859_4471154 successful on the device 10.20.3.12 .............
Copying fmcli-app.tgz to directory ones-fm_1740143859_4471154 on the device 10.20.3.12 .............
Debug command used:: sudo ls ones-fm_1740143859_4471154/fmcli-app.tgz
The file 'ones-fm_1740143859_4471154/fmcli-app.tgz' copy success on the device.
Copying fmcli-app.tgz to directory ones-fm_1740143859_4471154 successful on the device 10.20.3.12 .............
File '/usr/lib/frr/frr-reload.py' exists in container 'bgp'
Skip scp as File: /usr/lib/frr/frr-reload.py exits inside bgp container

#################### Installing FMCLI on the device 10.20.3.12 ######################
####### Debug LOGS on the device 10.20.3.12 #######
fmcli-app/
fmcli-app/libcligen.so.6.2
fmcli-app/ip_validate
fmcli-app/fmcli_read_db_schema
fmcli-app/fmclimain.service
fmcli-app/fmcli_composer.py
fmcli-app/fmcli
fmcli-app/fmcli.version
fmcli-app/fmcli.cli
fmcli-app/fmcli.sh
fmcli-app/fmcli_composer_mapping.cfg
fmcli-app/libhiredis.so.1.1.0
cli
cli/fmcli-app-amd.tgz
Extracting cli/fmcli-app-amd.tgz...
Installing Aviz-FMCLI ..........
Aviz-FMCLI installation successful........
FMCLI version: 3.1.55

Created symlink /etc/systemd/system/multi-user.target.wants/fmclimain.service → /etc/systemd/system/fmclimain.service.
/tmp/fmcliStartup.init

FM-Agent installed successfully on the device 10.20.3.12........
####### Deleting ones-fm_1740143859_4471154 dir on the device 10.20.3.12 #######
Deployment of FM-Agent to switch 10.20.3.12 is Completed
FMCLI install Result
{'10.20.3.12': {'status': 'PASS', 'fmcli_version': '3.1.55'}}
╒═════════╤════════════╤══════════════════╤═════════════════╕
│   SL.No │ Device     │ install Result   │ FMCLI Version   │
╞═════════╪════════════╪══════════════════╪═════════════════╡
│       1 │ 10.20.3.12 │ PASS             │ 3.1.55          │
╘═════════╧════════════╧══════════════════╧═════════════════╛
agent_installer
Docker agent_installer has been stopped
agent_installer
Docker agent_installer has been removed
Untagged: avizdock/agent_installer:latest
Deleted: sha256:b115eb21a63518b47079a0f9b25ed56e8dd807a4aa054dc18efb1d5635b9728d
Deleted: sha256:a2052350dbedd8d19d573f1f81a333af50d33c157dd565c6fb3ea19ff32d7869
Deleted: sha256:403906165705c1c4c263865c7d2e8560424306ef76cc7dfd319565e1036a4b49
Deleted: sha256:71d4c516421d0cd5b08b0c7f7ddff68182ca799815c621e1bf1d7c2a247820f2
Deleted: sha256:ed5221ab4eb63334a3121c173d4b6e0fb882b13eb0de6f1daa781908da91a464
Deleted: sha256:11b1633cb703032b065434387b48194f3e97a57aaddc61a31aa2918a1fd32780
Deleted: sha256:aa353210edce17d0370066fc6184cff9e2a9197884e6f43a0ad1fd32b630f8de
Deleted: sha256:b23b2f4af61d8cc745c6bea66be93bd59b97c3971c36466ae4ea345f52fdfc67
Deleted: sha256:b55ff4d1eb4dd15edbc9ffc15b1bd5771cd09c371b0e7c44cbcbd5c5f62ec76a
Deleted: sha256:e2ef8a51359d088511d34c725305c220294a1fcd5fe5e5dbe4d698c7239ce2c9
Docker avizdock/agent_installer:latest image has been removed

root@Switch:~$ sudo fmcli

root@Switch:~$ sudo fmcli 
fmcli# 

Uninstallation

root@ones-application:/ONES-3.1.0/ones_fm_agent:~$ ./deploy_fmcli.sh

Available options for FMCLI installation:
1) install
   - Install FMCLI
2) uninstall
   - Uninstall FMCLI
3) installresetconfig
   - Install FMCLI and reset the configuration
4) upgrade
   - Upgrade FMCLI to the latest version
5) install_withQOS
   - Install FMCLI and enable QoS feature
6) installresetconfig_withQOS
   - Install FMCLI, reset the configuration, and enable QoS feature

Please enter your choice (1-6) to proceed with the FMCLI installation: 2

Installer will proceed with FMCLI-uninstall ...

e2ef8a51359d: Loading layer [==================================================>]  72.54MB/72.54MB
ae2d55769c5e: Loading layer [==================================================>]  7.401MB/7.401MB
3054512b6f71: Loading layer [==================================================>]  31.35MB/31.35MB
997b8e79e84f: Loading layer [==================================================>]   5.12kB/5.12kB
e6c5004ee77f: Loading layer [==================================================>]   11.7MB/11.7MB
f58d795dfab9: Loading layer [==================================================>]   2.56kB/2.56kB
ed46ea0f4e17: Loading layer [==================================================>]  31.74MB/31.74MB
1c38a701a3d6: Loading layer [==================================================>]   42.7MB/42.7MB
c4456c24c820: Loading layer [==================================================>]  1.421MB/1.421MB
Loaded image: avizdock/agent_installer:latest
Docker image 'avizdock/agent_installer:latest' is loaded.
02c7d8d96c0ef910dff24d9004c6198584d9efa2a8dc901f4d7676f919b82e5e

Docker container 'agent_installer' is running.
CONTAINER ID   IMAGE                             COMMAND     CREATED          STATUS                  PORTS     NAMES
02c7d8d96c0e   avizdock/agent_installer:latest   "python3"   25 seconds ago   Up Less than a second             agent_installer

Docker container 'ones-fm' is running.
Update success for 10.20.3.12
/usr/local/lib/python3.8/site-packages/paramiko/pkey.py:82: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "cipher": algorithms.TripleDES,
/usr/local/lib/python3.8/site-packages/paramiko/transport.py:253: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "class": algorithms.TripleDES,
Ignore below Error if Installing Agent via docker installer

ones-fm container is not running

Operation = uninstall
##### params = {'ip': '10.20.3.12', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.2', 'fm_port': None} #####
###############Connecting to switch###############
<paramiko.client.SSHClient object at 0x7f7834d1c070>
Connection to switch 10.20.3.12 successfull.....................
/home/ones_fm_agent
############### Uninstalling FM Agent ###############
FMCLI uninstall Result
{'10.20.3.12': {'status': 'PASS', 'fmcli_version': '3.1.55'}}
╒═════════╤════════════╤════════════════════╤═════════════════╕
│   SL.No │ Device     │ uninstall Result   │ FMCLI Version   │
╞═════════╪════════════╪════════════════════╪═════════════════╡
│       1 │ 10.20.3.12 │ PASS               │ 3.1.55          │
╘═════════╧════════════╧════════════════════╧═════════════════╛
agent_installer
Docker agent_installer has been stopped
agent_installer
Docker agent_installer has been removed
Untagged: avizdock/agent_installer:latest
Deleted: sha256:b115eb21a63518b47079a0f9b25ed56e8dd807a4aa054dc18efb1d5635b9728d
Deleted: sha256:a2052350dbedd8d19d573f1f81a333af50d33c157dd565c6fb3ea19ff32d7869
Deleted: sha256:403906165705c1c4c263865c7d2e8560424306ef76cc7dfd319565e1036a4b49
Deleted: sha256:71d4c516421d0cd5b08b0c7f7ddff68182ca799815c621e1bf1d7c2a247820f2
Deleted: sha256:ed5221ab4eb63334a3121c173d4b6e0fb882b13eb0de6f1daa781908da91a464
Deleted: sha256:11b1633cb703032b065434387b48194f3e97a57aaddc61a31aa2918a1fd32780
Deleted: sha256:aa353210edce17d0370066fc6184cff9e2a9197884e6f43a0ad1fd32b630f8de
Deleted: sha256:b23b2f4af61d8cc745c6bea66be93bd59b97c3971c36466ae4ea345f52fdfc67
Deleted: sha256:b55ff4d1eb4dd15edbc9ffc15b1bd5771cd09c371b0e7c44cbcbd5c5f62ec76a
Deleted: sha256:e2ef8a51359d088511d34c725305c220294a1fcd5fe5e5dbe4d698c7239ce2c9
Docker avizdock/agent_installer:latest image has been removed

Installation with a config cleanup

using this process, Script will clear the base config like port--channel related config, IP related config, VXLAN related config and more related configuration.

Using the same way user can choose other options to use FM agent

PreviousONES Server Agent InstallationNextAgent Less Telemetry

Last updated 2 months ago

Was this helpful?