# Update virtual IP address ## How to update virtual IP address for failover? [OpManager's Failover mechanism](https://www.manageengine.com/network-monitoring/help/configure-failover-new.html) helps you ensure that your network is monitored via an alternative monitoring instance when your primary monitoring mechanism is down. This ensures uninterrupted monitoring of your network. For configuring failover in OpManager, a virtual IP is one of the pre-requisites. If you want to update the virtual IP, you can do it via one of the following ways: - [From OpManager UI](https://www.manageengine.com/network-monitoring/faq/update-virtual-ip.html#opm-ui) - [Using the batch file](https://www.manageengine.com/network-monitoring/faq/update-virtual-ip.html#batch-file) ## Updating virtual IP from OpManager UI 1. Go to **Settings -> General Settings -> Failover Details.** 2. Update the new virtual IP address under the **Virtual IP address** field. 3. Click **Save**. ![Updating virtual IP address for failover in OpManager: Failover details](https://www.manageengine.com/network-monitoring/help/images/failoverhelp1.png) ## Updating virtual IP using the batch file 1. Stop Primary and Secondary OpManager services. 2. Open a command prompt with administrator privilege and navigate to **/bin.** 3. Execute the following command: ``` FosDetailsUpdate.bat ``` Example: ``` FosDetailsUpdate.bat 172.21.21.21 ``` **Note:** The Virtual IP address must be a valid IPv4 address.