junos_srx_cluster - Create an srx chassis cluster for cluster capable srx running Junos OS.

Author:Patrik Bok, Ashley Burston, Rick Sherman, Juniper Networks

Synopsis

New in version 1.2.0.

Create an srx chassis cluster and reboot the device. The device must be capable of forming an srx cluster and have the correct cables installed.

Options

parameter required default choices comments
cluster_enable yes
  • true
  • false
  • yes
  • no
yes/true - set device to cluster mode (specify cluster_id and node)no/false - set device to stand alone mode (disable cluster mode)
cluster_id no None
    set to the cluster id , required for cluster_enable=YES
    console no None
      SERIAL or TERMINAL-SERVER port setting, per use with the netconify utility
      host yes
        Set to {{ inventory_hostname }}
        logfile no None
          Path on the local server where the progress status is logged for debugging purposes
          mode no None
            mode of console connection (telnet/serial). If mode is not provided SSH connection is used.
            node no None
              set to the node required (0 or 1)
              passwd no assumes ssh-key active
                Login password
                port no 830
                  port number to use when connecting to the device
                  user no $USER
                    Login username

                    Note

                    Requires junos-eznc >= 1.2.2

                    Examples


                    -junos_srx_cluster:
                      host={{ inventory_hostname }}
                      console="--port={{ serial }}"
                      user=rick
                      passwd=password123
                      cluster_enable=true
                      logfile=cluster.log
                      cluster_id={{ cluster_id }}
                      node={{ node_id }}
                    
                    -junos_srx_cluster:
                      host={{ inventory_hostname }}
                      user=rick
                      passwd=password123
                      cluster_enable=false
                      logfile=cluster.log
                    
                    # over console server connection using PyEZ >= 2.0
                    -junos_srx_cluster:
                      host={{ inventory_hostname }}
                      user=rick
                      passwd=password123
                      mode="telnet"
                      port=7032
                      cluster_enable=true
                      logfile=cluster.log