How Do I Activate My Windows Target Server After the Migration?
Symptom
After a Windows source server is migrated to an ECS on HUAWEI CLOUD, you need to reactivate the target server using the license server of HUAWEI CLOUD.
Prerequisites
You have configured the IP address of the DNS server of HUAWEI CLOUD.
Procedure
- On the target server, choose Start and enter cmd.
- Run the following command to register the server with the KMS server:
- Run the following command to check whether the server has been activated:
If error 0xC004F074 occurs, the server fails to be activated. In this event, go to 4.
- Identify the cause of the server activation failure.
- Check whether the private IP address of the server is correct.
- Run the following command to obtain the private IP address:
- Check whether this IP address is the same as the private IP address displayed on the management console.
- Run the following command to release the private IP address:
- Run the following command to assign an IP address to the server again:
- Run the following command to check whether the server has been activated:
- Verify that the system time in the server is the same as the standard time. If the time is significantly different, the server cannot be activated.
- Run the following command on the target server to check whether the link between the server and the activated server port is reachable:
On the ECS, test the link to the activated server port. If the link failed, perform the following operations:
- Verify that the internal server firewall and security software such as SafeDog are disabled, or that the data on TCP port 1688 can bypass the internal ECS firewall.
- Verify that the data on port 1688 can bypass the security group rule in the outbound direction.
The Windows client must periodically communicate with the KMS server over port 1688. Ensure this port is allowed in the server security group in the outbound direction. If the network communication is interrupted, the Windows client automatically enters the inactive state.
- Run the following command to check whether the server has been activated:
The system displays a message indicating that the server has been activated.
- Check whether the private IP address of the server is correct.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.