null
The iMC virtual machine migrated, causing the license to become invalid, and the tips in the login page is licenser error ,code 50904.
There are two cases in which the iMC virtual machine migrates. The first case is that it no longer migrates after migrating to another host. The second case is that it migrates to another host and then migrates to the original host (the host with the registered license). .
In the first case, if the iMC server including the monitoring agent process does not restart after migrating, then the iMC is in an authorized state and can be used normally, and the license error note will disappear. If a process restart occurs (at least jserver restarts), the license will become invalid. The reason is that the host information has changed. The log generally contains the following records.
2017-02-28 10:06:11 [ERROR] [http-nio-8080-exec-9] [com.imc.license.client.view.ClientControlBean::registerAfterCheck]
com.imc.license.LicenseError[50904] 硬盘序列号不匹配。
at com.imc.license.tools.LicenseValidatorChecker.checkLicenseValidationWithHardwareInfomation(LicenseValidatorChecker.java:279)
at com.imc.license.tools.LicenseEntityConvertor.checkLicenseEntityValid(LicenseEntityConvertor.java:528)
There are two solutions for this situation:
A: After collecting the hardware information of the new and old hosts, try to contact h3c engineers to start host change process;
B: Migrate the iMC server back to the original host and restart all iMC processes.
For the first case,you need rebind the host information to get new hostid.
After entering ${iMC}\deploy directory by running the cmd window with administrator privileges, enter pwdmgr –changevmcfg (take windows as an example, you need to execute sh pwdmgr.sh -changeVmCfg under Linux operating system) command and press Enter to confirm the system The following window interface will automatically open.
For the second case, that is, the virtual machine has drifted back to the original host, if the iMC is not restarted during the entire drift process, the license is valid and does not need to be re-registered. If the license becomes invalid after drifting back, you need to restart the iMC server process. After the restart, it will return to normal under normal circumstances.