You can use the Jython or Jacl scripting languages to configure servers in your environment. The commands and parameters in the ConfigArchiveOperations group can be used to export or import server configurations and entire cell configurations.
Use the exportProxyProfile command to export the entire cell configuration of a secure proxy server to a configuration archive. The exportProxyProfile command does not work between the distributed and z/OS® platforms.
Target object
None.
Required parameters
Return value
The command does not return output.
Batch mode example usage
AdminTask.exportProxyProfile('[-archive "c:/myCell.car"]')
AdminTask.exportProxyProfile(['-archive', 'c:/myCell.car'])
Interactive mode example usage
AdminTask.exportProxyProfile('[-interactive]')
Use the exportProxyServer command to export the secure proxy server configuration to a node that is defined in the configuration archive. The command exports the metadata file of the node where the server resides. You can use this information later when you import the configuration archive to verify that the target node is compatible to the node from which you are exporting the server.
The exportProxyServer command virtualizes the server configuration and exports a server to a configuration archive. This process breaks any existing associations between the server configurations in the configuration archive and the configurations in the system.
Target object
NoneRequired parameters
Optional parameters
Return value
The command does not return output.
Examples
Batch mode example usage:
AdminTask.exportProxyServer('[-archive c:/myProxyServer.car -nodeName node1 -serverName server1]')
AdminTask.exportProxyServer(['-archive', 'c:/myProxyServer.car', '-nodeName', 'node1', '-serverName', 'server1'])
AdminTask.exportProxyServer('[-archive /myProxyServer.car -nodeName node1 -serverName server1]')
AdminTask.exportProxyServer(['-archive', '/myProxyServer.car', '-nodeName', 'node1', '-serverName', 'server1'])
Interactive mode example usage:
AdminTask.exportServer ('-interactive')
Use the exportServer command to export the server configuration to a node that is defined in the configuration archive. Use the exportProxyServer command to export a proxy server configuration.
The exportServer command virtualizes the server configuration and exports a server to a configuration archive. This process breaks any existing associations between the server configurations in the configuration archive and the configurations in the system. This process also removes applications from the server that you specify, breaks the relationship between the server that you specify and the core group of the server, cluster, or service integration bus member.
The exportServer command exports the metadata file of the node where the server resides. You can use this information later when you import the configuration archive to verify that the target node is compatible to the node from which you are exporting the server.
Target object
NoneParameters and return values
Examples
Batch mode example usage:
$AdminTask exportServer {-archive c:/myServer.car -nodeName node1 -serverName server1}
AdminTask.exportServer('[-archive c:/myServer.car -nodeName node1 -serverName server1]')
AdminTask.exportServer(['-archive', 'c:/myServer.car', '-nodeName', 'node1', '-serverName', 'server1'])
Interactive mode example usage:
$AdminTask exportServer {-interactive}
AdminTask.exportServer ('[-interactive]')
AdminTask.exportServer (['-interactive'])
Target object
NoneParameters and return values
Examples
Batch mode example usage:$AdminTask exportWasprofile {-archive c:/myCell.car}
AdminTask.exportWasprofile('[-archive c:/myCell.car]')
AdminTask.exportWasprofile(['-archive', 'c:/myCell.car'])
$AdminTask exportWasprofile {-interactive}
AdminTask.exportWasprofile ('[-interactive]')
AdminTask.exportWasprofile (['-interactive'])
Use the importProxyProfile command to import a cell configuration in the configuration archive to the system. Only a base single server configuration is supported for this command. The importProxyProfile command does not work between the distributed and z/OS platforms.
Target object
None.
Required parameters
Optional parameters
Return value
The command does not return output.
Batch mode example usage
AdminTask.importProxyProfile('-archive /myCell.car -deleteExistingServers true')
AdminTask.importProxyProfile('-archive', '/myCell.car', '-deleteExistingServers', 'true')
Interactive mode example usage
AdminTask.importProxyProfile('-interactive')
Use the importProxyServer command to import a secure proxy server that resides in a configuration archive to the system. This command imports all the server scope configurations defined in the configuration archive to system configuration.
Target object
NoneRequired parameters
Optional parameters
Return value
The command does not return output.
Examples
Batch mode example usage:
AdminTask.importProxyServer('[-archive c:/myProxyServer.car -nodeName node1 -serverInArchive server1 -deleteExistingServer true]')
AdminTask.importProxyServer(['-archive', 'c:/myProxyServer.car', '-nodeName', 'node1', '-serverInArchive', 'server1', '-deleteExistingServer', 'true'])
AdminTask.importProxyServer('[-archive /myProxyServer.car -nodeName node1 -serverInArchive server1 -deleteExistingServer true]')
AdminTask.importProxyServer(['-archive', '/myProxyServer.car', '-nodeName', 'node1', '-serverInArchive', 'server1', 'server1', '-deleteExistingServer', 'true'])
Interactive mode example usage:
AdminTask.importProxyServer('-interactive')
Use the importServer command to import a server that resides in a configuration archive to the system. This command imports all the server scope configurations defined in the configuration archive to system configuration. Use the importProxyServer command to import a secure proxy server configuration.
Target object
NoneParameters and return values
Examples
Batch mode example usage:
$AdminTask importServer {-archive c:/myServer.car -nodeInArchive node1 -serverInArchive server1}
AdminTask.importServer('[-archive c:/myServer.car -nodeInArchive node1 -serverInArchive server1]')
AdminTask.importServer(['-archive', 'c:/myServer.car', '-nodeInArchive', 'node1', '-serverInArchive', 'server1'])
Interactive mode example usage:
$AdminTask importServer {-interactive}
AdminTask.importServer ('[-interactive]')
AdminTask.importServer (['-interactive'])
Use the importWasprofile command to import a cell configuration in the configuration archive to the system. Only a base server configuration with single node is supported for this command. Use the importProxyProfile command to import a secure proxy server profile.
The importWasprofile command does not work between the distributed and z/OS platforms.
Target object
NoneParameters and return values
Examples
$AdminTask importWasprofile {-archive c:/myCell.car}
AdminTask.importWasprofile('[-archive c:/myCell.car]')
AdminTask.importWasprofile(['-archive', 'c:/myCell.car'])
$AdminTask importWasprofile {-interactive}
AdminTask.importWasprofile ('[-interactive]')
AdminTask.importWasprofile (['-interactive'])