| Author: | Patrik Bok, Ashley Burston, Rick Sherman, Juniper Networks |
|---|
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.
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| cluster_enable | yes |
|
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 | |
| node | no | None | set to the node required (0 or 1) | |
| passwd | no | assumes ssh-key active | Login password | |
| port | no | 830 | TCP port number to use when connecting to the device | |
| user | no | $USER | Login username |
Note
Requires junos-eznc >= 1.2.2
-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