Syntax:
java HostProfileManager
Input:
https://VCENTER_SERVER.vPod.local/sdk Administrator vmware1! esx-a.vpod.local esx-c.vpod.local HostSystem
Output:
Creating Host Profile
--------------------
Profile : hostprofile-2
Host : host-84
Associating Host Profile
------------------------
Associated hostprofile-2 with host-97
Finding Associated Profiles with Host
------------------------------------
Profiles
hostprofile-2
Updating Reference Host for the Profile
--------------------------------------
Updated Host Profile : hostprofile-2 Reference to host-97
Executing Profile Against Host
------------------------------
Status : success
Valid HostConfigSpec representing Configuration changes to be made on host
Config Tasks on the Host during HostProfile Application
-------------------------------------------------------
There are no configuration changes to be made
Checking Complaince of Entity against Profile
---------------------------------------------
Success : Task
Host : host-97
Profile : hostprofile-2
Compliance Status : compliant
Applying Configuration changes or HostProfile to Host
----------------------------------------------------
Putting Host in Maintenance Mode
Success : Task
Applying Profile to Host
Detach Host From Profile
------------------------
Detached Host : host-97 From Profile : hostprofile-2
Deleting Profile
---------------
Profile : hostprofile-2
Input:
https://10.20.140.47/sdk Administrator password 10.20.153.130 10.20.153.130 HostSystem
Output:
Creating Host Profile
--------------------
Profile : hostprofile-61
Host : host-83
Associating Host Profile
------------------------
Associated hostprofile-61 with host-83
Finding Associated Profiles with Host
------------------------------------
Profiles
hostprofile-61
Updating Reference Host for the Profile
--------------------------------------
Updated Host Profile : hostprofile-61 Reference to host-83
Executing Profile Against Host
------------------------------
Status : success
Valid HostConfigSpec representing Configuration changes to be made on host
Config Tasks on the Host during HostProfile Application
-------------------------------------------------------
There are no configuration changes to be made
Checking Host Complaince
------------------------
Success : Task
Host : host-83
Profile : hostprofile-61
Compliance Status : compliant
Applying Configuration changes or HostProfile to Host
----------------------------------------------------
Putting Host in Maintenance Mode
Success : Task
Applying Profile to Host
Success : Task
Detach Host From Profile
------------------------
Detached Host : host-83 From Profile : hostprofile-61
Deleting Profile
---------------
Profile : hostprofile-61
Input:
https://10.20.140.47/sdk Administrator password 10.17.204.27 dao ClusterComputeResource
Output:
Creating Host Profile
--------------------
Profile : hostprofile-67
Host : host-39
Associating Host Profile
------------------------
Associated hostprofile-67 with domain-c168
Finding Associated Profiles with Host
------------------------------------
Profiles
hostprofile-67
Checking Complaince of Entity against Profile
---------------------------------------------
Success : Task
Host : host-83
Profile : hostprofile-67
Compliance Status : nonCompliant
Compliance Failure Reason
DNS configuration doesn't match the specification
Service console IP route configuration doesn't match
Additional vSwitch(es) vSwitch1 found
Firewall blocking policy doesn't match the specified criteria
Ruleset 'faultTolerance' doesn't match the specification
Detach Host From Profile
------------------------
Detached Host : domain-c168 From Profile : hostprofile-67
Deleting Profile
---------------
Profile : hostprofile-67
Comments |
|
There are no comments on this document |