Start a Conversation

Unsolved

T

1 Rookie

 • 

54 Posts

39

December 15th, 2023 17:22

How to list the IP addresses of all nodes within an Avamar

Hi All,

How to list the IP addresses of all nodes within an Avamar ? by CLI or GUI ? Thank you.

2 Intern

 • 

136 Posts

December 19th, 2023 11:17

"nodedb print" will list all IP addresses for all nodes. It will include the internal IPs, as well as those for the internal switches.

You could also load the admin keys and then use:

mapall --all 'hostname -i'

That will ask each node directly for its host IP Address

1 Rookie

 • 

54 Posts

December 21st, 2023 16:52

Thank you for your command line but it shows only IP address of avamar server. How can I get all IP addresses ? Can you please give me syntax ? Thank you.

2 Intern

 • 

136 Posts

January 17th, 2024 10:21

@To_Ng​ Hello, sorry, was away over Christmas/New year and only saw this now.

What IPs are you looking for? the Nodedb print lists all interfaces, except the RMM.

1 Rookie

 • 

54 Posts

January 23rd, 2024 17:26

that command line shows only one IP:

admin@VLSATL-AVAMAR01:~/>: ssh-agent bash
admin@VLSATL-AVAMAR01:~/>: ssh-add ~/.ssh/admin_key
Identity added: /home/admin/.ssh/admin_key (/home/admin/.ssh/admin_key)
admin@VLSATL-AVAMAR01:~/>: mapall --all 'hostname -i'
Using /usr/local/avamar/var/probe.xml
(0.0) ssh -q  -x  -o GSSAPIAuthentication=no admin@10.20.30.100 'hostname -i'
10.20.30.100 10.20.30.100
admin@VLSATL-AVAMAR01:~/>:

2 Intern

 • 

136 Posts

January 26th, 2024 13:25

@To_Ng​ That output says it's a single node system. So it doesn't have any other nodes.

"mccli server show-prop" will also show the number of nodes in the system. If you want to see all the IPs in that particular node, then the Linux command "ifconfig" will show them.

No Events found!

Top