官术网_书友最值得收藏!

Using Host Profiles to push a new configuration change

The whole purpose of using Host Profiles is to effortlessly push the required configuration on to the ESXi hosts without the need for a manual configuration activity per ESXi host. This would not just come in handy when you deploy a new infrastructure but also when you want to push a new configuration to all the ESXi hosts.

The following flow chart shows a high— level overview of the whole procedure:

Using Host Profiles to push a new configuration change

How to do it…

The following procedure will guide you through all the steps that have to be performed on the vCenter server to push a new configuration change, using Host Profiles:

  1. Connect to the vCenter server managing the reference ESXi host and make the intended changes on the reference host. This can also be achieved by directly connecting to the ESXi host using the vSphere Web Client. However, since all the Host Profile activities are done using the vCenter server, I would suggest using it to avoid switching between the clients.
  2. Go to the vCenter Inventory Home tab and navigate to Rules and Profiles | Host Profiles.
  3. Select the Host Profile and click on the Copy settings from host icon to bring up the copy settings from host window containing a list of ESXi hosts to select from.
    How to do it…
  4. In the Copy settings from host window, select your reference host from the list and click on OK.
    How to do it…

    The Recent Tasks pane should show a Copy settings from host task in progress and eventually show an Update Host Profile task completed successfully.

  5. Click on the Host Profile and navigate to its Monitor | Compliance tab to list all the hosts attached to it. The hosts will appear as compliant if they have been already remediated to match the original Host Profile.
  6. Since we are pushing new changes, you will need to scan the hosts again for compliance. So, select the hosts and click on the Check Host Profile Compliance icon to run the compliance check.
    How to do it…
  7. Once the compliance check completes, it should show that the hosts are non-compliant since we are pushing a new change to the hosts.
    How to do it…
  8. Plan and choose the host(s) that you want to remediate and put them in maintenance mode by clicking on the Enter Maintenance Mode icon.
    How to do it…
  9. In the Confirm Maintenance Mode window, click on OK. The Recent Tasks pane should show an Enter Maintenance Mode task completed successfully.
  10. Once the host is in maintenance mode, use the Remediate host icon to start the remediation wizard.
    How to do it…
  11. In the Customize host section, modify any specific host only if necessary. This section is particularly useful when you are applying a newly deployed ESXi host. Otherwise, leave the values unchanged and click on Next to continue.
  12. In the Review Remediate Tasks section, click on the host name to expand the view to list all the changes that will be made to the host. Review them to make sure that those are changes you planned and click on Finish to begin the remediation.
  13. You should see an Apply host configuration and a Check compliance task completed successfully in the Recent Tasks pane. If all the changes were successful, then the host should be listed as compliant.
主站蜘蛛池模板: 宁德市| 老河口市| 龙胜| 武城县| 桐城市| 同德县| 城口县| 苗栗县| 黄冈市| 长岭县| 丰顺县| 罗源县| 萨嘎县| 河津市| 泌阳县| 斗六市| 安义县| 金溪县| 常山县| 宝丰县| 邛崃市| 南阳市| 新蔡县| 阿克苏市| 邵武市| 南漳县| 莲花县| 象山县| 夏津县| 梨树县| 香河县| 霍林郭勒市| 汉寿县| 贵德县| 江油市| 云和县| 新源县| 县级市| 沁阳市| 天台县| 若尔盖县|