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 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:31]
admin [Solution.]
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
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