Hello, everyone!
This post will share with you the registration process in the Huawei FusionAccess solution.
Registering a VM with HDC:
After being started following the VM startup, MainService periodically registers with HDCs as follows:
1.Reads ListOfHDCs (if ListOfHDCsReal exists, reads its value) from the registry and resolves the IP addresses of HDCs using DNS.
2.Cyclically registers with the HDC IP addresses in sequence until the registration is successful.
3. Obtains its SID (the unique identifier of a VM) from AD.
4. Reports the registration request (carrying SID).
5. Parses the registration response. If the registration is successful, the registration cycle is stopped.
6. After the registration is successful, HDA periodically reports heartbeat messages to HDC. The heartbeat messages (after the registration) are the same as the registration information (before the registration).
7. After the registration is successful, the VM status on the Desktop page of the FusionAccess portal is Ready and the VM icon on WI becomes blue (the unregistered VM icon is grey).
8. The purpose of registration is to determine whether the VM is ready for connection. In addition, when you click the VM icon, WI determines whether to check the VM power status according to the VM registration status. If the VM is not registered, WI invokes FusionCompute to check the VM power status. If the VM is powered off, it will be powered on.
That's all, thanks!