Register Windows Physical Server

POST https://{{cluster_1-ip}}/irisservices/api/v1/public/protectionSources/register

Registers the Windows physical server with the Cohesity cluster.

  • Ensure to provide the IP address (Windows_Server_IP) of the Windows physical server in the request body of the API.

  • The source ID from the response is required to create the Protection Group for protecting your physical server.

Request Body

{"endpoint"=>"{{Windows_Server_IP}}", "environment"=>"kPhysical", "physicalType"=>"kHost", "HostType"=>"kWindows"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

"{\n    \"id\": 25269,\n    \"name\": \"{{Windows_Server_IP}}\",\n    \"environment\": \"kPhysical\",\n    \"physicalProtectionSource\": {\n        \"type\": \"kHost\",\n        \"name\": \"{{Windows_Server_Name}}\",\n        \"osName\": \"Windows Server 2016 Standard\",\n        \"id\": {\n            \"id\": 25268,\n            \"clusterId\": {{cluster_id}},\n            \"clusterIncarnationId\": {{incarnation_id}}\n        },\n        \"hostType\": \"kWindows\",\n        \"networkingInfo\": {\n            \"resourceVec\": [\n                {\n                    \"type\": \"kServer\",\n                    \"endpoints\": [\n                        {\n                            \"ipv4Addr\": \"{{Windows_Server_IPV4}}\"\n                        },\n                        {\n                            \"ipv6Addr\": \"{{Windows_Server_IPV6}}\"\n                        },\n                        {\n                            \"ipv6Addr\": \"{{Windows_Server_IPV6}}\"\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"