When you add more than one (1) NIC to an existing guest VM, vCenter will update the IP address list in a last-in first-out (LIFO) pattern. Hence, when DSM queries vCenter, vCenter will provide the most recently-added IP address for each guest VM. If the IP address and the corresponding NIC card are not accessible from DSM or vCenter at that time, the corresponding guest VM status will be "Offline".
This issue has been fixed in DSM 9.5 Service Pack (SP) 1.
DSM now allows users to specify a preferred IP address for each guest VM through the "settings.configuration.preferredGuestVMIpAddress" parameter. DSM will always use this preferred IP address to connect to a guest VM with multiple IP addresses and NICs. This helps ensure that DSM can always connect to Deep Security Agent (DSA) even when the NIC changes as long as the specified IP address is correct.
After applying DSM 9.5 SP1, add or change the preferred IP address for a guest VM:
- Log on to DSM.
- Open a command prompt and navigate to C:\ProgramFiles\TrendMicro\Deep Security Manager.
- Run the following command in a single line:
To specify the preferred IP address for a VM:dsm_c.exe -action makesetting -name
settings.configuration.preferredGuestVMIpAddress
-computername AgentComputerHostNameHere
-value IpAddressYouwantHereTo change the preferred IP address for a VM:
dsm_c.exe -action changesetting -name
settings.configuration.preferredGuestVMIpAddress
-computername AgentComputerHostNameHere
-value IpAddressYouwantHereChange "AgentComputerHostNameHere" to the VM's computer name and "IpAddressYouwantHere" to the preferred IP address.
- Log on to DSM via SSH.
- Run the following command in a single line:
To specify the preferred IP address for a VM:/opt/dsm/dsm_c -action makesetting -name
settings.configuration.preferredGuestVMIpAddress
-computername AgentComputerHostNameHere
-value IpAddressYouwantHereTo change the preferred IP address for a VM:
/opt/dsm/dsm_c -action changesetting -name
settings.configuration.preferredGuestVMIpAddress
-computername AgentComputerHostNameHere
-value IpAddressYouwantHereChange "AgentComputerHostNameHere" to the VM's computer name and "IpAddressYouwantHere" to the preferred IP address.