vSRX Virtual Firewall Cluster Staging and Provisioning for VMware
Staging and provisioning a vSRX Virtual Firewall cluster includes the following tasks:
Deploying the VMs and Additional Network Interfaces
The vSRX Virtual Firewall cluster uses three interfaces exclusively for clustering (the first two are predefined):
Out-of-band management interface (fxp0).
Cluster control link (em0).
Cluster fabric links (fab0 and fab1). For example, you can specify ge-0/0/0 as fab0 on node0 and ge-7/0/0 as fab1 on node1.
Initially, the VM has only two interfaces. A cluster requires three interfaces (two for the cluster and one for management) and additional interfaces to forward data. You can add interfaces through the VMware vSphere Web Client.
Creating the Control Link Connection Using VMware
To connect the control interface through the control vSwitch using the VMware vSphere Web Client:
See Figure 2 for vSwitch properties and Figure 3 for VM properties for the control vSwitch.
The control interface will be connected through the control vSwitch. See Figure 4.
Creating the Fabric Link Connection Using VMware
To connect the fabric interface through the fabric vSwitch using the VMware vSphere Web Client:
See Figure 5 for vSwitch properties and Figure 6 for VM properties for the fabric vSwitch.
The fabric interface will be connected through the fabric vSwitch. See Figure 7.
Creating the Data Interfaces Using VMware
To map all the data interfaces to the desired networks:
The data interface will be connected through the data vSwitch using the above procedure.
Prestaging the Configuration from the Console
The following procedure explains the configuration commands required to set up the vSRX Virtual Firewall chassis cluster. The procedure powers up both nodes, adds the configuration to the cluster, and allows SSH remote access.
Connecting and Installing the Staging Configuration
After the vSRX Virtual Firewall cluster initial setup, set the cluster ID and the node ID, as described in Configure a vSRX Chassis Cluster in Junos OS.
After reboot, the two nodes are reachable on interface fxp0
with SSH. If the configuration is operational, the show chassis
cluster status
command displays output similar to that shown
in the following sample output.
vSRX Virtual Firewall> show chassis cluster status
Cluster ID: 1 Node Priority Status Preempt Manual failover Redundancy group: 0 , Failover count: 1 node0 100 secondary no no node1 150 primary no no Redundancy group: 1 , Failover count: 1 node0 100 secondary no no node1 150 primary no no
A cluster is healthy when the primary and secondary nodes are present and both have a priority greater than 0.