Using Ipxfer
If user uses ipxfer tool to move target agent to new server, the tool will:
- Write new server information to corresponding registry keys in agent side.
- Stop the agent service.
- Unregister the agent information from original server.
- Start the agent service to register the agent information to a new server.
In general, when users use Ipxfer tool to move target agent from the original server to the new server, the target agent should be able to communicate with the original and new servers, regardless if the two servers can communicate with each other.
Move function
In move function, OSCE in the original server uses http/https protocol to check whether OSCE in the target server can be accessed or not. Therefore, OSCE on the original server is like a client or a general computer that communicates OSCE on the target server using http/https protocol. If the http access is successful, the two servers can communicate with each other.
Implementation details:
- OSCE on the original server can get the target server’s name (or IP address) and port from the web console.
- Use the IP address and port to generate a URL and http information.
- OSCE on the original server uses the URL and http information to access a specific CGI program of OSCE on the target server.
- For http access, if OSCE on the target server returns a successful signal to the OSCE in original server, the two servers are able to communicate with each other.
Based on the implementation described above, if the OSCE on the original server wants to communicate with OSCE on the target server, OSCE on original server needs to get the port opened for OSCE on the target server from the user.