dpManagerCommands
Use dpManagerCommands with wsadmin to administer the DataPower appliance manager.
The first time you use DataPower appliance manager, there are no...
- appliances
- managed sets
- firmware versions
You must create them.
Before beginning, verify that each appliance to manage has a 3.6.0.4 or higher level of firmware.
Additionally, verify the Appliance Management Protocol (AMP) endpoint is enabled for each appliance. If the XML Management interface AMP endpoint was disabled during installation, use the DataPower WebGUI to enable. The DataPower Web GUI is different from the DataPower appliance manager in the admin console.
To administer the DataPower appliance manager:
To administer appliances:
- dpAddAppliance
- dpGetAllApplianceIds
- dpGetAllMSApplianceIds
- dpGetAppliance
- dpManageAppliance
- dpRemoveAppliance
- dpSetAppliance
- dpUnmanageAppliance
To administer managed sets:
- dpAddManagedSet
- dpGetAllManagedSetIds
- dpGetManagedSet
- dpRemoveManagedSet
- dpSetManagedSet
- dpSynchManagedSet
To administer firmware:
- dpAddFirmwareVersion
- dpGetAllFirmwareIds
- dpGetAllFirmwareVersionIds
- dpGetAllMSIdsUsingFirmwareVersion
- dpGetBestFirmware
- dpGetFirmware
- dpGetFirmwareVersion
- dpRemoveFirmwareVersion
- dpSetFirmwareVersion
To administer domains and domain versions:
- dpCopyMSDomainVersion
- dpGetAllDomainNames
- dpGetAllMSDomainIds
- dpGetAllMSDomainVersionIds
- dpGetMSDomain
- dpGetMSDomainVersion
- dpManageDomain
- dpRemoveMSDomainVersion
- dpSetMSDomain
- dpSetMSDomainVersion
- dpUnmanageDomain
To administer settings and settings versions:
- dpCopyMSSettingsVersion
- dpGetAllMSSettingsVersionIds
- dpGetMSSettings
- dpGetMSSettingsVersion
- dpRemoveMSSettingsVersion
- dpSetMSSettings
- dpSetMSSettingsVersion
To manage tasks:
dpExport
The dpExport command exports the DataPower appliance manager configuration and versions.
Target object
None.
Required parameters
- -file
- Local system file to which the DataPower appliance manager exports the configuration and versions. (String, required)
Return value
ID of the task that the system creates.
Batch mode...
- Jython string:
(Windows)
AdminTask.dpExport('-file c:/temp/DPManager.export_doc')[AIX] [Solaris][Linux] [HP-UX]
AdminTask.dpExport('-file /temp/DPManager.export')- Jython list:
(Windows)
AdminTask.dpExport(['-file', 'C:/temp/DPManager.export'])[AIX] [Solaris][Linux] [HP-UX]
AdminTask.dpExport(['-file', '/temp/DPManager.export'])
Interactive mode...
- Jython...
AdminTask.dpExport('-interactive')
dpGetManager
Display the properties of the DataPower appliance manager.
Target object
None.
Return value
Properties object that contains the current settings of the DataPower appliance manager.
Batch mode...
- Jython string and list:
AdminTask.dpGetManager()
dpGetManagerStatus
Display the status of the DataPower appliance manager.
Target object
None.
Return value
Description of the DataPower appliance manager status.
Batch mode...
- Jython string and list:
AdminTask.dpGetManagerStatus()
dpImport
Import the DataPower appliance manager configuration and versions. The command replaces the existing configuration and versions with the imported configuration and versions.
Target object
None.
Required parameters
- -file
- DataPower appliance manager system file that contains the configuration and versions to import. (String, required)
Return value
The command does not return output.
Batch mode...
- Jython string:
(Windows)
AdminTask.dpImport('-file c:/temp/DPManager.import')[AIX] [Solaris][Linux] [HP-UX]
AdminTask.dpImport('-file /temp/DPManager.import')- Jython list:
(Windows)
AdminTask.dpImport(['-file', 'C:/temp/DPManager.export'])[AIX] [Solaris][Linux] [HP-UX]
AdminTask.dpImport(['-file', '/temp/DPManager.export'])
Interactive mode...
- Jython...
AdminTask.dpImport('-interactive')
dpSetManager
Modify the DataPower appliance manager configuration.
Target object
None.
Optional parameters
- -maxVersionsToStore
- New maximum number of versions to keep. (Integer, optional)
- -versionsDirectory
- DataPower appliance manager system directory where the manager creates the versions. The command moves the existing versions from the current versions directory to the new versions directory. (String, optional)
Return value
If we specify a value for the versionsDirectory parameter, the command returns the ID of the task that the command creates.
Batch mode...
- Jython string:
AdminTask.dpSetManager('-maxVersionsToStore 20 -versionsDirectory newDir')- Jython list:
AdminTask.dpSetManager(['-maxVersionsToStore', '20', '-versionsDirectory', 'newDir'])
Interactive mode...
- Jython...
AdminTask.dpSetManager('-interactive')
dpStopManager
Stop the DataPower appliance manager. The manager automatically restarts the next time the DataPower appliance manager is used.
Target object
None.
Return value
The command does not return output.
Batch mode...
- Jython string and list:
AdminTask.dpStopManager()
dpAddAppliance
Add an appliance to the DataPower appliance manager.
Target object
None.
Required parameters
- -hostname
- Host name or IP address of the appliance. (String, required)
- -hlmPort
- Port number that the DataPower appliance manager uses to communicate to the appliance. The default value is 5550. (Integer, required)
- -name
- Unique name of the appliance in the DataPower appliance manager. Do not specify the following characters within the name parameter: \\/,#$@:;\"*?<>|=+&%' (String, required)
- -userId
- User ID that the DataPower appliance manager uses to access the appliance. (String, required)
- -password
- Base-64 encoded password that the DataPower appliance manager uses to access the appliance. (String, required)
Return value
The ID of the task that the system creates. When the task ends, the value of the result attribute in the task contains the ID of the new appliance.
Batch mode...
- Jython string:
AdminTask.dpAddAppliance('[-hostname myappliance.ibm.com –name myappliance -userId admin -password mypassword]')- Jython list:
AdminTask.dpAddAppliance(['-hostname', 'myappliance.ibm.com', '–name', 'myappliance', '-userId', ' admin', '-password', 'mypassword'])
Interactive mode...
- Jython...
AdminTask.dpAddAppliance('-interactive')
dpGetAllApplianceIds
Display the ID of each DataPower appliance manager appliance.
Target object
None.
Return value
String array that contains each appliance ID in the configuration. For appliances, the ID is the serial number of the DataPower appliance.
Batch mode...
- Jython string and list:
AdminTask.dpGetAllApplianceIds()
dpGetAllMSApplianceIds
Display the IDs of each appliance in a DataPower appliance manager managed set.
Target object
None.
Required parameters
- -managedSetId
- ID of the managed set of interest. (String, required)
Return value
String array that contains the IDs of the appliances in the managed set of interest.
Batch mode...
- Jython string:
AdminTask.dpGetAllMSApplianceIds('[-managedSetId myManagedSet]')- Jython list:
AdminTask.dpGetAllMSApplianceIds(['-managedSetId', 'myManagedSet'])
Interactive mode...
- Jython...
AdminTask.dpGetAllMSApplianceIds('-interactive')
dpGetAppliance
Display a specific DataPower appliance manager appliance.
Target object
None.
Required parameters
- -applianceId
- ID of the appliance in the DataPower appliance manager to display. (String, required)
Return value
Properties object that contains the attributes of the appliance of interest, as the following sample output displays:
[[userId admin] [applianceType XI50] [serialNumber [00605 20356]] [firmwareManagementStatus ManagementStatus.synced] [actualFirmwareLevel 3.6.1.0] [rollupOperationalStatus OperationalStatus.unknown] [hostname dp3.dyn.webahead.ibm.com] [settingsManagementStatus ManagementStatus.synced] [rollupManagementStatus ManagementStatus.synced] [applianceId [00605 20356]] [guiPort 8080] [modelType 9002] [isManaged true] [managedSetId jgMS1] [featureLicenses [MQ, TAM, DataGlue, JAXP-API, PKCS7-SMIME, WebSphere-JMS]] [hlmPort 5550] [isMaster true] [name dp3] ]
Attribute | Description |
---|---|
applianceId | ID of the appliance of interest. |
managedSetId | ID of the managed set for which the appliance is a member. If the appliance is not managed, the command does not return this attribute. |
actualFirmwareLevel | Level of the firmware of the appliance. |
featureLicenses | Displays a list of feature entitlements for the appliance such as MQ, TAM, and so on. |
guiPort | Appliance port for the DataPower WebGUI interface. |
hlmPort | Port number for communication between the DataPower appliance manager and the appliance. |
hostname | Host name or internet protocol (IP) address of the appliance. |
isManaged | True if the DataPower appliance manager manages the appliance. |
isMaster | True if the appliance is the master appliance in the managed set. Is not displayed if the appliance is not managed by the DataPower appliance manager. |
modelType | Model type of the appliance. |
applianceType | Appliance type. |
settingsManagementStatus | Management status of the settings on the appliance. This attribute is also referred to as the synchronization status on the DataPower WebGUI. |
firmwareManagementStatus | Management status of the firmware on the appliance. This attribute is also referred to as the synchronization status on the DataPower WebGUI. |
domainManagementStatus | Management status of a specific domain on the appliance. This attribute is also referred to as the synchronization status on the DataPower WebGUI. |
domainOperationalStatus | Operational status of a specific domain on the appliance. |
rollupManagementStatus | Aggregated management status of the firmware, settings, and domains on the appliance. This attribute is also referred to as the synchronization status on the DataPower WebGUI. |
rollupOperationalStatus | Aggregated operational status of the firmware, settings, and domains on the appliance. |
serialNumber | Serial number of the appliance of interest. |
name | Name of the appliance in the DataPower appliance manager. |
userId | User ID that the DataPower appliance manager uses to access the appliance. |
Batch mode...
AdminTask.dpGetAppliance('-applianceId "00605 20356"')
AdminTask.dpGetAppliance(['-applianceId', '00605 20356'])
Interactive mode...
AdminTask.dpGetAppliance('-interactive')
Add the appliance to a managed set and start managing the appliance.
Target object
None.
Required parameters
Optional parameters
Return value
ID of the task that the command creates. When the task completes, the value of the result attribute is the ID of the appliance.
Batch mode...
AdminTask.dpManageAppliance('-managedSetId testMS1 -applianceId "00605 20351"')
AdminTask.dpManageAppliance(['-managedSetId', 'testMS1', '-applianceId', '00605 20351'])
Interactive mode...
AdminTask.dpManageAppliance('-interactive')
Remove an appliance from the DataPower appliance manager. Also, the command removes the appliance from a managed set, if it is a member. We cannot remove an appliance that is a master in a managed set. Select a different appliance as the master before removing a master appliance.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpRemoveAppliance('[-applianceId "00605 20356"]')
AdminTask.dpRemoveAppliance(['-applianceId', '00605 20356'])
Interactive mode...
AdminTask.dpRemoveAppliance('-interactive')
Modify the DataPower appliance manager configuration for an appliance.
Target object
None.
Required parameters
Optional parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpSetAppliance('[-applianceId "00605 20356" -hostname myappliance2.ibm.com -name myappliance2 -hlmPort 4500 -userId admin2 -password myPassword]')
AdminTask.dpSetAppliance(['-applianceId', '00605 20356', '-hostname', 'myappliance2.ibm.com', '-name', 'myappliance2', '-hlmPort', '4500', '-userId', 'admin2', '-password', 'myPassword'])
Interactive mode...
AdminTask.dpSetAppliance('-interactive')
Remove the appliance of interest from its managed set. The appliance is no longer managed, but remains defined to the manager.
Target object
None.
Required parameters
Return value
The command returns the task that the command creates.
Batch mode...
AdminTask.dpUnmanageAppliance('[-managedSetId testMS1 -applianceId "00605 20351"]')
AdminTask.dpUnmanageAppliance(['-managedSetId', 'testMS1', '-applianceId "00605 20351"'])
Interactive mode...
AdminTask.dpUnmanageAppliance('-interactive')
Adds a managed set to the DataPower appliance manager.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpAddManagedSet('-name testMS')
AdminTask.dpAddManagedSet(['-name testMS'])
Interactive mode...
AdminTask.dpAddManagedSet('-interactive')
Display the IDs of each DataPower appliance manager managed set.
Target object
None.
Return value
String array that contains each managed set ID.
Batch mode...
AdminTask.dpGetAllManagedSetIds()
Display information for a specific DataPower appliance manager managed set.
Target object
None.
Required parameters
Return value
Properties object that contains the attributes for the managed set.
Attribute | Description |
---|---|
managedSetId | ID of the managed set. |
masterApplianceId | ID of the master appliance of the managed set. |
desiredFirmwareVersionId | ID of the firmware version to use for the managed set. |
name | Name associated with the managed set. |
rollupOperationalStatus | Operational status of the managed set. |
rollupManagementStatus | Management status of the managed set. |
settingsId | ID of the settings for the managed set. |
Batch mode...
AdminTask.dpGetManagedSet('-managedSetId testMS1')
AdminTask.dpGetManagedSet(['-managedSetId', 'testMS1'])
Interactive mode...
AdminTask.dpGetManagedSet('-interactive')
Remove a managed set from the DataPower appliance manager.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpRemoveManagedSet('-managedSetId testMS')
AdminTask.dpRemoveManagedSet(['-managedSetId', 'testMS'])
Interactive mode...
AdminTask.dpRemoveManagedSet('-interactive')
Modify a DataPower appliance manager managed set.
Target object
None.
Required parameters
Optional parameters
Return value
ID of the task that the command creates.
Batch mode...
AdminTask.dpSetManagedSet('-managedSetId myManagedSet -masterApplianceId "00605 20356"')
AdminTask.dpSetManagedSet(['-managedSetId', 'myManagedSet', '-masterApplianceId', '"00605 20356"'])
Interactive mode...
AdminTask.dpSetManagedSet('-interactive')
Manually synchronizes a DataPower appliance manager managed set. The manager automatically attempts to synchronize the member devices.
Target object
None.
Required parameters
Return value
ID of the task that the command creates.
Batch mode...
AdminTask.dpSynchManagedSet('-managedSetId myManagedSet')
AdminTask.dpSynchManagedSet(['-managedSetId', 'myManagedSet'])
Interactive mode...
AdminTask.dpSynchManagedSet('-interactive')
Add a firmware version to the DataPower appliance manager.
Target object
None.
Required parameters
Optional parameters
Return value
ID of the task that the command creates. When the task ends, the value of the result attribute displays the ID of the new firmware version.
Batch mode...
(Windows)
AdminTask.dpAddFirmwareVersion('[-file "C:/temp/dptestFW/dev-xs-143863-3_6_0_15.scrypt2" -userComment "my new firmware"]')[AIX] [Solaris]
[Linux] [HP-UX]
AdminTask.dpAddFirmwareVersion('[-file "/temp/dptestFW/dev-xs-143863-3_6_0_15.scrypt2" -userComment "my new firmware"]')
(Windows)
AdminTask.dpAddFirmwareVersion(['-file', '"C:/temp/dptestFW/dev-xs-143863-3_6_0_15.scrypt2"', '-userComment', '"my new firmware"'])[AIX] [Solaris]
[Linux] [HP-UX]
AdminTask.dpAddFirmwareVersion(['-file', '"/temp/dptestFW/dev-xs-143863-3_6_0_15.scrypt2"', '-userComment', '"my new firmware"'])
Interactive mode...
AdminTask.dpAddFirmwareVersion('-interactive')
Display the IDs of each DataPower appliance manager firmware in the configuration.
Target object
None.
Return value
String array for each firmware ID in the DataPower appliance manager configuration.
Batch mode...
AdminTask.dpGetAllFirmwareIds()
Display the IDs of each DataPower appliance manager firmware version. A firmware version represents a firmware image you can deploy to a DataPower appliance.
Target object
None.
Required parameters
Return value
String array that contains each firmware version in the configuration.
Batch mode...
AdminTask.dpGetAllFirmwareVersionIds('-firmwareId "XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;"')
AdminTask.dpGetAllFirmwareVersionIds(['-firmwareId', 'XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;'])
Interactive mode...
AdminTask.dpGetAllFirmwareVersionIds('-interactive')
Display the IDs of the managed sets that use a firmware version.
Target object
None.
Required parameters
Return value
String array that contains the IDs of the managed sets that use the firmware version of interest.
Batch mode...
AdminTask.dpGetAllMSIdsUsingFirmwareVersion('-firmwareVersionId "XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15"')
AdminTask.dpGetAllMSIdsUsingFirmwareVersion(['-firmwareVersionId', 'XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15'])
Interactive mode...
AdminTask.dpGetAllMSIdsUsingFirmwareVersion('-interactive')
Display the firmware in the DataPower appliance manager that best matches the parameters. The firmware in the DataPower appliance manager contains one or more firmware versions that represent different versions of the firmware. This command does not identify the optimal firmware release from DataPower.
The command identifies the firmware version that matches the appliance.
Target object
None.
Required parameters
Optional parameters
Return value
Properties object that contains the attributes of the firmware.
Attribute | Description |
---|---|
firmwareId | Firmware ID. |
applianceType | Appliance type for which the firmware is used. |
modelType | Model type of the firmware. |
strictFeatures | Strict features for which the firmware is used. |
nonStrictFeatures | Non strict features for which the firmware is used. |
Batch mode...
AdminTask.dpGetBestFirmware('-applianceType "XS40" -modelType "9002" -applianceFeatures "JAXP-API" -level "3.6.0.4"')
AdminTask.dpGetBestFirmware(['-applianceType', 'XS40', '-modelType', '9002', '-applianceFeatures', 'JAXP-API', '-level', '3.6.0.4'])
Interactive mode...
AdminTask.dpGetBestFirmware('-interactive')
Display attributes for a specific DataPower appliance manager firmware.
Target object
None.
Required parameters
Return value
Properties object that contains the attributes of the firmware of interest.
Attribute | Description |
---|---|
firmwareId | Firmware ID. |
applianceType | Appliance type for which the firmware is used. |
modelType | Model type of the firmware. |
strictFeatures | Strict features for which the firmware is used. |
nonStrictFeatures | Non strict features for which the firmware is used. |
Batch mode...
AdminTask.dpGetFirmware('-firmwareId "XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;"')
AdminTask.dpGetFirmware(['-firmwareId', 'XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;'])
Interactive mode...
AdminTask.dpGetFirmware('-interactive')
Display a specific DataPower appliance manager firmware version. A firmware version represents a firmware image that we can deploy to a DataPower appliance.
Target object
None.
Required parameters
Return value
Properties object that contains the attributes of the firmware version.
Attribute | Description |
---|---|
firmwareVersionId | ID of the firmware version. |
firmareId | ID of the firmware that contains the firmware version. |
level | Level of the firmware. |
manufactureDate | Date that the firmware was manufactured. |
timestamp | Date that the firmware image was loaded to the DataPower appliance manager. |
userComment | Comment stored with the firmware version. |
isInUse | Displays whether a managed set uses the firmware version. |
Batch mode...
AdminTask.dpGetFirmwareVersion('-firmwareVersionId "XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15"')
AdminTask.dpGetFirmwareVersion(['-firmwareVersionId', 'XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15'])
Interactive mode...
AdminTask.dpGetFirmwareVersion('-interactive')
Remove a firmware version from the DataPower appliance manager. The firmware that the system associates with the firmware version remains. Verify that a managed set is not currently using the firmware version to remove before you run this command.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpRemoveFirmwareVersion('-firmwareVersionId "XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15"')
AdminTask.dpRemoveFirmwareVersion(['-firmwareVersionId', 'XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15'])
Interactive mode...
AdminTask.dpRemoveFirmwareVersion('-interactive')
Modify a DataPower appliance manager firmware version.
Target object
None.
Required parameters
Optional parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpSetFirmwareVersion('-firmwareVersionId "XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15" -userComment "new user comment"')
AdminTask.dpSetFirmwareVersion(['-firmwareVersionId', 'XS40:9002::DataGlue;JAXP-API;PKCS7-SMIME;HSM;:3.6.0.15', '-userComment', 'new user comment'])
Interactive mode...
AdminTask.dpSetFirmwareVersion('-interactive')
Copy a DataPower appliance manager managed domain version to a new managed set.
Target object
None.
Required parameters
Return value
ID of the task that the command creates.
Batch mode...
AdminTask.dpCopyMSDomainVersion('[-managedSetId myManagedSet -msDomainVersionId "myManagedSet:default:1"]')
AdminTask.dpCopyMSDomainVersion(['-managedSetId', 'myManagedSet', '-msDomainVersionId', 'myManagedSet:default:1'])
Interactive mode...
AdminTask.dpCopyMSDomainVersion('-interactive')
Display the names of each of the domains on a DataPower appliance.
Target object
None.
Required parameters
Optional parameters
Return value
The command returns a string array of the names of the domains in the appliance.
Batch mode...
AdminTask.dpGetAllDomainNames('[-applianceId "00605 20356" -managed -unmanaged]')
AdminTask.dpGetAllDomainNames(['-applianceId', '00605 20356', '-managed', '-unmanaged'])
Interactive mode...
AdminTask.dpGetAllDomainNames('-interactive')
Display the IDs of each domain in a DataPower appliance manager managed set.
Target object
None.
Required parameters
Return value
String array that contains the IDs of the domains in the managed set.
Batch mode...
AdminTask.dpGetAllMSDomainIds('[-managedSetId myManagedSet]')
AdminTask.dpGetAllMSDomainIds(['-managedSetId', 'myManagedSet'])
Interactive mode...
AdminTask.dpGetAllMSDomainIds('-interactive')
Display the ID of each domain version for a domain in a DataPower appliance manager managed set.
Target object
None.
Required parameters
Return value
ID for each domain version that exists for the managed set domain.
Batch mode...
AdminTask.dpGetAllMSDomainVersionIds('[-msDomainId ms1:domain1]')
AdminTask.dpGetAllMSDomainVersionIds(['-msDomainId', 'ms1:domain1'])
Interactive mode...
AdminTask.dpGetAllMSDomainVersionIds('-interactive')
Display a domain in a DataPower appliance manager managed set.
Target object
None.
Required parameters
Return value
Properties object that contains the attributes for the managed set domain of interest.
Attribute | Description |
---|---|
msDomainId | ID of the domain. |
managedSetId | ID of the managed set to which the domain belongs. |
name | Name of the domain. |
desiredDomainVersionId | ID of the domain version that the managed set uses for the domain. |
Batch mode...
AdminTask.dpGetMSDomain('[-msDomainId ms1:domain1]')
AdminTask.dpGetMSDomain(['-msDomainId', 'ms1:domain1'])
Interactive mode...
AdminTask.dpGetMSDomain('-interactive')
Display a DataPower appliance manager managed domain version.
Target object
None.
Required parameters
Return value
Properties object that contains the attributes of the managed set domain version of interest.
Attribute | Description |
---|---|
msDomainVersionId | ID of the managed domain version. |
msDomainId | ID of the managed domain. |
versionNumber | Version number. |
timestamp | Date that the system created the copy. |
userComment | Comment that is stored with the managed set domain version. |
isInUse | Displays whether the managed set uses the domain version for the domain. |
Batch mode...
AdminTask.dpGetMSDomainVersion('[-msDomainVersionId ms1:domain1:1]')
AdminTask.dpGetMSDomainVersion(['-msDomainVersionId', 'ms1:domain1:1'])
Interactive mode...
AdminTask.dpGetMSDomainVersion('-interactive')
Add the domain to a managed set, and start managing the domain.
Target object
None.
Required parameters
Return value
ID of the task that the command creates. When the task completes, the value of the result attribute contains the ID of the new domain.
Batch mode...
AdminTask.dpManageDomain('[-managedSetId testMS1 -domain default]')
AdminTask.dpManageDomain(['-managedSetId', 'testMS1', '-domain', 'default'])
Interactive mode...
AdminTask.dpManageDomain('-interactive')
Remove a managed domain version from the DataPower appliance manager.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpRemoveMSDomainVersion('[-msDomainVersionId ms1:domain1:1]')
AdminTask.dpRemoveMSDomainVersion(['-msDomainVersionId', 'ms1:domain1:1'])
Interactive mode...
AdminTask.dpRemoveMSDomainVersion('-interactive')
Modify a DataPower appliance manager managed domain.
Target object
None.
Required parameters
Optional parameters
Return value
ID of the task that the command creates.
Batch mode...
AdminTask.dpSetMSDomain('[-msDomainId ms1:domain1 -desiredDomainVersionId ms1:domain1:1]')
AdminTask.dpSetMSDomain(['-msDomainId', 'ms1:domain1', '-desiredDomainVersionId', 'ms1:domain1:1'])
Interactive mode...
AdminTask.dpSetMSDomain('-interactive')
Modify a DataPower appliance manager managed domain version.
Target object
None.
Required parameters
Optional parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpSetMSDomainVersion('[-msDomainVersionId ms1:domain1:2 -userComment "New WebService proxy for banking application"]')
AdminTask.dpSetMSDomainVersion(['-msDomainVersionId', 'ms1:domain1:2', '-userComment', 'New Web Service proxy for banking application'])
Interactive mode...
AdminTask.dpSetMSDomainVersion('-interactive')
Remove the domain from a managed set, and stop managing the domain.
Target object
None.
Required parameters
Optional parameters
Return value
If we specify the clean parameter, the command returns the ID of the task that the system creates.
Batch mode...
AdminTask.dpUnmanageDomain('-msDomainId testMS1:default -clean')
AdminTask.dpUnmanageDomain(['-msDomainId', 'testMS1:default', '-clean'])
Interactive mode...
AdminTask.dpUnmanageDomain('-interactive')
Copy a DataPower appliance manager managed settings version to a new managed set.
Target object
None.
Required parameters
Return value
ID of the task that the command creates.
Batch mode...
AdminTask.dpCopyMSSettingsVersion('[-managedSetId myManagedSet -msSettingsVersionId "myManagedSet1:1"]')
AdminTask.dpCopyMSSettingsVersion(['-managedSetId', 'myManagedSet', ,-msSettingsVersionId', 'myManagedSet1:1'])
Interactive mode...
AdminTask.dpCopyMSSettingsVersion('-interactive')
Display the IDs of each settings version in a DataPower appliance manager managed set.
Target object
None.
Required parameters
Return value
String array that contains the IDs of the versions of the managed set settings of interest.
Batch mode...
AdminTask.dpGetAllMSSettingsVersionIds('-msSettingsId ms1:2')
AdminTask.dpGetAllMSSettingsVersionIds(['-msSettingsId', 'ms1:2'])
Interactive mode...
AdminTask.dpGetAllMSSettingsVersionIds('-interactive')
Display the ID of the managed set to which the settings belong.
Target object
None.
Required parameters
Return value
Properties object that contains the attributes of the settings of interest.
Attribute | Description |
---|---|
msSettingsId | ID of the settings. |
managedSetId | ID of the managed ID to which the settings are assigned. |
desiredSettingsVersionId | ID of the settings version that the managed set uses. |
Batch mode...
AdminTask.dpGetMSSettings('-msSettingsId ms1:2')
AdminTask.dpGetMSSettings(['-msSettingsId', 'ms1:2'])
Interactive mode...
AdminTask.dpGetMSSettings('-interactive')
Display a DataPower appliance manager managed settings version.
Target object
None.
Required parameters
Return value
Properties object that contains the attributes of the managed set settings version of interest.
Attribute | Description |
---|---|
msSetSettingsVersionId | ID of the managed set settings version. |
msSettingsId | ID of the managed set settings of interest. |
timestamp | Date that the system created the copy. |
versionNumber | Number of the version. |
userComment | Comment associated with the managed set settings version. |
isInUse | ID of the settings version that the managed set uses. |
Batch mode...
AdminTask.dpGetMSSettingsVersion('-msSettingsVersionId ms1:2')
AdminTask.dpGetMSSettingsVersion(['-msSettingsVersionId', 'ms1:2'])
Interactive mode...
AdminTask.dpGetMSSettingsVersion('-interactive')
Remove a managed settings version from the DataPower appliance manager.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpRemoveMSSettingsVersion('-msSettingsVersionId ms1:2')
AdminTask.dpRemoveMSSettingsVersion(['-msSettingsVersionId', 'ms1:2'])
Interactive mode...
AdminTask.dpRemoveMSSettingsVersion('-interactive')
Modify the DataPower appliance manager managed settings.
Target object
None.
Required parameters
Optional parameters
Return value
ID of the task that the command creates.
Batch mode...
AdminTask.dpSetMSSettings('-msSettingsId ms1 -desiredSettingsVersionId ms1:1')
AdminTask.dpSetMSSettings(['-msSettingsId', 'ms1', '-desiredSettingsVersionId', 'ms1:1'])
Interactive mode...
AdminTask.dpSetMSSettings('-interactive')
Modify a DataPower appliance manager managed settings version.
Target object
None.
Required parameters
Optional parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpSetMSSettingsVersion('[-msSettingsVersionId ms1:2 -userComment "has new timeserver added"]')
AdminTask.dpSetMSSettingsVersion(['-msSettingsVersionId', 'ms1:2', '-userComment', 'has new timeserver added'])
Interactive mode...
AdminTask.dpSetMSSettingsVersion('-interactive')
Display the IDs of each of the DataPower appliance manager tasks.
Target object
None.
Return value
List of each asynchronous task ID that currently exists in the DataPower applance manager.
Batch mode...
AdminTask.dpGetAllTaskIds()
Display information for a specific DataPower appliance manager task.
Target object
None.
Required parameters
Return value
Attribute | Description |
---|---|
taskId | Unique ID of the task. |
taskDescription | Description of the task. |
creationDate | Date and time that the system created the task. |
createdByUser | User that created the task. |
currentStep | Current step number for the task. |
currentStepDescription | Displays a description of the current step. |
currentStepTimestamp | Time and date that the current step was last updated in the task. The system updates the currentTimeStamp attribute when the system constructs the object, updates a step, marks the task complete, or experiences an exception. |
error | Error message of the exception that caused the task to end, if applicable. |
totalSteps | Estimated total number of steps for the task. Do not use this argument to determine if the task is complete. Refer to the isComplete attribute to determine if the task is complete. |
hasError | True if the task is not successfully completed. |
hasUpdate | True if the task is updated. |
isComplete | True if the task is complete. |
taskStatus | Displays an integer that represents the status of the task. If the returned value is 0, then the task is in a queue and the system has not started the task. If the returned value is 1, then the task is in progress. If the returned value is 2, then the task completed successfully. If the returned value is 3, then the task experienced an exception. |
result | Result that the task returns. Refer to the specific command to determine if the command returns output. |
Batch mode...
Interactive mode...
AdminTask.dpGetTask('-interactive')
Purge a specific DataPower appliance manager task.
The system automatically deletes tasks after 24 hours.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode...
AdminTask.dpPurgeTask('-taskId 1')
AdminTask.dpPurgeTask(['-taskId', '1'])
Interactive mode...
AdminTask.dpPurgeTask('-interactive')