- expiry date
- expiry group
- guest OS scan group
- maintenance group
- power schedule group
- rightsizing group
Expiry groups and maintenance groups apply to VMs, virtual services, stacks, auto scaling groups, databases and load balancers. Other group types apply only to VMs.
This policy works in two ways:
- During a vCommander deployment (automated or manual), if vCommander finds a policy targeting the selected destination, it calculates the policy actions and combines them with the other metadata (inherited from the source template and supplied on the request form). During automated deployment, vCommander applies the combined values. During manual deployment, vCommander populates the wizard with the combined values.
- The policy is triggered when a new service is created directly in the managed system that is, outside of vCommander.
Creating this policy can help you reduce the administrative time required to set service metadata and ensures that services are always assigned to an owner who can manage them, and are always visible to organization members.
Any configuration of this policy on a system-wide basis can affect all managed systems that are managed by vCommander now and can affect all managed systems that are added to vCommander in the future. If you don't want all managed systems to be automatically affected by this policy, configure the policy by selected infrastructure elements only.
The Default Attributes policy assigns groups to templates, but policy actions aren't performed for templates.
Before configuring the Default Attributes policy, make sure you've created the groups you will assign through the policy. See the following for more information on creating groups:
- Managing the Service Lifecycle with the Expiry Policy
- Scanning a Guest Operating System
- Configuring Maintenance Windows
- Configuring VM Power Schedules
- Configuring Rules for VM Rightsizing
Configuration menu > Policies
vCommander Role of Superuser and Enterprise Admin
Administrator Access Rights
- On the Policies tab, click Add.
- On the Choose a Policy page, select Default Attributes from the list of policies, then click Next.
- On the Policy Name/Description page, enter a name (for example, "Default Attributes Policy for Production"), and an optional description, then click Next.
- On the Choose a Target page, from the Target View Type list, select Operational or Deployed, and in the tree select a target for the policies.
- If a service is deployed into a location where multiple policies target the Operational view and the Deployed view, the policy targeting the Operational view takes precedence.
- Any configuration of this policy on a system-wide basis can affect all managed systems that are managed by vCommander now and can affect all managed systems that are added to vCommander in the future. If you don't want all managed systems to be automatically affected by this policy, don't select Operational or Deployed as a target. Instead, select a managed system or any infrastructure elements within a managed system.
- On the Configure the Policy page, do the following, then click Next:
- If you want the policy to come into effect immediately after you finish configuring it, select Enable Policy.
- In the Take Action area, choose an option:
- Notify Only: If the policy is triggered, no action is taken. An alert is created, notifying you that the policy has triggered. See also Subscribing to Policy Alerts.
- Run [Workflow]: Existing command workflows appear for selection, organized by target type. If the policy is triggered, the selected workflow is run.
You must choose a workflow with a target type that matches the target of the policy; otherwise, the workflow will fail. For example, if the selected workflow's target type is "VM", the workflow will fail if the policy targets a database. A workflow with a target type of All Types can be run on all service types.
Click Add Workflow to set up a new command workflow.
- In the Expiry area, choose one of the following:
- If you want the service to expire in a given number of days after the service is added to the inventory, enable Set Expiry Date and enter the number of days from 1 to 9999.
- If you want the service to never expire, enable Never Expires.
- Enable or clear the last checkbox to set whether you want to allow children of the targets to have their own instance of the policy.
If you enable this option, other instances of this policy can be applied to any infrastructure elements and services that are children of the parent infrastructure element you've selected (an override).
You can choose one or more of the following group types.