Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example for a Successful Execution

...

Code Block
# /app/scripts/configure_cell_manager.sh -a 172.18.100.34 -g 172.17.100.33


Note that the script writes two log file, one in the cell manager and one in the cell member. The log file names are mentioned in the script's output.

Example for a Failed Execution

...

Code Block
# /app/scripts/configure_cell_manager.sh -a 172.18.100.34 -g 172.17.100.33

2018-10-01_00-11-43 INFO Cell Configuration
2018-10-01_00-11-43 INFO ===============================
2018-10-01_00-11-45 INFO 
2018-10-01_00-11-45 INFO Log file is : /installs/logs/cell_manager_configuration-2018-10-01_00-11-43.log
2018-10-01_00-11-45 INFO 
2018-10-01_00-11-45 INFO Adding new cell member with the following configuration :
2018-10-01_00-11-45 INFO Cell member internal address 172.18.100.34
2018-10-01_00-11-45 INFO Cell member external address 172.17.100.33
2018-10-01_00-11-45 INFO Syslog agents using TCP ports starting with 60000
2018-10-01_00-11-45 INFO Syslog agents using TCP ports starting with 60000
2018-10-01_00-11-45 INFO Wsm agents using TCP ports starting with 60020 
2018-10-01_00-11-45 INFO 
2018-10-01_00-11-45 INFO Please choose the IP address for the cell manager server internal address followed by [ENTER]:
2018-10-01_00-11-46 INFO 1.) 172.18.100.32
2018-10-01_00-11-46 INFO 2.) 172.17.100.31
1
2018-10-01_00-12-17 INFO Stopping application ...
2018-10-01_00-13-09 INFO Application stopped successfully. 
root@172.18.100.34's password: 
2018-10-01_00-14-15 ERROR Starting rollback
2018-10-01_00-14-19 WARN Issues found that may need attention !!
2018-10-01_00-14-20 INFO Starting application ...
2018-10-01_00-17-36 INFO Application started successfully.

In case of a failure, the script will try to rollback the configuration changes it made, so the problem can be fixed before rerunning it again.

...