You must provide the input specifications for the server profile that will be used by VMware.

A server profile can be static or dynamic.

For a static server profile, VMware will use the static URL (HTTPS, HTTP, FTP) provided by you as the input specification. For a dynamic server profile, the input specification is retrieved by calling the Host Service APIs of the Cloud Provider.

The file must be located at /data/vcps/server_profile.json.

Static Server Profile

[
   {
      "profileId"     : "serverProfile1",
       "fetchHostType" : "static" ,
       "fetchDetails"  :{
           "bringupSpecPath"  : "http://10.176.7.53:8080/ci_images/ci_specs/bringup_spec.json",
           "addHostDetails":{
               "hostSpecPath" : "http://10.176.7.53:8080/ci_images/ci_specs/add_host_spec.json",
               "clusterName":"MGMT_CLU"
             },          
            "removeHostSpecPath" : "http://10.176.7.53:8080/ci_images/ci_specs/remove_host_spec.json",
             "addClusterSpecPath" : "http://10.176.7.53:8080/ci_images/ci_specs/add_cluster_spec.json",
              "removeClusterSpecPath" : "http://10.176.7.53:8080/ci_images/ci_specs/remove_cluster_spec.json",
              "nfsSpecPath":"http://10.176.7.53:8080/ci_images/ci_specs/nfs_spec.json",
              "rbacSpecPath":"http://10.176.7.53:8080/ci_images/ci_specs/rbac_spec.json"
            }
      },
    
 ]

server.registry File

The metadata for the server profile is maintained in the server.registry file.

{
 "profileStatus": {
   "serverProfile1": {
     "status": {
       "sha_path": "/data/vcps/CI-ENV-157/CI-ENV-157-SHA256SUM.txt",
       "BRINGUP-Nvalidation_report_path": "/data/vcps/CI-ENV-157/CI-ENV-157-serverProfile1-hhlealth-report-BRINGUP-N.json",
       "BRINGUP-N": "false",
       "validation_report_path": "/data/vcps/CI-ENV-157/CI-ENV-157-serverProfile1-hhlealth-report-STAGE_ADD_HOST.json",
       "STAGE_RBAC_SETUP": "false",
       "STAGE_ADD_HOST": "false"
     },
     "fetchDetails": {
       "bringupSpecPath": "/data/runtime/serverProfile1/bringup_current.json",
       "addHostDetails": {
         "hostSpecPath": "/data/runtime/serverProfile1/esx-spec_addhost.json",
         "clusterName": "MGMT_CLU"
       },
       "removeHostSpecPath": "/data/runtime/serverProfile1/esx-spec_addhost.json",
       "addClusterSpecPath": "/data/runtime/serverProfile1/esx-spec_addhost.json",
       "removeClusterSpecPath": "/data/runtime/serverProfile1/esx-spec_addhost.json",
       "nfsSpecPath": "/data/runtime/serverProfile1/esx-spec_addhost.json"
     }
   }
 },
 "availableServerProfiles": [
   "serverProfile1"
 ],
 "activeServerProfile": "serverProfile1"
}