The Log Collector utility can be used to configure or modify the IP address/Time Zone/Name Server/NTP through a utility called jnpr-configure-node .
jnpr-configure-node
The same options are available if you use configureNode.sh script
configureNode.sh
If network design requires that customers move a device from one data center to another, it will then be necessary to change the configuration setup.
Connect to the Log Collector via console and configure or modify by executing the command, jnpr-configure-node or configureNode.sh.
configureNode.sh.
Example 1: Using jnpr-configure-node
[root@LOG-COLLECTOR ~]# jnpr-configure-node Please enter your choice: 1) Configure IP Address 2) Configure Time Zone 3) Configure Name Server Settings 4) Configure NTP Settings 5) Configure eMail Settings for event notification 6) Update Log Collector database password 7) Quit Please enter your choice: 1 Setup Network 1) Configure IP Address for eth0 2) Configure IP Address for eth1 Please enter your choice: 1 Setup eth0 interface 1) Configure IPV4 Address for eth0 2) Configure Mixed mode(IPV4 and IPV6) for eth0 3) Exit Please enter your choice : 1 Setup IPV4 address for eth0 interface Checking for IPV4 Address of the machine Current IPV4 address is : 10.219.59.97 IPV4 Address for eth0 is already Configured. Configure eth0 IP Address? [Y/N] ...............................
[root@LOG-COLLECTOR ~]# jnpr-configure-node Please enter your choice: 1) Configure IP Address 2) Configure Time Zone 3) Configure Name Server Settings 4) Configure NTP Settings 5) Configure eMail Settings for event notification 6) Update Log Collector database password 7) Quit Please enter your choice: 1 Setup Network 1) Configure IP Address for eth0 2) Configure IP Address for eth1 Please enter your choice: 1 Setup eth0 interface 1) Configure IPV4 Address for eth0 2) Configure Mixed mode(IPV4 and IPV6) for eth0 3) Exit Please enter your choice : 1 Setup IPV4 address for eth0 interface Checking for IPV4 Address of the machine Current IPV4 address is : 10.219.59.97 IPV4 Address for eth0 is already Configured. Configure eth0 IP Address? [Y/N]
Example 2: Using the configureNode.sh command
[root@LOG-COLLECTOR ~]# configureNode.sh Please enter your choice: 1) Configure IP Address 2) Configure Time Zone 3) Configure Name Server Settings 4) Configure NTP Settings 5) Configure eMail Settings for event notification 6) Update Log Collector database password 7) Quit Please enter your choice: 6 Updating Log Collector database password Please Enter New Password for db(elasticsearch) user, admin : ...........................
[root@LOG-COLLECTOR ~]# configureNode.sh Please enter your choice: 1) Configure IP Address 2) Configure Time Zone 3) Configure Name Server Settings 4) Configure NTP Settings 5) Configure eMail Settings for event notification 6) Update Log Collector database password 7) Quit Please enter your choice: 6 Updating Log Collector database password Please Enter New Password for db(elasticsearch) user, admin :
Notes:
While modifying the IP address, if the Log Collector node is already added under SD > Administration > Logging Management > Logging Nodes , delete the LC from the Junos Space SD UI, then execute the steps above. Once the IP address is changed, add the LC node again using the new IP address in the Junos Space SD WebUI.
Configuring or modifying the remaining choices (Time Zone/Name Server/NTP/email settings) can be done on a real-time basis, and deleting the 'LC node from the Junos Space UI is not required.
The default DB password for LC is 'juniper123' and is used while adding LC to Space SD from versions SD 17.2 and later. If you change this password, please delete and re-add the LC using new credentials.