Skip to main content

Create Floating IPs

Most StorONE deployments are highly available (HA) pairs of controller nodes. The NAS server runs on one node at a time. If the system fails over, the NAS server transitions to the other node. To prevent disruption to client connections, the NAS server and object store IP addresses must transition as well.

Before you can create an object store or NAS server on the StorONE system, you must create a floating IP. This is similar to virtual IPs in other HA systems where the network interfaces on multiple systems can respond to requests to the same IP address.

To create a floating IP, use the following command:

floatingips create <name> |(--address=<ip> --mask=<subnet> [--gateway=<ip>]) --nodes=<text...> --interfaces=<text...>

Command options

  • <name>: The internal reference name for this floating IP.

  • --address=<ip>: The IP address to use for the floating IP.

  • --mask=<subnet>: The subnet mask for the floating IP.

  • --gateway=<ip>: The default gateway for the floating IP.

  • --nodes=<node_1 node_2>: The controller nodes that will use the floating IP. You can use the TAB key auto-complete to specify the nodes.

  • --interfaces=<node_1_if node_2_if>: The interfaces on the controller nodes that will be used for the floating IP. You can use the TAB key auto-complete to see the available interfaces.

Examples

  1. To create a floating IP named s1-nas-ip with the IP address and netmask of 172.16.32.64/24, with a gateway of 172.16.32.1 using the sob4-data and soe5-data interfaces on nodes example-s1n1 and example-s1n2, respectively:
    floatingips create s1-nas-ip --address 172.16.32.64 --mask 24 --gateway 172.16.32.1 --nodes example-s1n1 example-s1n2 --interfaces sob4-data soe5-data
    
  2. To create a floating IP named s1-s3-ip with the IP address 10.10.150.42/255.0.0.0 and no gateway, using interfaces DATA and DATA on nodes storone-n1 and storone-n2, respectively:
    floatingips create s1-s3-ip --address 10.10.150.42 --mask 255.0.0.0 --nodes storone-n1 storone-n2 --interfaces DATA DATA