Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:jobs:juniper_cluster_shell [2015/01/22 10:26]
admin [Introduction.]
en:jobs:juniper_cluster_shell [2015/01/22 10:35]
admin [PS.]
Line 17: Line 17:
  ==== Solution. ====  ==== Solution. ====
  
- ​Solution consist of one script on every of two nodes there executed by cron:\\ + ​Solution consist of one script on every of two nodes which are executed by cron:\\ 
-Don't forget to set X and Y in script for every nodes.\\+Don't forget to set X and Y in script for every of nodes.\\
  
  
Line 65: Line 65:
        fi        fi
  
-Script must be placed on every of two cluster nodes in directory /var/tmp.\\+Script must be placed ​to a directory /​var/​tmp ​on every of two cluster nodes.\\
  
  
 Start script on every of cluster nodes by cron.\\ Start script on every of cluster nodes by cron.\\
-In case below primary ​node is node0:\\+Primary ​node is node0 for the case below :\\
  
   %chmod +x /​var/​tmp/​di.sh   %chmod +x /​var/​tmp/​di.sh
Line 75: Line 75:
   1 3 * * * sh /​var/​tmp/​di.sh   1 3 * * * sh /​var/​tmp/​di.sh
  
-Enter to second node:\\+Enter to the second node:\\
   ​   ​
   %rlogin -Jk -T node1   %rlogin -Jk -T node1
Line 84: Line 84:
  ==== PS. ====  ==== PS. ====
  
-If you try to automate task of editing configuration you have to remember:​\\ +If you try to automate task of editing ​of configuration you have to remember:​\\ 
-all configuration ​changes commmands ​and commit must be execute ​by one command (session).\\+all commands of change ​configuration and command ​commit must be executed ​by one command (session).\\
  
 Script Example:\\ Script Example:\\
en/jobs/juniper_cluster_shell.txt · Last modified: 2015/03/12 17:10 by admin
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki