--- title: "Changing IP Addresses" slug: "changing-ip-addresses" tags: ["on-demand", "dbconfig", "ip address", "change", "application server", "analytics server"] updated: 2024-10-29T13:01:34Z published: 2024-10-29T13:01:34Z canonical: "docs.revealdata.com/changing-ip-addresses" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.revealdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Changing IP Addresses Changing IP Addresses of Brainspace servers is an in-depth task that requires making changes in User Interface (UI), *brainspace.DBConfig* files, creating new ssl certs between the Servers and potentially editing postgres’ *pg_hba.conf*. We understand it is sometimes necessary to make this change and recommend opening a ticket with Brainspace Support if you have any questions regarding the below steps before starting. Please note it is best to make these changes in maintenance window. ## Application Server 1. Login to the UI as a Super Admin and navigate to the Services Tab. ![](https://cdn.us.document360.io/3e21d801-ca9f-4c51-93db-9cbd32741f3d/Images/Documentation/image(96).png) 2. Click the Edit button (gear icon) of the Service(s) you need to change the IP for and ensure the check mark is to the right before pressing save: ![](https://cdn.us.document360.io/3e21d801-ca9f-4c51-93db-9cbd32741f3d/Images/Documentation/image(97).png) 3. Modify the */var/lib/brains/.brainspace/brainspace.DBConfig* of all servers to point to the new IP Address for *dbHost* (if the Application Server and DB server are the same then it should read *dbHost=localhost*) ![](https://cdn.us.document360.io/3e21d801-ca9f-4c51-93db-9cbd32741f3d/Images/Documentation/changing-ip-addresses-image-rim7vstw.png) 4. Unmount */localdata-share* on the On-Demand Server, if on 6.3, and edit the */etc/fstab* of the On-Demand Server to have the new IP Address of the Application Server for the NFS share from the Application Server. 5. Change the IP address of the Application Server. 6. Run the following on the Application Server as root; *cd /var/lib/brains/scripts && bash brainspace-cert-tool.sh create_cert*. 7. On the On-Demand Server mount */localdata-share*. 8. Verify pg_hba.conf file in /var/lib/pgsql/9.6/data/ matches the new subnet (Skip this if servers are not on different subnets) ![](https://cdn.us.document360.io/3e21d801-ca9f-4c51-93db-9cbd32741f3d/Images/Documentation/changing-ip-addresses-image-6juyek6w.png) ## Analytics/On-Demand Servers 1. Login to the UI as a Super Admin and navigate to the Services Tab ![](https://cdn.us.document360.io/3e21d801-ca9f-4c51-93db-9cbd32741f3d/Images/Documentation/image(98).png) 2. Click the Edit button (gear icon) of the Service(s) you need to change the IP for and ensure the check mark is to the right before pressing save: ![](https://cdn.us.document360.io/3e21d801-ca9f-4c51-93db-9cbd32741f3d/Images/Documentation/image(99).png) 3. For changing the Analytics Server IP address WITH */data* being shared from the Analytics you will need to unmount */data* on the Application and On-Demand Servers, edit the */etc/fstab* of both servers to have the new IP address for */data*. If any other Servers IP Addresses have been changed you will need to edit */etc/exports* on the Analytics to reflect the new addresses sharing */data* to and run *exportfs -ra* 4. For changing the On-Demand Server IP address unmount */localdata-share* on the On-Demand Server, if on 6.3, and edit */etc/exports* on the Application Server to the new IP address of the On-Demand Server, and then re-export the filesystem with *exportfs -ra* on the Application Server. 5. Change the IP address of the Server 6. Run the following on the Server you changed the IP Address of as root; *cd /var/lib/brains/scripts && bash brainspace-cert-tool.sh create_cert* 7. Mount */data* on the Application and On-Demand Servers if unmounted in step 3. 8. On the On-Demand Server mount */localdata-share* 9. Verify pg_hba.conf file in /var/lib/pgsql/9.6/data/ on the Application Server matches the new subnet (Skip this if servers are not on different subnets) ![](https://cdn.us.document360.io/3e21d801-ca9f-4c51-93db-9cbd32741f3d/Images/Documentation/changing-ip-addresses-image-nlkxev0v.png) ## Related - [Installation & Upgrade](/installation-upgrade.md) - [Postgres SSL Setup](/postgres-ssl-setup.md) - [Configure the Data and Localdata Shares](/configure-the-data-and-localdata-shares.md) - [Installation Upgrade Guide - Brainspace 7](/installation-upgrade-guide-brainspace-7.md)