Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
ip,user,passwd,layer,region,type,groupid,azid,brickid,rackid
"10.20.0.80","admin","YourPaSsWoRd","Server","San_Jose_Lab","Server",1,1,1,1
...
...
...Do you want to update the username/password for password authentication? (Yes/No): noDo you want to add only Collector IP for auto-discovery and skip the agent installation ?(yes/no): no Enter the IP addresses of collectors to auto-discover (max 2, comma-separated, e.g., 10.1.1.10,10.2.2.5):10.20.0.93Do you want to restrict access only to provided collector ip?
Note: Providing Yes will restrict access to agent only with the provided collector IP Address
Enter Yes/No : YesDo you want to enable password authentication? (yes/no): yes
Enter the new username: admin
Enter the new password: YourPaSsWoRdDo you want to enable password authentication? (yes/no): noDo you want to update the username/password for password authentication? (Yes/No): no
Do you want to add only Collector IP for auto-discovery and skip the agent installation? (yes/no): no
Enter the IP addresses of collectors to auto-discover (max 2, comma-separated, e.g., 10.1.1.10,10.2.2.5): 10.20.0.93
Do you want to restrict access only to the provided collector IP?
Note: Providing Yes will restrict access to agent only with the provided collector IP Address
Enter Yes/No: no
Do you want to enable password authentication? (Yes/No): no
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' is loaded.
b17757c75cda3c71ff4d1311c116c6143893726ddce7dead02b0d77cc926fc5c
Docker container 'agent_installer' is running.
/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,
Selecting βYesβ will exclusively initiate the day-2 deployment of the Ones-Agent,
involving a reconfiguration of the existing agent to establish communication with the specified collector(s).
Choosing βNoβ will initiate the deployment of the Ones-Agent as an independent third-party container.
[{'ip': '10.20.0.80', 'user': 'aviz', 'passwd': 'Aviz@123', 'layer': 'Server', 'region': 'San Jose', 'azid': '1', 'brickid': '1', 'rackid': '1', 'groupid': '8', 'type': 'Server', 'installation_instance': 1, 'agentip': '10.20.0.80', 'collectorip': '10.20.0.93', 'restrict_collector_ip': 'no', 'password_authentication': 'no'}]
###############Connecting to switch###############
Connection to switch 10.20.0.80 successful.....................
Looking for previous installation........................
Copying files to the switch........................
Verifying files on the remote switch........................
File /home/aviz/docker_packages.tar.gz exists on the remote server.
File /home/aviz/prerequisites.sh exists on the remote server.
File verification completed.
Untarring docker_packages.tar.gz on the remote server...
Successfully untarred docker_packages.tar.gz.
Setting execute permissions on prerequisites.sh...
Successfully set execute permissions on prerequisites.sh.
Executing prerequisites.sh on the remote server...
....................
....................
....................
....................
....................
(Reading database ... 116661 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) ...
No previous installation found on the device 10.20.0.80........
Creating work directory on the device 10.20.0.80........
Work Directory ones-agent_1727157788_9940367 created successfully on the device 10.20.0.80 .............
Copying ones_agent_start.sh to directory ones-agent_1727157788_9940367 on the device 10.20.0.80 .............
Copying ones_agent_start.sh to directory ones-agent_1727157788_9940367 successful on the device 10.20.0.80 .............
ones_agent_start.sh file copied to /usr/bin successfully on the device 10.20.0.80........
Copying ones_agent_ip_rule.sh to directory ones-agent_1727157788_9940367 on the device 10.20.0.80 .............
Copying ones_agent_ip_rule.sh to directory ones-agent_1727157788_9940367 successful on the device 10.20.0.80 .............
ones_agent_ip_rule.sh file copied to /usr/bin successfully on the device 10.20.0.80........
Copying ones-agent.service to directory ones-agent_1727157788_9940367 on the device 10.20.0.80 .............
Copying ones-agent.service to directory ones-agent_1727157788_9940367 successful on the device 10.20.0.80 .............
Installation proceeding with NoTls mode
Copying agent.conf to directory ones-agent_1727157788_9940367 successful on the device 10.20.0.80 .............
agent.conf copied to /etc/ones successfully on the device 10.20.0.80........
Copying ones-agent.tar to directory ones-agent_1727157788_9940367 on the device 10.20.0.80 .............
Copying ones-agent.tar to directory ones-agent_1727157788_9940367 on the device 10.20.0.80 .............
Loading Docker image on the device 10.20.0.80 ###########################################
Docker image loaded successfully on the device 10.20.0.80........
Getting name of the loaded image
image = ##avizdock/ones-server-agent:v3.0.0##
Running docker.....................
docker run -it -v /usr/bin/hl-smi:/usr/bin/hl-smi -v /etc/ones:/etc/ones -v /etc/os-release:/etc/os-release-origin --cpu-period=100000 --cpu-quota=50000 --net=host --privileged -dt --name ones-agent avizdock/ones-server-agent:v3.0.0
b'8435e8edc34c90c3d378a89769dc5167e020095818ede8178ac675c96d37ecd3\n'
Service file loaded successfully on the device 10.20.0.80##################
Enabling ones-agent.service 10.20.0.80 ##################
Enabled ones-agent as service successfully on the device 10.20.0.80 ##################
Starting ones-agent service on the device 10.20.0.80........
Made ones-agent immune to booting on the device 10.20.0.80########################
Copying ones-agent.tar file
ones-agent.tar file copied successfully on the device 10.20.0.80........
Copying agent.conf file
agent.conf file copied successfully on the device 10.20.0.80........
Copying ones-agent.service file
ones-agent.service file copied successfully on the device 10.20.0.80........
Copying ones_agent_ip_rule.sh file
ones_agent_ip_rule.sh file copied successfully on the device 10.20.0.80........
Copying ones_agent_start.sh file
ones_agent_start.sh file copied successfully on the device 10.20.0.80........
##################################################################
Status of ones-agent.service is - Active: active (running) since Tue 2024-09-24 06:06:03 UTC; 2min 34s ago
Deployment of ones-agent to switch 10.20.0.80 is successful
ββββββββββββββββ€βββββββββββ
β IP Address β Result β
ββββββββββββββββͺβββββββββββ‘
β 10.20.0.80 β Pass β
ββββββββββββββββ§βββββββββββ
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
Docker avizdock/agent_installer image has been removed
bash$ ssh username@myswitch
Password: <passw0rd>
myswitch> enable
myswitch# configure terminal
myswitch(config)# management api http-commands
myswitch(config-mgmt-api-http-cmds)# no shutdown myswitch(config-mgmt-api-http-cmds)# show management api http-commands
Enabled: Yes
HTTPS server: running, set to use port 443
HTTP server: shutdown, set to use port 80
Local HTTP server: shutdown, no authentication, set to use port 8080
Unix Socket server: shutdown, no authentication
VRFs: defaultswitch-1# configure terminal
switch-1(config)#
switch-1# feature grpc
switch-1(config)#
switch(config)# grpc use-vrf defaultswitch# show run grpc
!Command: show running-config grpc
!Running configuration last done at: Mon Jan 29 13:59:36 2024
!Time: Mon Jan 29 14:06:27 2024
version 9.3(9) Bios:version 04.18
feature grpc
grpc use-vrf defaultswitch# show grpc gnmi service statistics
=============
gRPC Endpoint
=============
Vrf : management
Server address : [::]:50051
Status : Running - certificate expired
Cert notBefore : Jan 10 07:07:03 2024 GMT
Cert notAfter : Jan 11 07:07:03 2024 GMT
Max concurrent calls : 8
Listen calls : 1
Active calls : 0
Number of created calls : 32
Number of bad calls : 29
Subscription stream/once/poll : 15/0/0
Max gNMI::Get concurrent : 5
Max grpc message size : 8388608
gNMI Synchronous calls : 20496
gNMI Synchronous errors : 0
gNMI Adapter errors : 0
gNMI Dtx errors : 0
=============
gRPC Endpoint
=============
Vrf : default
Server address : [::]:50051
Status : Running - certificate expired
Cert notBefore : Jan 10 07:07:03 2024 GMT
Cert notAfter : Jan 11 07:07:03 2024 GMT
Max concurrent calls : 8
Listen calls : 1
Active calls : 0
Number of created calls : 1
Number of bad calls : 0
Subscription stream/once/poll : 0/0/0
Max gNMI::Get concurrent : 5
Max grpc message size : 8388608
gNMI Synchronous calls : 0
gNMI Synchronous errors : 0
gNMI Adapter errors : 0
gNMI Dtx errors : 0
switch# show grpc gnmi rpc summary
=============
gRPC Endpoint
=============
Vrf : management
Server address : [::]:50051
Status : Running - certificate expired
Cert notBefore : Jan 10 07:07:03 2024 GMT
Cert notAfter : Jan 11 07:07:03 2024 GMT
Capability rpcs : 20474
Capability errors : 0
Get rpcs : 22
Get errors : 0
Set rpcs : 0
Set errors : 0
Resource Exhausted : 0
Option Unsupported : 0
Invalid Argument : 0
Operation Aborted : 0
Internal Error : 0
Unknown Error : 0
RPC Type State Last Activity Cnt Req Cnt Resp Client
--------------- ---------- -------------- ---------- ---------- ----------------------------------------
Subscribe Listen 01/29 08:42:41 0 0
=============
gRPC Endpoint
=============
Vrf : default
Server address : [::]:50051
Status : Running - certificate expired
Cert notBefore : Jan 10 07:07:03 2024 GMT
Cert notAfter : Jan 11 07:07:03 2024 GMT
Capability rpcs : 0
Capability errors : 0
Get rpcs : 0
Get errors : 0
Set rpcs : 0
Set errors : 0
Resource Exhausted : 0
Option Unsupported : 0
Invalid Argument : 0
Operation Aborted : 0
Internal Error : 0
Unknown Error : 0
RPC Type State Last Activity Cnt Req Cnt Resp Client
--------------- ---------- -------------- ---------- ---------- ----------------------------------------
Subscribe Listen 01/10 08:12:32 0 0
switch#
switch# show grpc gnmi transactions
=============
gRPC Endpoint
=============
Vrf : management
Server address : [::]:50051
Status : Running - certificate expired
Cert notBefore : Jan 10 07:07:03 2024 GMT
Cert notAfter : Jan 11 07:07:03 2024 GMT
RPC DataType Session Time In Duration(ms) Status
------------ ---------- --------------- -------------------- ------------ ------
Capabilities - 0 01/29 12:04:07 0 0
Capabilities - 0 01/29 12:03:47 0 0
Capabilities - 0 01/29 12:03:35 0 0
Get ALL 3698131864 01/29 08:43:34 1186 0
...
...
...
switch# show telemetry yang direct-path cisco-nxos-device
1) Cisco-NX-OS-device:System/lldp-items
2) Cisco-NX-OS-device:System/mac-items
3) Cisco-NX-OS-device:System/intf-items
4) Cisco-NX-OS-device:System/procsys-items
5) Cisco-NX-OS-device:System/ipqos-items/queuing-items/policy-items/out-items
6) Cisco-NX-OS-device:System/ch-itemsnetq config add agent gnmi-enable true
netq config add agent opta-enable false
netq config add agent gnmi-port 9339
netq config restart agent
netq config status agent
netq config add agent gnmi-port 50052
netq config restart agent
netq config status agent
cumulus@cumulus:mgmt:~$ cat /etc/netq/netq.yml
netq-agent:
is-gnmi-enabled: true
is-opta-enabled: false
netq-gnmi:
gnmi_port: 9339sudo ln -s /etc/nginx/sites-{available,enabled}/nvue.conf
sudo sed -i 's/listen localhost:8765 ssl;/listen \[::\]:8765 ipv6only=off ssl;/g' /etc/nginx/sites-available/nvue.conf
sudo systemctl restart nginxZOOKEEPER_SERVER_VALUE= //Public DNS
KAFKA_SERVER_VALUE= //Public DNS
SCHEMA_REGISTRY_SERVER_VALUE=
INSTANCE_ID= //Instance ID
VPC_ID= //VPC ID
REGION= //REGION ID
SG_ID= //SG IDDocument the `instance_id`, `vpc_id`, `region`, and `security_group_id` of the provisioned instance.sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
mkdir -p ~/.docker/cli-plugins/
curl -SL https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
docker compose version
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ tar -xvf one-dl.tar.gz
docker-compose.yml
one-dl-multitenant-installer.sh
.envaviz@aviz % ssh -i ones-dl-qa.pem ubuntu@34.215.5.89
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1018-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Thu Mar 7 06:17:12 UTC 2024
System load: 0.01513671875 Processes: 224
Usage of /: 1.0% of 247.92GB Users logged in: 1
ZOOKEEPER_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
KAFKA_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
SCHEMA_REGISTRY_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
INSTANCE_ID=i-06e36f82c35173cc9
VPC_ID=vpc-09a64a3439e9c1022
REGION=us-west-2
SG_ID=sg-0057cdb5b97e1d218
~
".env" 7L, 323B 1,1 All
Memory usage: 0% IPv4 address for docker0: 172.17.0.1
Swap usage: 0% IPv4 address for ens5: 172.31.28.5
Expanded Security Maintenance for Applications is not enabled.
39 updates can be applied immediately.
25 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
7 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
Last login: Thu Mar 7 06:10:37 2024 from 18.237.140.163
ubuntu@ip-172-31-28-5:~$
ubuntu@ip-172-31-28-5:~$ pwd
/home/ubuntu
ubuntu@ip-172-31-28-5:~$ cd ONES-DL-CLOUD/
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ pwd
/home/ubuntu/ONES-DL-CLOUD
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ ls
one-dl.tar.gz
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ tar -xvf one-dl.tar.gz
docker-compose.yml
one-dl-multitenant-installer.sh
.env
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ vi .env
ZOOKEEPER_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
KAFKA_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
SCHEMA_REGISTRY_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
INSTANCE_ID=i-06e36f82c35173cc9
VPC_ID=vpc-09a64a3439e9c1022
REGION=us-west-2
SG_ID=sg-0057cdb5b97e1d218
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ cat .env
ZOOKEEPER_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
KAFKA_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
SCHEMA_REGISTRY_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
INSTANCE_ID=i-06e36f82c35173cc9
VPC_ID=vpc-09a64a3439e9c1022
REGION=us-west-2
SG_ID=sg-0057cdb5b97e1d218
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ cp .env .env-backup
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ cat .env-backup
ZOOKEEPER_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
KAFKA_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
SCHEMA_REGISTRY_SERVER_VALUE=ec2-35-93-19-159.us-west-2.compute.amazonaws.com
INSTANCE_ID=i-06e36f82c35173cc9
VPC_ID=vpc-09a64a3439e9c1022
REGION=us-west-2
SG_ID=sg-0057cdb5b97e1d218
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ ls
docker-compose.yml one-dl-multitenant-installer.sh one-dl.tar.gz
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ ./one-dl-multitenant-installer.sh
SHELL=/bin/bash
REGION=us-west-2
KAFKA_SERVER_VALUE=ec2-34-215-5-89.us-west-2.compute.amazonaws.com
PWD=/home/ubuntu/ONES-DL-CLOUD
LOGNAME=ubuntu
XDG_SESSION_TYPE=tty
SCHEMA_REGISTRY_SERVER_VALUE=ec2-34-215-5-89.us-west-2.compute.amazonaws.com
MOTD_SHOWN=pam
HOME=/home/ubuntu
LANG=C.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
VPC_ID=vpc-09a64a3439e9c1022
LC_TERMINAL=iTerm2
SSH_CONNECTION=43.224.130.156 61180 172.31.28.5 22
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
TERM=xterm-256color
LESSOPEN=| /usr/bin/lesspipe %s
USER=ubuntu
SG_ID=sg-04c3752b777d8f77e
LC_TERMINAL_VERSION=3.4.16
SHLVL=2
XDG_SESSION_ID=5
LC_CTYPE=C.UTF-8
XDG_RUNTIME_DIR=/run/user/1000
SSH_CLIENT=43.224.130.156 61180 22
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
ZOOKEEPER_SERVER_VALUE=ec2-34-215-5-89.us-west-2.compute.amazonaws.com
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
INSTANCE_ID=i-01300eb6edb18273b
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
SSH_TTY=/dev/pts/1
OLDPWD=/home/ubuntu
_=/usr/bin/env
us-west-2 i-01300eb6edb18273b vpc-09a64a3439e9c1022 sg-04c3752b777d8f77e
Error response from daemon: No such container: zookeeper
Error response from daemon: No such container: kafka
Error response from daemon: No such container: schema-registry
Error response from daemon: No such container: kafka-connect
Error response from daemon: No such container: zookeeper
Error response from daemon: No such container: kafka
Error response from daemon: No such container: schema-registry
Error response from daemon: No such container: kafka-connect
{
"Return": true,
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "sgr-07f887d736a7c773c",
"GroupId": "sg-04c3752b777d8f77e",
"GroupOwnerId": "259789323334",
"IsEgress": false,
"IpProtocol": "tcp",
"FromPort": 29092,
"ToPort": 29092,
"CidrIpv4": "0.0.0.0/0"
}
]
}
{
"Return": true,
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "sgr-0d446cf43dbf8c55a",
"GroupId": "sg-04c3752b777d8f77e",
"GroupOwnerId": "259789323334",
"IsEgress": false,
"IpProtocol": "tcp",
"FromPort": 9092,
"ToPort": 9092,
"CidrIpv4": "0.0.0.0/0"
}
]
}
{
"Return": true,
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "sgr-08d752b5cbfea8b1c",
"GroupId": "sg-04c3752b777d8f77e",
"GroupOwnerId": "259789323334",
"IsEgress": false,
"IpProtocol": "tcp",
"FromPort": 2181,
"ToPort": 2181,
"CidrIpv4": "0.0.0.0/0"
}
]
}
{
"Return": true,
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "sgr-058962812f2650b4e",
"GroupId": "sg-04c3752b777d8f77e",
"GroupOwnerId": "259789323334",
"IsEgress": false,
"IpProtocol": "tcp",
"FromPort": 8083,
"ToPort": 8083,
"CidrIpv4": "0.0.0.0/0"
}
]
}
{
"Return": true,
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "sgr-03a801549ac17a74d",
"GroupId": "sg-04c3752b777d8f77e",
"GroupOwnerId": "259789323334",
"IsEgress": false,
"IpProtocol": "tcp",
"FromPort": 8081,
"ToPort": 8081,
"CidrIpv4": "0.0.0.0/0"
}
]
}
{
"Return": true,
"SecurityGroupRules": [
{
"SecurityGroupRuleId": "sgr-01ae4abe9d99c0086",
"GroupId": "sg-04c3752b777d8f77e",
"GroupOwnerId": "259789323334",
"IsEgress": false,
"IpProtocol": "tcp",
"FromPort": 8181,
"ToPort": 8181,
"CidrIpv4": "0.0.0.0/0"
}
]
}
[+] Running 10/10
β zookeeper 9 layers [β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώ] 0B/0B Pulled 5.1s
β 23828d760c7b Pull complete 0.6s
β e2670537dceb Pull complete 0.5s
β 3c059ccfa418 Pull complete 0.6s
β a23d33d59f2a Pull complete 0.7s
β 842a648f5439 Pull complete 0.9s
β 278244c5561f Pull complete 0.9s
β 0ab51e87b8dc Pull complete 1.0s
β 26ff518a75d1 Pull complete 1.4s
β 050c7bc3a5c4 Pull complete 1.1s
[+] Running 1/1
β Container zookeeper Started 4.2s
[+] Running 12/12
β kafka 11 layers [β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώ] 0B/0B Pulled 9.4s
β fe36fc382320 Pull complete 0.7s
β 4250354b4fb7 Pull complete 2.1s
β c4c5f447179d Pull complete 0.3s
β 17fe3a92262f Pull complete 0.6s
β 5420596c14ab Pull complete 1.1s
β 0e55377ebe37 Pull complete 0.9s
β da7039bb2113 Pull complete 1.1s
β d389b3791c2e Pull complete 1.4s
β c24709eccb2a Pull complete 1.4s
β ad79ffd84e00 Pull complete 2.4s
β 218229bf30d9 Pull complete 1.7s
[+] Running 1/1
β Container kafka Started 5.7s
[+] Running 12/12
β schema-registry 11 layers [β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώ] 0B/0B Pulled 17.9s
β fe36fc382320 Already exists 0.0s
β 4250354b4fb7 Already exists 0.0s
β c4c5f447179d Already exists 0.0s
β 17fe3a92262f Already exists 0.0s
β 5420596c14ab Already exists 0.0s
β 0e55377ebe37 Already exists 0.0s
β da7039bb2113 Already exists 0.0s
β d389b3791c2e Already exists 0.0s
β c24709eccb2a Already exists 0.0s
β e69ded016b1a Pull complete 8.9s
β 83e8ec805f43 Pull complete 0.3s
[+] Running 1/1
β Container schema-registry Started 18.7s
[+] Running 21/21
β kafka-connect 20 layers [β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώ] 0B/0B Pulled 18.1s
β a49367d57626 Pull complete 0.7s
β eeec2f37f4a0 Pull complete 2.8s
β ae805807db54 Pull complete 1.4s
β c553584e96cc Pull complete 1.1s
β 28769e081b94 Pull complete 2.4s
β 151cf144f79d Pull complete 1.9s
β 04292bb11042 Pull complete 2.3s
β c2e0c70921ea Pull complete 2.7s
β e8d7f71a6ca4 Pull complete 2.9s
β eb27eb7b8f05 Pull complete 4.7s
β 9bb8b7d5f6a0 Pull complete 3.3s
β 302eaef771e0 Pull complete 11.7s
β 1d0d5b44b6f1 Pull complete 3.8s
β 22df7873ee50 Pull complete 4.4s
β 4f4fb700ef54 Pull complete 4.7s
β 972adc085ab6 Pull complete 7.0s
β c4f994822767 Pull complete 6.1s
β 70547799762d Pull complete 7.0s
β 3f0c034e271c Pull complete 7.5s
β b6195a937e7b Pull complete 7.7s
[+] Running 1/1
β Container kafka-connect Started 4.6s
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$
ubuntu@ip-172-31-28-5:~/ONES-DL-CLOUD$ sudo su
root@ip-172-31-28-5:/home/ubuntu/ONES-DL-CLOUD# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ab8aa46cc746 avizdock/kafka-connect:latest "/etc/confluent/dockβ¦" 28 seconds ago Up 23 seconds (health: starting) kafka-connect
346522f4baf5 confluentinc/cp-schema-registry "/etc/confluent/dockβ¦" About a minute ago Up About a minute schema-registry
23c50c44bc5b confluentinc/cp-kafka:latest "/etc/confluent/dockβ¦" 2 minutes ago Up 2 minutes kafka
633eba10034d zookeeper "/docker-entrypoint.β¦" 3 minutes ago Up 3 minutes zookeeper
root@ip-172-31-28-5:/home/ubuntu/ONES-DL-CLOUD#These steps will guide a user how to install a tar-ball package on base Linux based machine
ip,user,passwd,layer,region,type,groupid,azid,brickid,rackid
"10.20.2.12","admin","YourPaSsWoRd","Spine","San_Jose_Lab","sonic",1,1,1,1
...
...
...Does the ONES-agent is integrated with SONiC NOS? (yes/no): noDo you want to add only Collector IP for auto-discovery and skip the agent installation ?(yes/no): no Enter the ip address of collectors to auto-discover. Do not enter more than 2. Eg - 10.1.1.10, 10.2.2.5 : 10.4.4.11Do you want to restrict access only to provided collector ip?
Note: Providing Yes will restrict access to agent only with the provided collector IP Address
Enter Yes/No : YesDo you want to enable password authentication? (yes/no): yes
Enter the new username: admin
Enter the new password: YourPaSsWoRdDo you want to update the username/password for password authentication? (yes/no): no
Does the ONES-agent is integrated with SONiC NOS? (yes/no): no
Do you want to add only Collector IP for auto-discovery and skip the agent installation? (yes/no): no
Enter the ip address of collectors to auto-discover. Do not enter more than 2. Eg - 10.1.1.10,10.2.2.5 : 10.20.0.87
Do you want to restrict access only to the provided collector IP?
Note: Providing Yes will restrict access to agent only with the provided collector IP Address
Enter yes/no: Yes
Do you want to enable password authentication? (yes/no): yes
Enter the new username: admin
Enter the new password: YourPaSsWoRd
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
867f2af1b281: Loading layer [==================================================>] 2.56kB/2.56kB
86fee8a2d43f: Loading layer [==================================================>] 31.45MB/31.45MB
4a2339f45f2a: Loading layer [==================================================>] 42.7MB/42.7MB
274d02d0f011: Loading layer [==================================================>] 1.421MB/1.421MB
Loaded image: avizdock/agent_installer:latest
Docker image 'avizdock/agent_installer' is loaded.
06275757da6600fb25d31f1e4c195116d52729e0d80db1aa8064474c5e858ae5
Docker container 'agent_installer' is running.
Selecting βYesβ will exclusively initiate the day-2 deployment of the Ones-Agent,
involving a reconfiguration of the existing agent to establish communication with the specified collector(s).
Choosing βNoβ will initiate the deployment of the Ones-Agent as an independent third-party container.
The default values for rackid, brickid, and azid are all set to 0.
[{'ip': '10.20.2.12', 'user': 'admin', 'passwd': 'YourPaSsWoRd', 'layer': 'Leaf', 'region': 'San_Jose_Lab', 'type': 'Sonic', 'groupid': '', 'azid': '1', 'brickid': '1', 'rackid': '1', 'installation_instance': 1, 'agentip': '10.20.2.12', 'collectorip': '10.20.0.80', 'restrict_collector_ip': 'no', 'password_authentication': 'yes', 'username': 'admin', 'encpass': 'e08d855d42cc2e488592731e', 'enciv': '5b3e16bb25581d5e0934683617dbc445'}]
###############Connecting to switch###############
Connection to switch 10.20.2.12 successful.....................
Looking for previous installation........................
avizdock/ones-agent:v3.0.0
Previous installation found commencing uninstallation on the device 10.20.2.12........
stop ones-agent docker on the device 10.20.2.12........
docker stopped successfully on the device 10.20.2.12........
remove ones-agent docker on the device 10.20.2.12........
docker removed successfully on the device 10.20.2.12........
remove redundant ones-agent docker container on the device 10.20.2.12........
No redundant ones-agent container found on the device 10.20.2.12........
remove docker ones-agent images from DUT on the device 10.20.2.12........
docker image removed successfully on the device 10.20.2.12........
Removing work directory on the device 10.20.2.12........
removed work directory successfully on the device 10.20.2.12........
#####ones-agent uninstalltion completed from device=########## 10.20.2.12
Creating work directory on the device 10.20.2.12........
Work Directory ones-agent_1725877821_191873 created successfully on the device 10.20.2.12 .............
Copying ones_agent_start.sh to directory ones-agent_1725877821_191873 on the device 10.20.2.12 .............
Copying ones_agent_start.sh to directory ones-agent_1725877821_191873 successful on the device 10.20.2.12 .............
ones_agent_start.sh file copied to /usr/bin successfully on the device 10.20.2.12........
Copying ones_agent_ip_rule.sh to directory ones-agent_1725877821_191873 on the device 10.20.2.12 .............
Copying ones_agent_ip_rule.sh to directory ones-agent_1725877821_191873 successful on the device 10.20.2.12 .............
ones_agent_ip_rule.sh file copied to /usr/bin successfully on the device 10.20.2.12........
Copying ones-agent.service to directory ones-agent_1725877821_191873 on the device 10.20.2.12 .............
Copying ones-agent.service to directory ones-agent_1725877821_191873 successful on the device 10.20.2.12 .............
Installation proceeding with NoTls mode
Copying agent.conf to directory ones-agent_1725877821_191873 successful on the device 10.20.2.12 .............
agent.conf copied to /etc/sonic successfully on the device 10.20.2.12........
Copying ones-agent.tar to directory ones-agent_1725877821_191873 on the device 10.20.2.12 .............
Copying ones-agent.tar to directory ones-agent_1725877821_191873 on the device 10.20.2.12 .............
Loading Docker image on the device 10.20.2.12 ###########################################
Docker image loaded successfully on the device 10.20.2.12........
Getting name of the loaded image
image = ##avizdock/ones-agent:v3.0.0##
Running docker.....................
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v /host/reboot-cause:/host/reboot-cause -v /etc/sonic:/etc/sonic -v /var/run/redis:/var/run/redis -v /var/run:/var/hostrun --log-driver local --log-opt max-size=5m --log-opt max-file=3 --cpu-period=100000 --cpu-quota=50000 --net=host --privileged -dt --name ones-agent avizdock/ones-agent:v3.0.0
b'969e2e65db674b594c7ced6f789b2b44ef7a8b556d28499a90c94ba4125b5c00\n'
Loading Service file on the device 10.20.2.12........
Service file loaded successfully on the device 10.20.2.12##################
Enabling ones-agent.service 10.20.2.12 ##################
Enabled ones-agent as service successfully on the device 10.20.2.12 ##################
Starting ones-agent service on the device 10.20.2.12........
Made ones-agent immune to booting on the device 10.20.2.12########################
Copying ones-agent.tar file
ones-agent.tar file copied successfully on the device 10.20.2.12........
Copying agent.conf file
agent.conf file copied successfully on the device 10.20.2.12........
Copying ones-agent.service file
ones-agent.service file copied successfully on the device 10.20.2.12........
Copying ones_agent_ip_rule.sh file
ones_agent_ip_rule.sh file copied successfully on the device 10.20.2.12........
Copying ones_agent_start.sh file
ones_agent_start.sh file copied successfully on the device 10.20.2.12........
##################################################################
Status of ones-agent.service is - Active: active (running) since Mon 2024-09-09 16:03:52 IST; 1min 35s ago
removing backup files
removed backup directory successfully on the device 10.20.2.12........
Deployment of ones-agent to switch 10.20.2.12 is successful
ββββββββββββββββ€βββββββββββ
β IP Address β Result β
ββββββββββββββββͺβββββββββββ‘
β 10.20.2.12 β Pass β
ββββββββββββββββ§βββββββββββ
agent_installer
Docker agent_installer has been stopped
agent_installer
Docker agent_installer has been removed
Untagged: avizdock/agent_installer:latest
Deleted: sha256:180765aed1eba26b8d30d3bef983682a2b36a3507b7655c6e614f22dbbf80007
Deleted: sha256:7912382f54799a2f35358528c441af6bb745ba6fe6cb040a7be48347ff7e80a3
Deleted: sha256:fe33139b53a0b2b401d44f57a74ff789beb4a3a38792f80a793cc01611bab9e7
Deleted: sha256:38e2eba240dfe04c6d027aafc1954c84fc1eadeb3e4fd9d1e9a8ad7100686d7f
Deleted: sha256:53fdc4ec83b42d7060b4143da9ffbf9dd55e3bfa6fb4843bfacec19dcbd80e4b
Deleted: sha256:11b1633cb703032b065434387b48194f3e97a57aaddc61a31aa2918a1fd32780
Deleted: sha256:aa353210edce17d0370066fc6184cff9e2a9197884e6f43a0ad1fd32b630f8de
Deleted: sha256:b23b2f4af61d8cc745c6bea66be93bd59b97c3971c36466ae4ea345f52fdfc67
Deleted: sha256:b55ff4d1eb4dd15edbc9ffc15b1bd5771cd09c371b0e7c44cbcbd5c5f62ec76a
Deleted: sha256:e2ef8a51359d088511d34c725305c220294a1fcd5fe5e5dbe4d698c7239ce2c9
Docker avizdock/agent_installer image has been removed


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.pemDo you want to enable agent authentication ? [y/n]: y
Enter the ones-agent username: admin
Enter the ones-agent password: YourPaSsWoRdDo you want to enable agent authentication ? [y/n]: nLocal 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 No:
Do you want to enable certificate based authentication between ONES controller and devices? [y/n]: nYes:
Do you want to enable certificate based authentication between ONES controller and devices? [y/n]: y
Enter the path to the ca-cert.pem file: ca-cert.pem
Enter the path to the server-cert.pem file: server-cert.pem
Enter the path to the server-key.pem file: server-key.pem
Enter the path to the client-cert.pem file: client-cert.pem
Enter the path to the client-key.pem file: client-key.pem
Proceeding with certificates for Agent Auto Registration
Enter the path to the ca-cert-reg.pem file: ca-cert-reg.pem
Enter the path to the server-cert.pem file: server-cert.pem
Enter the path to the server-key.pem file: server-key.pem
Enter the path to the client-cert.pem file: client-cert.pem
Enter the path to the client-key.pem file: client-key.pem
Enter the ONES App URL: https://192.168.1.1Enter the ONES App URL: https://ones.aviznetworks.comroot@aviz:/home/aviz/GA_3.0/ones-1725445069-onprem# ./ones-installer.sh
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
Do you want to enable ONE-DL feature? [y/n]: n
Do you want to enable DB backup feature? [y/n]: y
Where do you want to store the backups? [local/remote]: remote
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
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 backup interval in seconds (3600 seconds or higher): 86400
Do you want to enable certificate based authentication between ONES controller and devices? [y/n]: n
Enter the ONES App URL for Rule-Engine Alert [https://<host-ip or domain>]: https://10.20.0.80
Do you want to enable agent authentication ? [y/n]: y
Enter the ones-agent username: admin
Enter the ones-agent password: YourPaSsWoRd
Setting up the environment and loading essential dockers...
2bb80ba200dd: Loading layer [==================================================>] 68.32MB/68.32MB
2a9822159dc0: Loading layer [==================================================>] 2.048kB/2.048kB
2db080db4c83: Loading layer [==================================================>] 143.2MB/143.2MB
5f70bf18a086: Loading layer [==================================================>] 1.024kB/1.024kB
Loaded image: avizdock/ones-collector:v3.0.0
f99617b4857d: Loading layer [==================================================>] 2.081GB/2.081GB
598cad3fc7f2: Loading layer [==================================================>] 4.096kB/4.096kB
a2cac5263de0: Loading layer [==================================================>] 1.536kB/1.536kB
4d9c9e7cdef2: Loading layer [==================================================>] 3.584kB/3.584kB
a76669129b6a: Loading layer [==================================================>] 98.3kB/98.3kB
5f70bf18a086: Loading layer [==================================================>] 1.024kB/1.024kB
85f57de39b33: Loading layer [==================================================>] 7.68kB/7.68kB
21cdd2e0b4ef: Loading layer [==================================================>] 2.048kB/2.048kB
12f4e967e13f: Loading layer [==================================================>] 10.75kB/10.75kB
5e93cea4ec38: Loading layer [==================================================>] 11.26kB/11.26kB
ce0cf0b53390: Loading layer [==================================================>] 77.59MB/77.59MB
0344a1894c78: Loading layer [==================================================>] 161.2MB/161.2MB
Loaded image: avizdock/timescaledb:latest
ones-collector-db-data
0280eb3c2596: Loading layer [==================================================>] 1.536kB/1.536kB
6dde90cacd10: Loading layer [==================================================>] 86.02kB/86.02kB
2aa52ba420da: Loading layer [==================================================>] 296.4MB/296.4MB
be57349b17a3: Loading layer [==================================================>] 6.353MB/6.353MB
0ec41b6d891c: Loading layer [==================================================>] 2.349MB/2.349MB
d5f95e6a3021: Loading layer [==================================================>] 115.2MB/115.2MB
05f76cb3b696: Loading layer [==================================================>] 6.619MB/6.619MB
2511c56b8490: Loading layer [==================================================>] 5.766MB/5.766MB
Loaded image: avizdock/ones-ui:v3.0.0
ones-ui-data
952d1ba246e9: Loading layer [==================================================>] 1.536kB/1.536kB
aa5bb983ae7a: Loading layer [==================================================>] 3.072kB/3.072kB
29500ccb4fdd: Loading layer [==================================================>] 243MB/243MB
0d1d24f6d697: Loading layer [==================================================>] 223.8MB/223.8MB
370ce41daeb2: Loading layer [==================================================>] 6.291MB/6.291MB
53f7f3605d6c: Loading layer [==================================================>] 2.992MB/2.992MB
05dc8de6e8f6: Loading layer [==================================================>] 158.2kB/158.2kB
Loaded image: avizdock/pty-server:v3.0.0
64a5ccd06307: Loading layer [==================================================>] 2.048kB/2.048kB
ca4c2e6e9d9e: Loading layer [==================================================>] 1.203MB/1.203MB
5296c36b9ebf: Loading layer [==================================================>] 862.7MB/862.7MB
5943159c673a: Loading layer [==================================================>] 41.97MB/41.97MB
Loaded image: avizdock/ones-gateway:v3.0.0
4f28916f37e9: Loading layer [==================================================>] 129.5MB/129.5MB
2a5df58ba97f: Loading layer [==================================================>] 29.52MB/29.52MB
c7fd29476165: Loading layer [==================================================>] 156.6MB/156.6MB
c7e74d262dff: Loading layer [==================================================>] 38.24MB/38.24MB
e851c0af7c3d: Loading layer [==================================================>] 359.7MB/359.7MB
2ef53f757b83: Loading layer [==================================================>] 40.77MB/40.77MB
bc8e8be8d143: Loading layer [==================================================>] 2.048kB/2.048kB
83fa77e03e24: Loading layer [==================================================>] 59.91MB/59.91MB
5f70bf18a086: Loading layer [==================================================>] 1.024kB/1.024kB
d0feb9122054: Loading layer [==================================================>] 2.56kB/2.56kB
7219b0fcbd58: Loading layer [==================================================>] 2.56kB/2.56kB
c529643b8d45: Loading layer [==================================================>] 527.4MB/527.4MB
d69f335ef8e6: Loading layer [==================================================>] 44.73MB/44.73MB
1644861feacd: Loading layer [==================================================>] 145.9kB/145.9kB
Loaded image: avizdock/ones-fm:v3.0.0
d4fc045c9e3a: Loading layer [==================================================>] 7.667MB/7.667MB
b150abefba25: Loading layer [==================================================>] 12.29kB/12.29kB
93cb05de897b: Loading layer [==================================================>] 1.536kB/1.536kB
fb7197bcca0b: Loading layer [==================================================>] 234.3MB/234.3MB
0beddd8d6be2: Loading layer [==================================================>] 61.95kB/61.95kB
8b559dcbd8b1: Loading layer [==================================================>] 2.048kB/2.048kB
ba2a62a232e7: Loading layer [==================================================>] 3.072kB/3.072kB
0087bbc00356: Loading layer [==================================================>] 18.94kB/18.94kB
bec2427aa484: Loading layer [==================================================>] 3.072kB/3.072kB
Loaded image: avizdock/postgres:14
ones-fm-db-data
ones-fm-data
Loaded image: avizdock/docker:v3.0.0
bf63823f8c99: Loading layer [==================================================>] 84.18MB/84.18MB
162b992dedca: Loading layer [==================================================>] 3.395MB/3.395MB
4aa7ea28d987: Loading layer [==================================================>] 43.34MB/43.34MB
dc9851b6350b: Loading layer [==================================================>] 4.608kB/4.608kB
b1b299295e53: Loading layer [==================================================>] 12.08MB/12.08MB
739c25f0a755: Loading layer [==================================================>] 1.536kB/1.536kB
51a99d985dad: Loading layer [==================================================>] 29.31MB/29.31MB
e8605c9dadf3: Loading layer [==================================================>] 2.56kB/2.56kB
e3c514881f8f: Loading layer [==================================================>] 34.07MB/34.07MB
e437f061681a: Loading layer [==================================================>] 8.192kB/8.192kB
Loaded image: avizdock/ones-db-backup:v3.0.0
Loaded image: avizdock/zookeeper:v3.0.0
Loaded image: avizdock/kafka:v3.0.0
Loaded image: avizdock/schemaregistry:v3.0.0
Loaded image: avizdock/kafka-connect:v3.0.0
Loaded image: avizdock/ksqldb-server:v3.0.0
76367d75676f: Loading layer [==================================================>] 7.369MB/7.369MB
a5406ed65f11: Loading layer [==================================================>] 282.7MB/282.7MB
58f70dbfa845: Loading layer [==================================================>] 2.048kB/2.048kB
f757d9533757: Loading layer [==================================================>] 100.4MB/100.4MB
5f70bf18a086: Loading layer [==================================================>] 1.024kB/1.024kB
Loaded image: avizdock/ones-stream-processor:v3.0.0
5204d88907ef: Loading layer [==================================================>] 68.32MB/68.32MB
920be4d9d898: Loading layer [==================================================>] 2.048kB/2.048kB
ff7ff3cef7fa: Loading layer [==================================================>] 108.9MB/108.9MB
5f70bf18a086: Loading layer [==================================================>] 1.024kB/1.024kB
Loaded image: avizdock/apiserver:v3.0.0
277a036e29bd: Loading layer [==================================================>] 76.38MB/76.38MB
5f70bf18a086: Loading layer [==================================================>] 1.024kB/1.024kB
Loaded image: avizdock/ones-rule-service:v3.0.0
ones-rule-db-data
046c8b6d5bab6b2c21b5763abebdd37fe58fc215bcd1a961317d6be8d3b59e44
Cleaning up existing containers..
Bringing up ONES app containers
Bringing up ONES-collector-db container in no recreate mode and ONES-fm-db
[+] Running 1/1
β Ώ Container ones-collector-db Started 4.5s
[+] Running 2/2
β Ώ Container ones-rule-service-db Started 0.7s
β Ώ Container ones-fm-db Started 0.7s
[+] Running 1/1
β Ώ Container zookeeper Started 1.5s
NAME COMMAND SERVICE STATUS PORTS
ones-collector-db "/docker-entrypoint.β¦" collector-db running 8008/tcp, 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp, 8081/tcp
ones-fm-db "docker-entrypoint.sβ¦" fm-db running 0.0.0.0:2345->5432/tcp, :::2345->5432/tcp
ones-rule-service-db "docker-entrypoint.sβ¦" rule-service-db running 0.0.0.0:2456->5432/tcp, :::2456->5432/tcp
zookeeper "/etc/confluent/dockβ¦" zookeeper running 2888/tcp, 0.0.0.0:2181->2181/tcp, :::2181->2181/tcp, 3888/tcp
please wait for collector-db, rule-service-db and fm-db to initialize
[+] Running 2/2.........................................................................................................
β Ώ Container zookeeper Running 0.0s
β Ώ Container broker Started 0.7s
ones-collector-db
...........................................................................................................................................................................[+] Running 5/5......................................................
β Ώ Container zookeeper Running 0.0s
β Ώ Container broker Running 0.0s
β Ώ Container schema-registry Started 0.8s
β Ώ Container ksqldb-server Started 0.8s
β Ώ Container kafka-connect Started 1.3s
............................................................
[+] Running 4/4
β Ώ Container ones-gateway Started 1.9s
β Ώ Container zookeeper Running 0.0s
β Ώ Container broker Running 0.0s
β Ώ Container ones-collector Started 2.5s
[+] Running 17/17...........................................
β Ώ Container ones-pty-server Started 2.0s
β Ώ Container api-server Started 2.4s
β Ώ Container ones-ui Started 2.2s
β Ώ Container docker Started 2.4s
β Ώ Container ones-rule-service Started 1.9s
β Ώ Container ones-collector-db Running 0.0s
β Ώ Container ones-rule-service-db Running 0.0s
β Ώ Container ones-fm-db Running 0.0s
β Ώ Container zookeeper Running 0.0s
β Ώ Container ones-gateway Running 0.0s
β Ώ Container ones-fm Started 2.3s
β Ώ Container broker Running 0.0s
β Ώ Container ksqldb-server Running 0.0s
β Ώ Container schema-registry Running 0.0s
β Ώ Container stream-processor Started 2.1s
β Ώ Container ones-collector Running 0.0s
β Ώ Container kafka-connect Running 0.0s
NAME COMMAND SERVICE STATUS PORTS
api-server "java -jar /app/apisβ¦" api-server running 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp
broker "/etc/confluent/dockβ¦" broker running 0.0.0.0:9092->9092/tcp, :::9092->9092/tcp, 0.0.0.0:9101->9101/tcp, :::9101->9101/tcp, 0.0.0.0:29092->29092/tcp, :::29092->29092/tcp
docker "python3 app.py" docker running
kafka-connect "/etc/confluent/dockβ¦" kafka-connect running (healthy) 0.0.0.0:8083->8083/tcp, :::8083->8083/tcp, 9092/tcp
ksqldb-server "/etc/confluent/dockβ¦" ksqldb-server running 0.0.0.0:8088->8088/tcp, :::8088->8088/tcp
ones-collector "java -jar -XX:MaxGCβ¦" collector running 8093/tcp, 0.0.0.0:50053->50053/tcp, :::50053->50053/tcp
ones-collector-db "/docker-entrypoint.β¦" collector-db running 8008/tcp, 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp, 8081/tcp
ones-fm "/bin/sh -c '{ gunicβ¦" fm running 0.0.0.0:8787->8080/tcp, :::8787->8080/tcp
ones-fm-db "docker-entrypoint.sβ¦" fm-db running 0.0.0.0:2345->5432/tcp, :::2345->5432/tcp
ones-gateway "./gnmi-gateway -Tarβ¦" gateway running 0.0.0.0:9339->9339/tcp, :::9339->9339/tcp
ones-pty-server "docker-entrypoint.sβ¦" pty-server running 0.0.0.0:8885->8885/tcp, :::8885->8885/tcp
ones-rule-service "java -jar /app/ruleβ¦" rule-service running 8080/tcp
ones-rule-service-db "docker-entrypoint.sβ¦" rule-service-db running 0.0.0.0:2456->5432/tcp, :::2456->5432/tcp
ones-ui "docker-entrypoint.sβ¦" ui running 0.0.0.0:443->443/tcp, :::443->443/tcp, 3002/tcp
schema-registry "/etc/confluent/dockβ¦" schema-registry running 0.0.0.0:8081->8081/tcp, :::8081->8081/tcp
stream-processor "java -jar /app/streβ¦" stream-processor running 8080/tcp
zookeeper "/etc/confluent/dockβ¦" zookeeper running 2888/tcp, 0.0.0.0:2181->2181/tcp, :::2181->2181/tcp, 3888/tcp
Finishing up ONES Installation...
............................................................Installed ONES application successfully...
....................
Open the ONES application at https://10.20.0.80
docker cp ones-collector-db:/home/postgres/pgdata/data/postgresql.conf dbconfig.confvi dbconfig.conf
Uncomment the below lines in the above file is the change
#------------------------------------------------------------------------------
# LARGE CONFIGURATION - START
#------------------------------------------------------------------------------
timescaledb.max_background_workers = 16 # Increased for more concurrent background processes
# MEMORY SETTINGS (LARGE)
shared_buffers = 8GB # Adjust based on your available system memory
work_mem = 16MB # Set based on your workload; adjust as needed
maintenance_work_mem = 1GB # Important for bulk operations and autovacuum
effective_cache_size = 16GB # Estimate the cache available for PostgreSQL (usually 50-75% of system memory)
# WAL SETTINGS (LARGE)
wal_level = logical # Recommended for logical replication and high-volume streaming
max_wal_size = 8GB # Increase to accommodate more WAL data during peak operations
checkpoint_timeout = 15min # Spread checkpoint operations for better performance
checkpoint_completion_target = 0.9 # Further spreads the checkpoint process
wal_compression = on # Reduces WAL size, useful in high-traffic scenarios
# CONNECTION AND PROCESS SETTINGS (LARGE)
max_worker_processes = 16 # Increased to allow more background workers
max_parallel_workers = 16 # More parallel workers for better throughput
max_parallel_workers_per_gather = 4 # Adjust based on the complexity of your queries
# AUTOVACUUM SETTINGS (LARGE)
autovacuum_max_workers = 10 # Handle larger tables or high data churn more effectively
autovacuum_naptime = 10s # Increase the frequency of autovacuuming
autovacuum_vacuum_cost_limit = 5000 # Handle vacuum operations more aggressively
autovacuum_vacuum_scale_factor = 0.01 # Trigger autovacuum sooner on large tables
# PERFORMANCE SETTINGS (LARGE)
effective_io_concurrency = 500 # For SSDs, this can be set high to optimize I/O
synchronous_commit = off # Improves throughput at the cost of potential data loss in a crash
random_page_cost = 1.1 # Optimized for SSDs
seq_page_cost = 1.0 # Optimized for SSDs
jit = on # Enable JIT compilation for performance boosts in complex queries
#------------------------------------------------------------------------------
# LARGE CONFIGURATION - END
#------------------------------------------------------------------------------docker cp dbconfig.conf ones-collector-db:/home/postgres/pgdata/data/postgresql.conf docker restart ones-collector-dbip,user,passwd
10.4.4.61,admin,YourPaSsWoRd
10.4.4.62,admin,YourPaSsWoRd
...
...
...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
867f2af1b281: Loading layer [==================================================>] 2.56kB/2.56kB
86fee8a2d43f: Loading layer [==================================================>] 31.45MB/31.45MB
4a2339f45f2a: Loading layer [==================================================>] 42.7MB/42.7MB
274d02d0f011: Loading layer [==================================================>] 1.421MB/1.421MB
Loaded image: avizdock/agent_installer:latest
Docker image 'avizdock/agent_installer:latest' is loaded.
469077cbff8b9f424c6ec6e46272788451c4714cf742eb42ee94771b0f8bd944
Docker container 'agent_installer' is running.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
469077cbff8b avizdock/agent_installer:latest "python3" 2 seconds ago Up Less than a second agent_installer
Docker container 'ones-fm' is running.
Update success for 10.20.3.14
Update success for 10.20.3.16
Ignore below Error if Installing Agent via docker installer
ones-fm container is not running
Operation = install
##### params = {'ip': '10.20.3.14', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.2', 'fm_port': None} #####
##### params = {'ip': '10.20.3.16', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.2', 'fm_port': None} #####
###############Connecting to switch###############
###############Connecting to switch###############
<paramiko.client.SSHClient object at 0x7e52a08862b0>
Connection to switch 10.20.3.14 successfull.....................
/home/ones_fm_agent
<paramiko.client.SSHClient object at 0x7e52a0886670>
Connection to switch 10.20.3.16 successfull.....................
/home/ones_fm_agent
Creating work directory on the device 10.20.3.14........
Work Directory ones-fm_1726039311_4128287 created successfully on the device 10.20.3.14 .............
Copying FMCLI_Installer.py to directory ones-fm_1726039311_4128287 on the device 10.20.3.14 .............
Creating work directory on the device 10.20.3.16........
Work Directory ones-fm_1726039311_510445 created successfully on the device 10.20.3.16 .............
Copying FMCLI_Installer.py to directory ones-fm_1726039311_510445 on the device 10.20.3.16 .............
Debug command used:: sudo ls ones-fm_1726039311_4128287/FMCLI_Installer.py
The file 'ones-fm_1726039311_4128287/FMCLI_Installer.py' copy success on the device.
Copying FMCLI_Installer.py to directory ones-fm_1726039311_4128287 successful on the device 10.20.3.14 .............
Copying fmcli-app.tgz to directory ones-fm_1726039311_4128287 on the device 10.20.3.14 .............
Debug command used:: sudo ls ones-fm_1726039311_510445/FMCLI_Installer.py
The file 'ones-fm_1726039311_510445/FMCLI_Installer.py' copy success on the device.
Copying FMCLI_Installer.py to directory ones-fm_1726039311_510445 successful on the device 10.20.3.16 .............
Copying fmcli-app.tgz to directory ones-fm_1726039311_510445 on the device 10.20.3.16 .............
Debug command used:: sudo ls ones-fm_1726039311_4128287/fmcli-app.tgz
The file 'ones-fm_1726039311_4128287/fmcli-app.tgz' copy success on the device.
Copying fmcli-app.tgz to directory ones-fm_1726039311_4128287 successful on the device 10.20.3.14 .............
Debug command used:: sudo ls ones-fm_1726039311_510445/fmcli-app.tgz
The file 'ones-fm_1726039311_510445/fmcli-app.tgz' copy success on the device.
Copying fmcli-app.tgz to directory ones-fm_1726039311_510445 successful on the device 10.20.3.16 .............
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
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.14 ######################
#################### Installing FMCLI on the device 10.20.3.16 ######################
####### Debug LOGS on the device 10.20.3.14 #######
fmcli-app/
fmcli-app/libhiredis.so.1.1.0
fmcli-app/fmcli.sh
fmcli-app/fmcli
fmcli-app/ip_validate
fmcli-app/fmcli.cli
fmcli-app/fmcli.version
fmcli-app/fmcli_read_db_schema
fmcli-app/fmclimain.service
fmcli-app/fmcli_composer_mapping.cfg
fmcli-app/fmcli_composer.py
fmcli-app/libcligen.so.6.2
cli
cli/fmcli-app-arm.tgz
cli/fmcli-app-amd.tgz
Extracting cli/fmcli-app-amd.tgz...
Installing Aviz-FMCLI ..........
Aviz-FMCLI installation successful........
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.14........
####### Deleting ones-fm_1726039311_4128287 dir on the device 10.20.3.14 #######
Deployment of FM-Agent to switch 10.20.3.14 is Completed
####### Debug LOGS on the device 10.20.3.16 #######
fmcli-app/
fmcli-app/libhiredis.so.1.1.0
fmcli-app/fmcli.sh
fmcli-app/fmcli
fmcli-app/ip_validate
fmcli-app/fmcli.cli
fmcli-app/fmcli.version
fmcli-app/fmcli_read_db_schema
fmcli-app/fmclimain.service
fmcli-app/fmcli_composer_mapping.cfg
fmcli-app/fmcli_composer.py
fmcli-app/libcligen.so.6.2
cli
cli/fmcli-app-arm.tgz
cli/fmcli-app-amd.tgz
Extracting cli/fmcli-app-amd.tgz...
Installing Aviz-FMCLI ..........
Aviz-FMCLI installation successful........
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.16........
####### Deleting ones-fm_1726039311_510445 dir on the device 10.20.3.16 #######
Deployment of FM-Agent to switch 10.20.3.16 is Completed
FMCLI install Result
{'10.20.3.14': 'PASS', '10.20.3.16': 'PASS'}
βββββββββββ€βββββββββββββ€βββββββββββββββββββ
β SL.No β Device β install Result β
βββββββββββͺβββββββββββββͺβββββββββββββββββββ‘
β 1 β 10.20.3.14 β PASS β
βββββββββββΌβββββββββββββΌβββββββββββββββββββ€
β 2 β 10.20.3.16 β PASS β
βββββββββββ§βββββββββββββ§βββββββββββββββββββ
agent_installer
Docker agent_installer has been stopped
agent_installer
Docker agent_installer has been removed
Untagged: avizdock/agent_installer:latest
Deleted: sha256:180765aed1eba26b8d30d3bef983682a2b36a3507b7655c6e614f22dbbf80007
Deleted: sha256:7912382f54799a2f35358528c441af6bb745ba6fe6cb040a7be48347ff7e80a3
Deleted: sha256:fe33139b53a0b2b401d44f57a74ff789beb4a3a38792f80a793cc01611bab9e7
Deleted: sha256:38e2eba240dfe04c6d027aafc1954c84fc1eadeb3e4fd9d1e9a8ad7100686d7f
Deleted: sha256:53fdc4ec83b42d7060b4143da9ffbf9dd55e3bfa6fb4843bfacec19dcbd80e4b
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
fmcli# 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
867f2af1b281: Loading layer [==================================================>] 2.56kB/2.56kB
86fee8a2d43f: Loading layer [==================================================>] 31.45MB/31.45MB
4a2339f45f2a: Loading layer [==================================================>] 42.7MB/42.7MB
274d02d0f011: Loading layer [==================================================>] 1.421MB/1.421MB
Loaded image: avizdock/agent_installer:latest
Docker image 'avizdock/agent_installer:latest' is loaded.
f5922322cecfe27405c0dc2d62201b2145695eac1eeedd8e6d9acf20e6e55541
Docker container 'agent_installer' is running.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f5922322cecf avizdock/agent_installer:latest "python3" 2 seconds ago Up Less than a second agent_installer
Docker container 'ones-fm' is running.
Update success for 10.20.3.14
Update success for 10.20.3.16
Ignore below Error if Installing Agent via docker installer
ones-fm container is not running
Operation = uninstall
##### params = {'ip': '10.20.3.14', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.2', 'fm_port': None} #####
###############Connecting to switch###############
##### params = {'ip': '10.20.3.16', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.2', 'fm_port': None} #####
###############Connecting to switch###############
<paramiko.client.SSHClient object at 0x73c327c662b0>
Connection to switch 10.20.3.14 successfull.....................
/home/ones_fm_agent
############### Uninstalling FM Agent ###############
<paramiko.client.SSHClient object at 0x73c327c66670>
Connection to switch 10.20.3.16 successfull.....................
/home/ones_fm_agent
############### Uninstalling FM Agent ###############
FMCLI uninstall Result
{'10.20.3.14': 'PASS', '10.20.3.16': 'PASS'}
βββββββββββ€βββββββββββββ€βββββββββββββββββββββ
β SL.No β Device β uninstall Result β
βββββββββββͺβββββββββββββͺβββββββββββββββββββββ‘
β 1 β 10.20.3.14 β PASS β
βββββββββββΌβββββββββββββΌβββββββββββββββββββββ€
β 2 β 10.20.3.16 β PASS β
βββββββββββ§βββββββββββββ§βββββββββββββββββββββ
agent_installer
Docker agent_installer has been stopped
agent_installer
Docker agent_installer has been removed
Untagged: avizdock/agent_installer:latest
Deleted: sha256:180765aed1eba26b8d30d3bef983682a2b36a3507b7655c6e614f22dbbf80007
Deleted: sha256:7912382f54799a2f35358528c441af6bb745ba6fe6cb040a7be48347ff7e80a3
Deleted: sha256:fe33139b53a0b2b401d44f57a74ff789beb4a3a38792f80a793cc01611bab9e7
Deleted: sha256:38e2eba240dfe04c6d027aafc1954c84fc1eadeb3e4fd9d1e9a8ad7100686d7f
Deleted: sha256:53fdc4ec83b42d7060b4143da9ffbf9dd55e3bfa6fb4843bfacec19dcbd80e4b
Deleted: sha256:11b1633cb703032b065434387b48194f3e97a57aaddc61a31aa2918a1fd32780
Deleted: sha256:aa353210edce17d0370066fc6184cff9e2a9197884e6f43a0ad1fd32b630f8de
Deleted: sha256:b23b2f4af61d8cc745c6bea66be93bd59b97c3971c36466ae4ea345f52fdfc67
Deleted: sha256:b55ff4d1eb4dd15edbc9ffc15b1bd5771cd09c371b0e7c44cbcbd5c5f62ec76a
Deleted: sha256:e2ef8a51359d088511d34c725305c220294a1fcd5fe5e5dbe4d698c7239ce2c9
Docker avizdock/agent_installer:latest image has been removed
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...
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>Do you want to enable ONE-DL feature? [y/n]: n







These steps will guide you on how to install the ONES-Multisite
./ones_agent_parallel_installer.sh
Do you want to update the username/password for password authentication? (yes/no): no
Does the ONES-agent is integrated with SONiC NOS? (yes/no): no
Do you want to add only Collector IP for auto-discovery and skip the agent installation? (yes/no): yes
Enter the ip address of collectors to auto-discover. Do not enter more than 2. Eg - 10.1.1.10,10.2.2.5 : 10.20.0.80
Do you want to restrict access only to the provided collector IP?
Note: Providing Yes will restrict access to agent only with the provided collector IP Address
Enter yes/no: No
Do you want to enable password authentication? (yes/no): no
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
867f2af1b281: Loading layer [==================================================>] 2.56kB/2.56kB
86fee8a2d43f: Loading layer [==================================================>] 31.45MB/31.45MB
4a2339f45f2a: Loading layer [==================================================>] 42.7MB/42.7MB
274d02d0f011: Loading layer [==================================================>] 1.421MB/1.421MB
Loaded image: avizdock/agent_installer:latest
Docker image 'avizdock/agent_installer' is loaded.
fc82d440ded45cb5002c6539c62daaeac6435c82a41078a356e943dad1ca6fc4
Docker container 'agent_installer' is running.
Selecting βYesβ will exclusively initiate the day-2 deployment of the Ones-Agent,
involving a reconfiguration of the existing agent to establish communication with the specified collector(s).
Choosing βNoβ will initiate the deployment of the Ones-Agent as an independent third-party container.
The default values for rackid, brickid, and azid are all set to 0.
[{'ip': '10.20.2.12', 'user': 'admin', 'passwd': 'YourPaSsWoRd', 'layer': 'Leaf', 'region': 'San_Jose_Lab', 'type': ackid': '1', 'installation_instance': 1, 'agentip': '10.20.2.12', 'collectorip': '10.20.0.80', 'restrict_collector_i
Agent installation skipped successfully........
Adding Collector IP for auto-discovery...........
###############Connecting to switch###############
Connection to switch 10.20.2.12 successful.....................
Copying conf file to tmp directory on the device 10.20.2.12 .............
Copying conf file to tmp directory successful on the device 10.20.2.12 .............
Collector ip successfully added to agent.conf on the device 10.20.2.12........
Docker container is up. Proceeding with collector registration.......
ββββββββββββββββ€βββββββββββ
β IP Address β Result β
ββββββββββββββββͺβββββββββββ‘
ββββββββββββββββ§βββββββββββ
agent_installer
Docker agent_installer has been stopped
agent_installer
Docker agent_installer has been removed
Untagged: avizdock/agent_installer:latest
Deleted: sha256:180765aed1eba26b8d30d3bef983682a2b36a3507b7655c6e614f22dbbf80007
Deleted: sha256:7912382f54799a2f35358528c441af6bb745ba6fe6cb040a7be48347ff7e80a3
Deleted: sha256:fe33139b53a0b2b401d44f57a74ff789beb4a3a38792f80a793cc01611bab9e7
Deleted: sha256:38e2eba240dfe04c6d027aafc1954c84fc1eadeb3e4fd9d1e9a8ad7100686d7f
Deleted: sha256:53fdc4ec83b42d7060b4143da9ffbf9dd55e3bfa6fb4843bfacec19dcbd80e4b
Deleted: sha256:11b1633cb703032b065434387b48194f3e97a57aaddc61a31aa2918a1fd32780
Deleted: sha256:aa353210edce17d0370066fc6184cff9e2a9197884e6f43a0ad1fd32b630f8de
Deleted: sha256:b23b2f4af61d8cc745c6bea66be93bd59b97c3971c36466ae4ea345f52fdfc67
Deleted: sha256:b55ff4d1eb4dd15edbc9ffc15b1bd5771cd09c371b0e7c44cbcbd5c5f62ec76a
Deleted: sha256:e2ef8a51359d088511d34c725305c220294a1fcd5fe5e5dbe4d698c7239ce2c9
Docker avizdock/agent_installer image has been removed
aedc3bda2944: Loading layer [==================================================>] 7.63MB/7.63MB
4e14d5096571: Loading layer [==================================================>] 123.5MB/123.5MB
195af1454385: Loading layer [==================================================>] 7.795MB/7.795MB
3d9615f449be: Loading layer [==================================================>] 3.584kB/3.584kB
9316d3a480e4: Loading layer [==================================================>] 1.536kB/1.536kB
3c7ac698eb08: Loading layer [==================================================>] 44.03kB/44.03kB
3f2a563b3d1c: Loading layer [==================================================>] 10.54MB/10.54MB
503afaa3eafb: Loading layer [==================================================>] 70.14kB/70.14kB
ad6325f75281: Loading layer [==================================================>] 529.4kB/529.4kB
Loaded image: avizdock/ones-multisite:v3.0.0ones-multisite/
ones-multisite/README.txt
ones-multisite/docker-compose.yml
ones-multisite/ones-multisite.tar 0b26520cd4bec60d71bb05db9db8bfae8173ef8e0ec1f593bbc8988cb8f16cb7.json
0b3145a235c026e1c52ff0a2607b12e9161c25757b70f5f5574209f9b1d5da2b/
0b3145a235c026e1c52ff0a2607b12e9161c25757b70f5f5574209f9b1d5da2b/VERSION
0b3145a235c026e1c52ff0a2607b12e9161c25757b70f5f5574209f9b1d5da2b/json
0b3145a235c026e1c52ff0a2607b12e9161c25757b70f5f5574209f9b1d5da2b/layer.tar
16b76c7af288dd61a11dd8ce7d816c5aacef7da491d68d2cdcbc084cc7bea859/
16b76c7af288dd61a11dd8ce7d816c5aacef7da491d68d2cdcbc084cc7bea859/VERSION
16b76c7af288dd61a11dd8ce7d816c5aacef7da491d68d2cdcbc084cc7bea859/json
16b76c7af288dd61a11dd8ce7d816c5aacef7da491d68d2cdcbc084cc7bea859/layer.tar
4fc2a9076cc97b2a1dd2aac36adb9fd9c137933c88b7c5e45bf7fd419c4517fc/
4fc2a9076cc97b2a1dd2aac36adb9fd9c137933c88b7c5e45bf7fd419c4517fc/VERSION
4fc2a9076cc97b2a1dd2aac36adb9fd9c137933c88b7c5e45bf7fd419c4517fc/json
4fc2a9076cc97b2a1dd2aac36adb9fd9c137933c88b7c5e45bf7fd419c4517fc/layer.tar
50c8ee7e136f3a930827ba95dfcc17ca381298a5eb491a222346e7494493099a/
50c8ee7e136f3a930827ba95dfcc17ca381298a5eb491a222346e7494493099a/VERSION
50c8ee7e136f3a930827ba95dfcc17ca381298a5eb491a222346e7494493099a/json
50c8ee7e136f3a930827ba95dfcc17ca381298a5eb491a222346e7494493099a/layer.tar
a32bcfc3dbed1878782d95b32ad556b8205d46f9834e00e2c649161d88f556d9/
a32bcfc3dbed1878782d95b32ad556b8205d46f9834e00e2c649161d88f556d9/VERSION
a32bcfc3dbed1878782d95b32ad556b8205d46f9834e00e2c649161d88f556d9/json
a32bcfc3dbed1878782d95b32ad556b8205d46f9834e00e2c649161d88f556d9/layer.tar
ae6eaf728db4f415a92752f49c07f4070f8b45105c5901af8b10ebd5ce9564ec/
ae6eaf728db4f415a92752f49c07f4070f8b45105c5901af8b10ebd5ce9564ec/VERSION
ae6eaf728db4f415a92752f49c07f4070f8b45105c5901af8b10ebd5ce9564ec/json
ae6eaf728db4f415a92752f49c07f4070f8b45105c5901af8b10ebd5ce9564ec/layer.tar
d2eacd088446a54364a9691d26844f707551330d7a712f756c1efef2a468e927/
d2eacd088446a54364a9691d26844f707551330d7a712f756c1efef2a468e927/VERSION
d2eacd088446a54364a9691d26844f707551330d7a712f756c1efef2a468e927/json
d2eacd088446a54364a9691d26844f707551330d7a712f756c1efef2a468e927/layer.tar
d3b5a3f18f6ab12420582150e206fb3426da4e61db12143cf449ee6e806ca328/
d3b5a3f18f6ab12420582150e206fb3426da4e61db12143cf449ee6e806ca328/VERSION
d3b5a3f18f6ab12420582150e206fb3426da4e61db12143cf449ee6e806ca328/json
d3b5a3f18f6ab12420582150e206fb3426da4e61db12143cf449ee6e806ca328/layer.tar
f194d459916db6cadeca2714572218dc53bf03ad031224b71c4bf2d7dfef2991/
f194d459916db6cadeca2714572218dc53bf03ad031224b71c4bf2d7dfef2991/VERSION
f194d459916db6cadeca2714572218dc53bf03ad031224b71c4bf2d7dfef2991/json
f194d459916db6cadeca2714572218dc53bf03ad031224b71c4bf2d7dfef2991/layer.tar
manifest.json
repositories[+] Running 2/2
β Ώ Network ones-multisite_default Created 0.1s
β Ώ Container ones-multisite Started 2.9s
