I am testing the member replacement procedure in a 2 nodes configuration (2 ESX + 1 vcenter PC) using local storage.
As my switches do not support CDP and LLDP protocols, I use the brownfield installation process (create 5 port groups with the expected port names).
For my testing, i rebuilt a new ESX server and add it to the existing data center (I had to set up a new hostname and a new IP address for the management network, otherwise I was not able to add the new server to the Datacenter). Is it the right process ?
Once the port groups created on the new server, I started the replace applicance process in the VSA manager. The following error is displayed each time during the process:
2013-04-11 02:39:26,332 1116 [PersistenceService] [Thread-6832] INFO - Creating job: Task: REPLACE_NODE DC Ref ID: datacenter-2 Concurrency Allowed: false Type: 13 %: 0 Level: INFO
2013-04-11 02:39:26,392 200 [OvfData] [Thread-6832] INFO - Default disk size 1000 MB
2013-04-11 02:39:26,402 213 [OvfData] [Thread-6832] INFO - Total system disk size 9216 MB
2013-04-11 02:39:26,402 216 [OvfData] [Thread-6832] INFO - Total initial reserved disk size 22528 MB
2013-04-11 02:39:28,472 853 [SVAVMConfigurator] [Thread-6832] ERROR - Failed to destroy VSA VM.
2013-04-11 02:39:28,472 233 [ReplaceNodeThread] [Thread-6832] INFO - Destroyed VM vm-48 for old SVA 71d8702e-cf4b-4b79-909b-e9c9c3dcb12a
2013-04-11 02:39:28,472 131 [ReplaceNodeThread] [Thread-6832] INFO - Getting/setting NFS network for: host-92
2013-04-11 02:39:28,512 290 [ReplaceNodeThread] [Thread-6832] INFO - Setting selected storage capacity for: host-92 to: 897128071168 bytes
2013-04-11 02:39:28,682 235 [Utils] [Thread-6832] INFO - Retrieve dev.property: network.config=true
2013-04-11 02:39:28,922 102 [PhysicalNetworkConfiguration] [Thread-6832] INFO - Initializing the current network configuration
2013-04-11 02:39:28,952 102 [PhysicalNetworkConfiguration] [Thread-6832] INFO - Initializing the current network configuration
2013-04-11 02:39:28,952 51 [PNICSelectorImpl] [Thread-6832] INFO - Getting NICs to use for switch vSwitch0
2013-04-11 02:39:28,952 51 [PNICSelectorImpl] [Thread-6832] INFO - Getting NICs to use for switch vSwitch1
2013-04-11 02:39:29,022 561 [SessionService] [Thread-6832] ERROR - Failed to configure network on host: host-92
com.vmware.vim25.InvalidArgument: A specified parameter was not correct.
at com.vmware.vim25.InvalidArgument$Factory.parse(InvalidArgument.java:540)
at com.vmware.vim25.InvalidArgumentFault$Factory.parse(InvalidArgumentFault.java:332)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.vmware.vim25.ExtensionMapper.getTypeObject(ExtensionMapper.java:28)
at com.vmware.vim25.VimServiceStub.processFault(VimServiceStub.java:64)
at com.vmware.vim25.VimServiceStub.updateNetworkConfig(VimServiceStub.java:51385)
at com.vmware.vim25.mo.impl.HostNetworkSystemImpl.updateNetworkConfig(HostNetworkSystemImpl.java:37)
at com.vmware.sva.manager.config.NetworkConfigurator.configure(NetworkConfigurator.java:159)
at com.vmware.sva.manager.config.NetworkConfigurator.configureHostNetwork(NetworkConfigurator.java:114)
at com.vmware.sva.manager.service.SessionService.configureNetwork(SessionService.java:550)
at com.vmware.sva.manager.service.ReplaceNodeThread.run(ReplaceNodeThread.java:153)
2013-04-11 02:39:29,032 214 [ReplaceNodeThread] [Thread-6832] ERROR - Replace member node failed:
java.lang.IllegalStateException: Failed to complete network configuration for specified host: esx03.neopost.app A specified parameter was not correct.
at com.vmware.sva.manager.service.SessionService.configureNetwork(SessionService.java:587)
at com.vmware.sva.manager.service.ReplaceNodeThread.run(ReplaceNodeThread.java:153)
2013-04-11 02:39:29,032 299 [ReplaceNodeThread] [Thread-6832] INFO - Cleaning up configuration changes for replacing member node
2013-04-11 02:39:29,032 235 [Utils] [Thread-6832] INFO - Retrieve dev.property: network.config=true
2013-04-11 02:39:29,052 102 [PhysicalNetworkConfiguration] [Thread-6832] INFO - Initializing the current network configuration
2013-04-11 02:39:29,092 102 [PhysicalNetworkConfiguration] [Thread-6832] INFO - Initializing the current network configuration
2013-04-11 02:39:29,092 51 [PNICSelectorImpl] [Thread-6832] INFO - Getting NICs to use for switch vSwitch0
2013-04-11 02:39:30,742 342 [ReplaceNodeThread] [Thread-6832] ERROR - Error updating task in persistence.
SvaManagerException: Task's state is FAILED, but no exception logged.
at com.vmware.sva.manager.managers.PersistentJobManager.validateJob(PersistentJobManager.java:63)
at com.vmware.sva.manager.managers.PersistentJobManager.updateJob(PersistentJobManager.java:42)
at com.vmware.sva.manager.service.ReplaceNodeThread.sendAndUpdateTask(ReplaceNodeThread.java:340)
at com.vmware.sva.manager.service.ReplaceNodeThread.sendErrorEventToClient(ReplaceNodeThread.java:333)
at com.vmware.sva.manager.service.ReplaceNodeThread.run(ReplaceNodeThread.java:217)
2013-04-11 02:39:30,742 220 [ReplaceNodeThread] [Thread-6832] INFO - Deleting task from persistence Task: REPLACE_NODE DC Ref ID: datacenter-2 Concurrency Allowed: false Type: 13 %: 0 Level: ERROR
2013-04-11 02:39:30,742 1224 [PersistenceService] [Thread-6832] INFO - Deleting job: Task: REPLACE_NODE DC Ref ID: datacenter-2 Concurrency Allowed: false Type: 13 %: 0 Level: ERROR
2
The error A specified parameter was not correct. is not very hepful to fix the issue. Does anyone know how to investigate this issue ?
Is the replace appliance process possible with a brownfield installation ?
Thanks
Emmanuel