Register Linux Physical Server
POST https://{{{cluster_vip}}/irisservices/api/v1/public/protectionSources/register
Registers the Linux physical server with the Cohesity cluster.
Ensure to provide the IP address (Linux_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"=>"{{Linux_Server_IP}}", "environment"=>"kPhysical", "physicalType"=>"kHost", "HostType"=>"kLinux"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
"{\n \"id\": 25263,\n \"name\": \"{{Linux_Server_IP}}\",\n \"environment\": \"kPhysical\",\n \"physicalProtectionSource\": {\n \"type\": \"kHost\",\n \"name\": \"{{Linux_Server_IP}}\",\n \"osName\": \"CentOS Linux release 8.5.2111\",\n \"id\": {\n \"id\": 25262,\n \"clusterId\": {{cluster_id}},\n \"clusterIncarnationId\": {{cluster_incarnationId}},\n },\n \"hostType\": \"kLinux\",\n \"hostName\": \"CentOS8-001\"\n }\n}"