From the console port connection to the router you want to designate as the primary node, in configuration mode enter the following commands to name it node0-router and assign IP address 10.1.1.1/24 to it:
- user@host# set groups node0 system host-name
node0-router
- user@host# set groups node0 interfaces fxp0
unit 0 family inet address 10.1.1.1/24
From the console port connection to the router you want to designate the secondary node, in configuration mode enter the following commands to name it node1-router and assign IP address 10.1.1.2/24 to it:
- user@host# set groups node1 system host-name
node1-router
- user@host# set groups node1 interfaces fxp0
unit 0 family inet address 10.1.1.2/24
Enter the following command in configuration mode to apply these unique configurations to the appropriate node. (If you are migrating from a Services Router to a cluster, delete the hostname from the configuration and then use the apply-groups command.)
This configuration is not replicated across the two nodes.
- user@host# set apply-groups "${node}"