
上QQ阅读APP看书,第一时间看更新
How to do it...
- From the Fabric menu, select Fabric Policies. From the Quick Start menu, select Create an NTP Policy:

- A new window will pop up, and here we'll give our new policy a name and (optional) description and enable it. We can also define any authentication keys, if the servers use them. Clicking on Next takes us to the next page, where we specify our NTP servers.

- Click on the plus sign on the right-hand side, and enter the IP address or Fully Qualified Domain Name (FQDN) of the NTP server(s):

- We can also select a management EPG, which is useful if the NTP servers are outside of our network. Then, click on OK.

- Click on Finish.

We can now see our custom policy under Pod Policies:

At the moment, though, we are not using it:

- Clicking on Show Usage at the bottom of the screen shows that no nodes or policies are using the policy.

- To use the policy, we must assign it to a pod, as we can see from the Quick Start menu:

- Clicking on the arrow in the circle will show us a handy video on how to do this. We need to go into the policy groups under Pod Policies and create a new policy:

- To create the policy, click on the Actions menu, and select Create Pod Policy Group.

- Name the new policy PoD-Policy. From here, we can attach our NTP-POLICY to the PoD-Policy. To attach the policy, click on the drop-down next to Date Time Policy, and select NTP-POLICY from the list of options:

We can see our new policy.

- We have not finished yet, as we still need to create a POD profile and assign the policy to the profile. The process is similar as before: we go to Profiles (under the Pod Policies menu), select Actions, and then Create Pod Profile:

- We give it a name and associate our policy to it.
