Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets
Import policy sets
We can import predefined policy sets or import policy sets from a selected location .
Before you begin this task, review Application policy sets collection. The policy sets panel has an Import button to allow the import of policy sets. We can import a policy set from the default repository or from a selected location.
Procedure
- From the administrative console navigation, click Services > Policy sets > Application policy sets or Services > Policy sets > System policy sets. The policy sets collection page displays a listing of the custom and default policy sets. Custom policy sets are displayed only if we have created them. If we have not created a custom policy set, then only the default policy sets are displayed.
- From the Application policy sets panel, click Import.
- Choose the option for importing the policy set. We can choose to import a policy set from the default repository or from a selected location. Selecting Import from Default Repository accesses the next panel that displays a set of predefined default policy sets that are available for you to import. Some of the predefined policy sets have already been imported for you from the default repository. We can import additional predefined policy sets that are available in the predefined policy set repository.
Select Import from Selected Location to provide a path or browse your file system for a policy set file to import.
- To import a policy set from the default repository, select Import from Default Repository and perform task step 4.
- To import a policy set from a selected location, select Import from Selected Location and perform task step 7.
- Select Import from Default Repository and select either the Import or the Import a Copy radio button.
The behavior of Import policy set:
- Available for selection of one or more policy sets.
- Imports the default, not editable, policy set. You are returned to the Application policy sets panel after the import of the policy set.
- The imported policy set can be deleted, but it cannot be modified.
The behavior of Import a Copy for a policy set:
- Not available for multiple selection. If multiple policy sets are selected and the Import a Copy radio button is selected, an error message is displayed, indicating that only one policy set can be copied at a time.
- Prompts you for a name and description for the copy. You are returned to the Application policy sets panel after you import the policy set.
- The imported policy set can be modified or deleted.
- If you selected Import from the previous step, select one or more policy sets to import in the Name column.
- Click OK. You are returned to the Application policy set panel.
- Click Save, to save changes to the configuration.
- If you selected Import a Copy from step 4, select the policy set to import a copy in the Name column. We can only select one policy set in the Name column to import its copy.
- Provide a different name for the copy.
- Click OK. You are returned to the Application policy set panel.
- Click Save, to save changes to the configuration.
- Select Import from Selected Location.
- Specify the full path or browse for the policy set file in your file system.
- Select either Use current policy set name or Specify a different name to use for this policy set.
- Click OK. You are returned to the Application policy set panel.
- Click Save to save changes to the configuration.
Results
When you finish this task, we have been able to import a policy set using either the default repository or from a selected location.
Example
If we have a policy set, XYZ_ps and to import it from a selected location, perform the following steps:
- From the Application policy set panel, click Import.
- Select Import from Selected Location.
- Specify the full path or browse to where the XYZ_ps policy set file is located in your file system.
- Select either Use the current policy set name, XYZ_ps, or Specify a different name for the policy set.
- Click OK.
- Click Save, to save changes to the configuration.
What to do next
We can modify or use the policy set that you just imported.
Related
Import policy sets from default repository settings
Import policy sets from a selected location settings
Modify policy sets
Import and exporting policy sets to client or server environments using wsadmin.sh
Manage policy sets
Related
Application policy sets collection