Module for the Solaris Zones adapter
Each operation supported by the application adapter has a corresponding process in the adapter module. Top-level processes perform high-level functions and call specialized processes in subdirectories of the version directory. Each subdirectory contains process directories that correspond to the operation type for that operation.
Top-level processes
The top-level processes perform high-level functions and call specialized processes in the subdirectories of the version 10.4 directory.
The top-level processes in the Project Explorer window execute the following Solaris Zones processes:
- Create Items
- Find Items
- Perform Operations
- Update Items
The top-level processes use the following inputs:
- Adapter name: This optional element specifies the name of the adapter that handles the adapter request. The default adapter name is SolarisZoneActorAdapter.
- Zone name: This required element specifies the Zone name on which the adapter operation is performed.
- Items: This optional element contains the Items XML used to perform an operation in Solaris Zones.
- Item type: This required element specifies the relevant item type for the process to be executed.
- Version: This required element specifies the version of the Solaris OS. Solaris 10.4 or later are supported.
- Connection parameters: This optional element contains the XML specifying the connection data for the adapter to connect to the target.
- Operation timeout: This optional element specifies the time, in seconds, to wait for an operation to execute on the Solaris server. If the operation is not successful within the specified interval, the adapter returns an error message. The default value for this element is 300 seconds.
SetupValidation directory
The processes in the SetupValidation directory contain sample values for the request elements. You can quickly change these sample values to reflect the values in your environment. A process is provided to test each supported method of executing operations in Solaris Zones.
Utilities directory
The functional processes require complex XML inputs. You can generate these complex XML inputs by using the constructor processes in the Utilities directory.
Version directory
The v10.4 directory contains functional processes specific to Solaris Zones. A process is available for each supported operation. Processes are grouped in subdirectories based on the type of the operation.
The following table shows the mapping between wrapper processes and operation names.
Mapping between wrapper processes and operation names
Wrapper name | Operation name |
|---|---|
Basic Zone operations | |
Boot Zone | Boot_Zone |
Reboot Zone | Reboot_Zone |
Install Zone | Install_Zone |
Uninstall Zone | Uninstall_Zone |
Halt Zone | Halt_Zone |
Ready Zone | Ready_Zone |
Advanced Zone operations | |
Move Zone | Move_Zone |
Configure Zone operations | |
Create Zone | Create_Zone |
Create Zone With Custom Settings | Create_Zone_With_Custom_Settings |
Create Zone From Template | Create_Zone_From_Template |
Clone Zone | Clone_Zone |
Delete Zone | Delete_Zone |
Retrieve Zone Configuration | Retrieve_Zone_Configuration |
Update Zone Configuration | Update_Zone_Configuration |