SRX

 View Only
last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  How can I remove whole chassis cluster configuration from SRX

    Posted 09-15-2012 00:08

    Hi everyone

    I'm still new in SRX world

    my issue is I configured chassis c;uster on 2 SRX-240 as test lab 

    After I deleted ethernet-swithcing and all logical units interfaces ..etc

     

    1)  I applied commands on both nodes

     

    On device A: >set chassis cluster cluster-id 1 node 0 reboot 
    On device B: >set chassis cluster cluster-id 1 node 1 reboot
     
    2) on Node 0  , I applied :
    #set groups node0 system host-name primary
    #set groups node0 interfaces fxp0 unit 0 family inet address 192.168.1.1/24
    #set groups node1 system host-name secondary
    #set groups node1 interfaces fxp0 unit 0 family inet address 192.168.1.2/24
    #set apply-groups "${node}
    #set interfaces fab0 fabric-options member-interfaces ge-0/0/2
    #set interfaces fab1 fabric-options member-interfaces ge-5/0/2
    # set chassis cluster redundancy-group 0 node 0 priority 100 
    # set chassis cluster redundancy-group 0 node 1 priority 1 
    # set chassis cluster redundancy-group 1 node 0 priority 100
    # set chassis cluster redundancy-group 1 node 1 priority 1
    # set chassis cluster redundancy-group 1 interface-monitor ge-0/0/5 weight 255
    # set chassis cluster redundancy-group 1 interface-monitor ge-5/0/5 weight 255
    # set chassis cluster redundancy-group 1 interface-monitor ge-0/0/6 weight 255
    # set chassis cluster redundancy-group 1 interface-monitor ge-5/0/6 weight 255
    # set chassis cluster reth-count 2
    # set interfaces ge-0/0/5 gigether-options redundant-parent reth1
    # set interfaces ge-5/0/5 gigether-options redundant-parent reth1
    # set interfaces reth1 redundant-ether-options redundancy-group 1
    # set interfaces reth1 unit 0 family inet address 20.2.0.233/24
    # set interfaces ge-0/0/6 gigether-options redundant-parent reth0 
    # set interfaces ge-5/0/6 gigether-options redundant-parent reth0
    # set interfaces reth0 redundant-ether-options redundancy-group 1
    # set interfaces reth0 unit 0 family inet address 10.16.8.1/24
    # set security zones security-zone untrust interfaces reth1.0
    # set security zones security-zone trust interfaces reth0.0

     

      

    though the commiting was successed but I forget to connect fxp0 , fxp1 and fab cables to the other Node 1 during applaing the commands on Node 0 so node 1 was lost  Smiley Sad

    -

    anyhow when I tired to delete all the above commands from Node 0 by writing delete instead of set like

    delete groups node0 system host-name primary  ......and so on 

     

    sadly I recieive error message when trying commiting the configuration 

     

    error message :

     

      

    [edit chassis cluster redundancy-group 1] 'node 0'
    Missing mandatory statement: 'priority

     

    sorry for prolonging


    #HA
    #chassiscluster
    #SRX
    #jonus


  • 2.  RE: How can I remove whole chassis cluster configuration from SRX

    Posted 09-15-2012 09:04

    Hi,

     

    to remove HA try this command

     

    > set chassis cluster cluster-id 0 node 0 reboot

     

    and to restore the default configuration try this command after reboot

     

    # load factory-default

     

    then set the root password again and commit

     

    Regards,

    Mohamed Elhariry



  • 3.  RE: How can I remove whole chassis cluster configuration from SRX

    Posted 09-15-2012 21:54

    Hi Mohamad

     

    I did the command " > set chassis cluster cluster-id 0 node 0 reboot "  but when did command :

    # run show configuration 

     

    still HA configuration is available although the HA is disabled 

     

     

    Is there any solution to remove the configuration from Firewall except " factory reset" ??

     



  • 4.  RE: How can I remove whole chassis cluster configuration from SRX

    Posted 09-15-2012 23:06

    Hi,

     

    After the cluster transfer to disable you could delete all cluster configuration like fab port and groups without any problems

     

    Regards,

    Mohamed Elhariry



  • 5.  RE: How can I remove whole chassis cluster configuration from SRX

    Posted 09-17-2012 05:32

    thanks for your effort



  • 6.  RE: How can I remove whole chassis cluster configuration from SRX

    Posted 04-25-2013 00:30

    Hi,

    Here's some CLI commands to break chassis cluster:

     

    0. > set chassis cluster cluster-id 0 node 0 reboot

    > set chassis cluster cluster-id 0 node 1 reboot

     

    1. delete

    set system root-authentication plain-text-password

     

    2. load factory-default 

    request system zeroize

    set system root-authentication plain-text-password


    3. delete apply-groups
    delete interfaces reth0
    delete interfaces reth1
    delete chassis cluster
    delete groups

    delete security zones...

     

     

    Here's some links:

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB23787

     


    #cluster-id0
    #break
    #chassiscluster


  • 7.  RE: How can I remove whole chassis cluster configuration from SRX

    Posted 09-01-2015 13:58

    rollback would've been nice if it worked Smiley Sad



  • 8.  RE: How can I remove whole chassis cluster configuration from SRX
    Best Answer

     
    Posted 09-17-2012 04:39
    When using delete in junos, you could just do "delete chassis cluster" to get rid of everything under that. "delete interfaces reth0", "delete groups" and so on. You can think of it as an rm -r in unix, with the configuration stanzas beeing directories and files.


  • 9.  RE: How can I remove whole chassis cluster configuration from SRX

    Posted 09-17-2012 05:31

    yes now it works and commited when tried only  " delete chassis cluster"

     

     

    before I tried doing those comands to remove them one after another

     

    delete chassis cluster redundancy-group 0 node 0 priority 100 
    delete chassis cluster redundancy-group 0 node 1 priority 1 
    delete chassis cluster redundancy-group 1 node 0 priority 100
    delete chassis cluster redundancy-group 1 node 1 priority 1
    delete chassis cluster redundancy-group 1 interface-monitor ge-0/0/5 weight 255
    delete chassis cluster redundancy-group 1 interface-monitor ge-5/0/5 weight 255
    delete chassis cluster redundancy-group 1 interface-monitor ge-0/0/6 weight 255
    delete chassis cluster redundancy-group 1 interface-monitor ge-5/0/6 weight 255
    delete chassis cluster reth-count 2

     but was showing the follwoing errors 

     

    edit chassis cluster redundancy-group 1]
    'node 0'
    Missing mandatory statement: 'priority'
    [edit chassis cluster redundancy-group 1]
    'node 1'
    Missing mandatory statement: 'priority'
    error: configuration check-out failed: (missing mandatory statements)

     thanks for support