Problem : Default maintenance policy is set to "reboot immediate" for the service profile . If we do any changes on the template and if that change requires server reboot , then we end up in rebooting all the server immediately because of this maintenance policy.
How to confirm the default maintenance policy for a template :
Navigate to UCS manager > Servers > Service profile templates > root > service profile template name
On the Right pane under properties click Maintenance policy and see what is exactly configured .
How to change the Maintenance policy :
Navigate to UCS manager > Servers > Policies > root > Maintenance Policies > default
on the right hand side , select the maintenance policy as User Ack and click save changes ( this option will ask for the confirmation to the user before rebooting the server)
Note : if this policy is attached to the service profile template and the service profile template is in updating mode then this will update on all service profile .
If you don't want to touch the default maintenance policy and you want to create a new policies for the each service profile template , you will be able to create that under service profile template console itself
Navigate to UCS manager > Servers > Service profile templates > root > service profile template name
click change maintenance policy on the right pane
click create maintenance policy
Provide the service policy name and description and select the reboot policy and click ok.
Drop down and select the new maintenance policy and click ok
Note: if you using updating template then all your service profile will get updated for this immediately
How to confirm the default maintenance policy for a template :
Navigate to UCS manager > Servers > Service profile templates > root > service profile template name
On the Right pane under properties click Maintenance policy and see what is exactly configured .
How to change the Maintenance policy :
Navigate to UCS manager > Servers > Policies > root > Maintenance Policies > default
on the right hand side , select the maintenance policy as User Ack and click save changes ( this option will ask for the confirmation to the user before rebooting the server)
Note : if this policy is attached to the service profile template and the service profile template is in updating mode then this will update on all service profile .
If you don't want to touch the default maintenance policy and you want to create a new policies for the each service profile template , you will be able to create that under service profile template console itself
Navigate to UCS manager > Servers > Service profile templates > root > service profile template name
click change maintenance policy on the right pane
click create maintenance policy
Provide the service policy name and description and select the reboot policy and click ok.
Drop down and select the new maintenance policy and click ok
Note: if you using updating template then all your service profile will get updated for this immediately
No comments:
Post a Comment