SRX

last person joined: 15 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Warning: 'node' is deprecated on SRX 240

    Posted 03-02-2011 07:48

    Hi Experts

     

    I am running 2 SRX240s in cluster mode.

    In the configuration below I can see the warning "Warning: 'node' is deprecated".

    Is it normal to have this warning ? As I am not seeing this warning in SRX3600 chassis cluster configuration.

    Why this warning is coming and how can we avaoid it?

     

     

    SRX240-002# run show configuration chassis cluster
    reth-count 3;
    node 0; ## Warning: 'node' is deprecated
    node 1; ## Warning: 'node' is deprecated
    redundancy-group 0 {
        node 0 priority 129;
        node 1 priority 128;
    }
    redundancy-group 1 {
        node 0 priority 129;
        node 1 priority 128;
        preempt;
        interface-monitor {
            ge-0/0/8 weight 255;
            ge-5/0/8 weight 255;
            ge-0/0/15 weight 255;
            ge-5/0/15 weight 255;
        }
    }
    redundancy-group 2 {
        node 0 priority 128;
        node 1 priority 129;
        preempt;
        interface-monitor {
            ge-0/0/7 weight 255;            
            ge-5/0/7 weight 255;
        }
    }

    SRX240-002# run show chassis cluster status           
    Cluster ID: 1
    Node                  Priority          Status    Preempt  Manual failover

    Redundancy group: 0 , Failover count: 1
        node0                   129         primary        no       no  
        node1                   128         secondary      no       no  

    Redundancy group: 1 , Failover count: 3
        node0                   129         primary        yes      no  
        node1                   128         secondary      yes      no  

    Redundancy group: 2 , Failover count: 2
        node0                   128         secondary      yes      no  
        node1                   129         primary        yes      no 

     

    Thanks

    Regards

    Ahmed Sharif



  • 2.  RE: Warning: 'node' is deprecated on SRX 240
    Best Answer

    Posted 03-02-2011 09:16

    What version of Junos are you running?  You can most likely safely delete those lines from the configuration.  They are no longer relavent / needed.

     

    From config mode:

    delete chassis cluster node 0

    delete chassis cluster node 1



  • 3.  RE: Warning: 'node' is deprecated on SRX 240

    Posted 03-04-2011 13:34

    HI

     

    I am using  [10.4R1.9].

    You were right . Those lines are no longer needed.

    I was observing those lines in both nodes (node 0 and node 1) and I deleted those lines separately from each of those nodes. And now I dont see any warnings.

     

    From config mode:

    delete chassis cluster node 0

    delete chassis cluster node 1

     

    Thanks

    Regards



  • 4.  RE: Warning: 'node' is deprecated on SRX 240

    Posted 03-02-2011 11:18

    Hi Ahmed,

     

    The "newer" way to accomplish this is by using groups. You set your node-specific configurations in group statements, and then apply the groups with a variable which will differentiate and apply the configuration for each node to that node.

     

    Here is an example of how you would do this:

     

     

    groups {
        node0 {
            system {
                host-name fw1;
                backup-router 10.1.1.1 destination 5.5.5.5/32;
             
            }
            interfaces {
                fxp0 {
                    unit 0 {
                        family inet {
                            address 10.1.1.2/24;
                        }
                    }
                }
            }
        }
        node1 {
            system {
                host-name fw2;
                backup-router 10.1.1.1 destination 5.5.5.5/32;
             
            }
            interfaces {
                fxp0 {
                    unit 0 {
                        family inet {
                            address 10.1.1.3/24;
                        }
                    }
                }
            }
        }
    }
    apply-groups "${node}";