Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
ru:jobs:juniper_cluster_shell [2015/01/22 02:07]
admin [Решение.]
ru:jobs:juniper_cluster_shell [2015/01/22 10:21]
admin [Решение.]
Line 26: Line 26:
   #download and install DB script   #download and install DB script
   #check primary node   #check primary node
-  act_node=`/​usr/​sbin/​cli show chassis cluster status | /​usr/​bin/​grep ​node0 | /​usr/​bin/​awk '​{print $3}'`+  act_node=`/​usr/​sbin/​cli show chassis cluster status | /​usr/​bin/​grep ​nodeX | /​usr/​bin/​awk '​{print $3}'` 
 +  #where X node number that start script. For node0 set X=0 for node1 set X=1
        ​count=0        ​count=0
        #​check for redundancy group 0        #​check for redundancy group 0
ru/jobs/juniper_cluster_shell.txt · Last modified: 2015/03/12 17:14 by admin
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki