How To Change IP Address of Controller
This article will provide details to change the IP Address of HyWorks Controller (Standalone or clustered) when it is already installed. The article will guide you through the process of changing HyWorks Controller IP Address.
Important
The article does not cover database configurational changes required, if Database server address has been changed.
Standalone HyWorks Controller
For standalone deployment of HyWorks Controller, change in IP address does not require any additional configuration. Follow below steps to correctly get Controller's IP Address changed:
Applicable to HyWorks Controller Versions
- HyWorks Controller v3.0 or later
Prerequisites or additional software requirements:
- Console/Remote access to HyWorks Controller server with administrative privileges
Steps:
- Access Windows server hosting HyWorks Controller with user having administrator privileges
-
Change HyWorks Controller IP Address from Network and Sharing Center
Note
If you are connected remotely, you may lose connection and will require to re-connect with new IP Address
-
Restart Accops HyWorks Controller Service
- Open Services: Open Run prompt (Shortcut: Win+r), type Services.msc and press Enter key
- Locate Accops HyWorks Controller Service, Right click and select option Restart
-
HyWorks Controller service will be restarted and will start using new IP Address
-
Login into Management Console with user having administrator privileges, go to Server -> HyWorks Controller section and verify if new IP address is reflecting.
HyWorks Controllers in Cluster (Active-Passive) Environment
For deployments, where HyWorks Controller is in cluster, IP address change will require some additional steps. This section will try to cover all the steps required.
The process is different for v3.3-GA+ Controller version than v3.2 version.
v3.3.0.12803 (GA) or later
Follow below steps to change IP address of HyWorks Controller running v3.3.0.12803(GA) or later:
Prerequisites or additional software requirements:
- Console/Remote access to HyWorks Controller server with administrative privileges
Change IP Address of Secondary HyWorks Controller:
-
Move Secondary HyWorks Controller to Maintenance mode
-
Access HyWorks Controller Management Console of Primary HyWorks Controller with user having administrator privileges
-
Go to Server -> HyWorks Controller section
-
Select Secondary HyWorks Controller, click on button Change Mode
-
Set mode as Maintenance and click on button Change Mode
-
Wait for operation to finish, secondary HyWorks Controller will be moved to maintenance mode
-
-
Follow steps given in above section to configure new IP address on secondary HyWorks Controller
- At this step: Secondary controller is updated, its entries. But the primary HyWorks Controller is still not configured to use new IP address of secondary.
-
Update Primary HyWorks Controller configuration to use new IP address of secondary HyWorks Controller
-
Access Management Console of Primary HyWorks Controller with user having administrator rights
-
Go to Server -> HyWorks Controller section
-
Select secondary HyWorks Controller from list and click on button Edit
-
Enter new IP address in Host Address field, test connection and click Update button to save changes
-
Refresh page and verify Controller entries are correct
-
Select secondary HyWorks Controller and change mode to secondary again.
-
Configurations on Primary HyWorks Controller are completed and verified
-
-
Connect to Management Console of secondary HyWorks Controller
-
Go to Server -> HyWorks Controller section and verify, entries of both Controllers are correct
-
Go to Help -> Logs, and verify successful database sync logs are coming.
-
Important
Though this section, uses example of changing IP address of secondary HyWorks controller, the same process can be used for primary HyWorks Controller IP address change as well.
v3.2.0.8928 (SP2) or older
Follow below steps, to change IP address of HyWorks Controller running v3.2.0.8928(SP2) or older:
Prerequisites or additional software requirements:
-
Console/Remote access to HyWorks Controller server with administrative privileges
-
Database access of primary HyWorks Controller (preferably using SQL Management Studio)
Change IP Address of Secondary HyWorks Controller:
-
Move Secondary HyWorks Controller to Maintenance mode
-
Access HyWorks Controller Management Console of Primary HyWorks Controller with user having administrator privileges
-
Go to Server -> HyWorks Controller section
-
Select Secondary HyWorks Controller, click on button Change Mode
-
Set mode as Maintenance and click on button Change Mode
-
Wait for operation to finish, secondary HyWorks Controller will be moved to maintenance mode
-
-
Follow steps given in above section to configure new IP address on secondary HyWorks Controller
- At this step: Secondary controller is updated, its entries. But the primary HyWorks Controller is still not configured to use new IP address of secondary.
-
Update Primary HyWorks Controller configuration to use new IP address of secondary HyWorks Controller
-
Connect to database of primary HyWorks Controller with user having rights to update tables
-
Execute below query with new IP address of secondary HyWorks Controller
Update ClusterServerDbo Set IPAddress='new IP address of secondary', PulseSource='https://<new Ip Address of secondary>:38866/PulseController.svc' where DNSName='Hostname of secondary server'
Example: new IP address of secondary controller is 192.168.1.100 and hostname is hyworskctrl2
Update ClusterServerDbo Set IPAddress='192.168.1.100', PulseSource='https://192.168.1.100:38866/PulseController.svc' where DNSName='hyworksctrl2' -
Login into Management Console of Primary HyWorks Controller and go to Server -> HyWorks Controller section
-
Verify Controller entries are correct
-
Select secondary HyWorks Controller and change mode to secondary again.
-
Configurations on Primary HyWorks Controller are completed and verified
-
-
Connect to Management Console of secondary HyWorks Controller
-
Go to Server -> HyWorks Controller section and verify, entries of both Controllers are correct
-
Go to Help -> Logs, and verify successful database sync logs are coming.
-
Important
Though this section, uses example of changing IP address of secondary HyWorks controller, the same process can be used for primary HyWorks Controller IP address change as well.