End of Sale Notice:
F5 NGINX is announcing the End of Sale (EoS) for NGINX Controller API Management Module, effective January 1, 2024.
F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing NGINX Controller API- Management customers can continue to use the product past the EoS date. License renewals are not available after September 30, 2024.
See our End of Sale announcement for more details.
End of Sale Notice:
F5 NGINX is announcing the End of Sale (EoS) for NGINX Controller Application Delivery Module, effective January 1, 2024.
F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing NGINX Controller Application Delivery customers can continue to use the product past the EoS date. License renewals are not available after September 30, 2024.
See our End of Sale announcement for more details.
Changing the IP address
Learn how to safely change the management IP of F5 NGINX Controller.
Overview
This topic explains how to safely update the management IP of F5 NGINX Controller.
See Also:
For instructions on how to deploy NGINX Controller as a multi-node resilient cluster, refer to the following deployment guide:
Changing the IP of a multi-node cluster
To change the IP of a multi-node cluster, follow the steps below for each node in the cluster:
- Remove the node from the cluster
- Change the IP address (public and private)
- Reboot the node
- Add the node back to the cluster
- Change the FQDN
1. Remove node from the cluster
Important:
Deleting nodes makes NGINX Controller momentarily unavailable while the cluster is being updated. Therefore, we recommend updating NGINX Controller during a planned maintenance window to minimize disruptions. When deleting nodes, make sure that at least two nodes are always operational. If the cluster has fewer than two working nodes, NGINX Controller may become unresponsive, and you may not be able to add new nodes.
To delete a node from the cluster using the web interface:
- Open the NGINX Controller web interface and log in.
- Select the NGINX Controller menu icon, then select Platform.
- On the Platform menu, select Cluster.
- On the Cluster overview page, choose the node you want to delete, then select Delete (trash icon).
- Select Delete to confirm.
See Also:
To delete nodes from your cluster using the NGINX Controller REST API, send a DELETE request to the/platform/nodes
endpoint.
2. Change the IP address (public & private)
Refer to your Linux distribution documentation for specific instructions.
3. Reboot the node
4. Add the node back to the cluster
Take the following steps to add a node to the cluster:
-
Open the NGINX Controller web interface and log in.
-
Select the NGINX Controller menu icon, then select Platform.
-
On the Platform menu, select Cluster.
-
On the Cluster overview page, select Create Node.
-
Add a name for the node.
-
(Optional) Add a description.
-
Add the hostname or IP address – or both – for the node.
-
Select Save. The new node appears in the list of nodes on the Cluster overview page with a
Configuring
status. -
Choose the new node’s name in the list, then select View (eye icon). A page with command-line instructions for adding the node appears.
-
Copy the
install.sh
command and join-key that are shown. -
Open an SSH connection to the node that you’re adding to the cluster.
-
Uninstall NGINX Controller from the node if you haven’t already, and then continue with the remaining steps in this procedure:
/opt/nginx-controller/uninstall.sh
-
Upload and extract the
controller-installer-<version>.tar.gz
tarball. -
Run the
install.sh
command with the join-key copied in the previous step. If the join-key has expired, you can get a new one by following the steps in this topic to add a node using the web interface or the NGINX Controller REST API.cd controller-installer ./install.sh --join-key <long-value>
-
After the installation is complete, the node status in the web interface changes to
Configured
.
See Also:
To add nodes to your cluster using the NGINX Controller REST API, send a POST request to the/platform/nodes
endpoint.
5. Change the FQDN
Change the FQDN if it has been affected by the IP change.
Important:
Repeat the steps for each node in the cluster.
Changing the IP of a single node
To change the IP of a single node:
-
Change the IP of the node (public and private). Refer to your Linux distribution documentation for specific instructions.
-
Reboot the node.
-
Run the following command (only required if smtp was affected by the IP change):
opt/nginx-controller/helper.sh configsmtp <smtp_host> <smtp_port> false <do-not-reply-email>
-
Change the FQDN if it has been affected by the IP change.