You can use the Jacl or Jython scripting languages to use the various features of the centralized installation manager with the wsadmin tool. Use the commands and parameters to install, uninstall, and manage various software packages and maintenance files.
The installWASExtension command installs the specified WebSphere® Application Server extension package on a specified host that contains one or more WebSphere Application Server Network Deployment nodes. The nodes must be defined and part of the WebSphere Application Server Network Deployment cell.
Target object
None.
Batch mode example usage
$AdminTask installWASExtension {-packageName XDOps -hostName river.com -augment ALL_NODES -adminName admin1 -adminPassword passw0rd1 -acceptLicense true}
AdminTask.installWASExtension ('[-packageName XDOps -hostName river.com -augment ALL_NODES -adminName admin1 -adminPassword passw0rd1 -acceptLicense true]')
Interactive mode example usage
$AdminTask installWASExtension {-interactive}
AdminTask.installWASExtension ('[-interactive]')
The installSoftware command installs the specified software package on the target host.
Target object
None.
Specify -ServerAndSDK to install WebSphere Application Server Community Edition and the IBM SDK together.
By default, the centralized installation manager selects the appropriate version of the installation package to install based on the version of the operating system. For example, if both 32-bit and 64-bit binaries are included for a certain operating system and processor architecture, the centralized installation manager installs the 64-bit installation binaries on 64-bit operating systems. To override the default behavior and use the 32-bit installation binaries on 64-bit operating systems, set the USE_32BIT_IMAGE_ON_64BIT_OS parameter to true.
Batch mode example usage
$AdminTask installSoftware {-packageName WASCE20 -featureList ServerAndSDK -hostName abc.com -platformType windows -installLocation "D:/WASCE20/CE_22409" -adminName admin1 -adminPassword passw0rd1 -acceptLicense true -specialParms "{NODE_TO_MANAGE_WASCE abcNode01}{DISABLE_OS_PREREQ_CHECKING true}"}
$AdminTask installSoftware {-packageName XDAgent -hostName abc.com -platformType aix -installLocation C:/WXD61/Agent -adminName admin1 -adminPassword passw0rd1 -acceptLicense true -specialParms "{DISABLE_OS_PREREQ_CHECKING true}{USE_32BIT_IMAGE_ON_64BIT_OS true}"}
AdminTask.installSoftware ('[-packageName WASCE20 -featureList ServerAndSDK -hostName abc.com -platformType windows -installLocation "D:/WASCE20/CE_22409" -adminName admin1 -adminPassword passw0rd1 -acceptLicense true -specialParms "[NODE_TO_MANAGE_WASCE abcNode1][DISABLE_OS_PREREQ_CHECKING true]"]')
AdminTask.installSoftware ('[-packageName XDAgent -hostName abc.com -platformType aix -installLocation C:/WXD61/Agent -adminName admin1 -adminPassword passw0rd1 -acceptLicense true -specialParms "[DISABLE_OS_PREREQ_CHECKING true][USE_32BIT_IMAGE_ON_64BIT_OS true]"]')
Interactive mode example usage
$AdminTask installSoftware {-interactive}
AdminTask.installSoftware ('[-interactive]')
The installMaintenance command installs maintenance on the target host.
Target object
None.
Batch mode example usage
$AdminTask installMaintenance {-packageName ND61Maintenance -fileList "sample_file01, sample_file02" -hostName river.com -installLocation D:/WAS61 -adminName admin1 -adminPassword passw0rd1 -acceptLicense true}
AdminTask.installMaintenance ('[-packageName ND61Maintenance -fileList "sample_file01.pak, sample_file02.pak" -hostName river.com -installLocation D:/WAS61 -adminName admin1 -adminPassword passw0rd1 -acceptLicense true]')
Interactive mode example usage
$AdminTask installMaintenance {-interactive}
AdminTask.installMaintenance ('[-interactive]')
The listPackagesForInstall command lists all of the software packages that you can use the centralized installation manager to install.
Target object
None.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask listPackagesForInstall
AdminTask.listPackagesForInstall ()
Interactive mode example usage
$AdminTask listPackagesForInstall {-interactive}
AdminTask.listPackagesForInstall ('[-interactive]')
The listFeaturesForInstall command lists the available features of a software package that you can use the centralized installation manager to install.
Target object
None.
Optional parameters
None.
Batch mode example usage
$AdminTask listFeaturesForInstall {-packageName sample_package}
AdminTask.listFeaturesForInstall ('[-packageName sample_package]')
Interactive mode example usage
$AdminTask listFeaturesForInstall {-interactive}
AdminTask.listFeaturesForInstall ('[-interactive]')
The showPackageInfo command displays general information about a specific software package.
Target object
None.
Optional parameters
None.
Batch mode example usage
$AdminTask showPackageInfo {-packageName sample_package}
AdminTask.showPackageInfo ('[-packageName sample_package]')
Interactive mode example usage
$AdminTask showPackageInfo {-interactive}
AdminTask.showPackageInfo ('[-interactive]')
The showLicenseAgreement command displays the license agreement associated with the specified installation package.
Target object
None.
Batch mode example usage
$AdminTask showLicenseAgreement {-packageName sample_package}
AdminTask.showLicenseAgreement ('[-packageName sample_package]')
Interactive mode example usage
$AdminTask showLicenseAgreement {-interactive}
AdminTask.showLicenseAgreement ('[-interactive]')
The getManagedNodesOnHostByInstallLoc command returns the names of the managed nodes that are defined in the current deployment manager cell. Issue this command when a host contains multiple installations of WebSphere Application Server Network Deployment with nodes that are federated into the same cell.
Target object
The required target object is the host name of the workstation containing the managed nodes that are federated into the current deployment manager cell.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask getManagedNodesOnHostByInstallLoc host_name
AdminTask.getManagedNodesOnHostByInstallLoc ('host_name')
Interactive mode example usage
$AdminTask getManagedNodesOnHostByInstallLoc {-interactive}
AdminTask.getManagedNodesOnHostByInstallLoc ('[-interactive]')
The listManagedNodesOnHost command list the managed nodes that are located on the federated host in the current deployment manager cell.
Target object
The required target object specifies the host name of the workstation containing the managed nodes that are federated into the deployment manager cell.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask listManagedNodesOnHost host_name
AdminTask.listManagedNodesOnHost ('host_name')
Interactive mode example usage
$AdminTask listManagedNodesOnHost {-interactive}
AdminTask.listManagedNodesOnHost ('[-interactive]')
The testConnectionToHost command verifies that a connection can be established from the deployment manager to the remote host by using an administrator ID and password for the remote host.
Target object
None.
Optional parameters
None.
Batch mode example usage
$AdminTask testConnectionToHost {-hostName big.mountain.com -platformType linux -adminName root -adminPassword passw0rd3}
AdminTask.testConnectionToHost ('[-hostName big.mountain.com -platfromType linux -adminName root -adminPassword passw0rd3]')
Interactive mode example usage
$AdminTask testConnectionToHost {-interactive}
AdminTask.testConnectionToHost ('[-interactive]')
The testConnectionToHostUsingSSHKey command verifies that a connection can be established from the deployment manager to the remote host by using the Secure Shell (SSH) private key for the remote host.
Target object
None.
Optional parameters
None.
Batch mode example usage
$AdminTask testConnectionToHostUsingSSHKey {-hostName abc.com -adminName root -privateKeyStore /root/.ssh/id_rsa}
AdminTask.testConnectionToHostUsingSSHKey ('[-hostName abc.com -adminName root -privateKeyStore /root/.ssh/id_rsa]')
Interactive mode example usage
$AdminTask testConnectionToHostUsingSSHKey {-interactive}
AdminTask.testConnectionToHostUsingSSHKey ('[-interactive]')
The installSSHPublicKeyOnHost command installs the administrative Secure Shell (SSH) public key on the remote host.
Target object
None.
Optional parameters
None.
Batch mode example usage
$AdminTask installSSHPublicKeyOnHost {-hostName abc.com -adminName root -adminPassword passw0rd3 -publicKeyStore /root/.ssh/id_rsa.pub}
AdminTask.installSSHPublicKeyOnHost ('[-hostName abc.com -adminName root -adminPassword passw0rd3 -publicKeyStore /root/.ssh/id_rsa.pub]')
Interactive mode example usage
$AdminTask installSSHPublicKeyOnHost {-interactive}
AdminTask.installSSHPublicKeyOnHost ('[-interactive]')
The listKeyInstallationRecords command lists the SSH public key installation records that the centralized installation manager maintains.
Target object
None.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask listKeyInstallationRecords
AdminTask.listKeyInstallationRecords ()
Interactive mode example usage
$AdminTask listKeyInstallationRecords {-interactive}
AdminTask.listKeyInstallationRecords ('[-interactive]')
The updateKeyInstallationRecords command updates the SSH public key installation records that the centralized installation manager maintains.
Target object
None.
Required parameters
None.
Batch mode example usage
$AdminTask updateKeyInstallationRecords {-add "abc.com,river.com"}
AdminTask.updateKeyInstallationRecords ('[-add "abc.com,river.com"]')
Interactive mode example usage
$AdminTask updateKeyInstallationRecords {-interactive}
AdminTask.updateKeyInstallationRecords ('[-interactive]')
The listPendingRequests command lists the submitted installation or uninstallation requests that are not started
Target object
None.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask listPendingRequests
AdminTask.listPendingRequests ()
Interactive mode example usage
$AdminTask listPendingRequests {-interactive}
AdminTask.listPendingRequests ('[-interactive]')
The listInProgressRequests command lists the installation or uninstallation requests that are in progress for completion.
Target object
None.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask listInProgressRequests
AdminTask.listInProgressRequests ()
Interactive mode example usage
$AdminTask listInProgressRequests {-interactive}
AdminTask.listInProgressRequests ('[-interactive]')
The listRequestForTarget command lists all of the submitted installation and uninstallation requests for a specific host.
Target object
The required target object the host name of the target workstation. You must specify the same host name that you specify with the installSoftware and uninstallSoftware commands.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask listRequestsForTarget host_name
AdminTask.listRequestsForTarget ('host_name')
Interactive mode example usage
$AdminTask listRequestsForTarget {-interactive}
AdminTask.listRequestsForTarget ('[-interactive]')
The showLatestInstallStatus command lists all of the submitted installation requests for a specific host.
Target object
The required target object is the host name of the target workstation. You must specify the same host name that you specify with the installSoftware command.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask showLatestInstallStatus host_name
AdminTask.showLatestInstallStatus ('host_name')
Interactive mode example usage
$AdminTask showLatestInstallStatus {-interactive}
AdminTask.showLatestInstallStatus ('[-interactive]')
The uninstallSoftware command uninstalls the software package from the remote host.
Target object
None.
Batch mode example usage
$AdminTask uninstallSoftware {-packageName XDAgent -hostName abc.com -platformType windows -installLocation C:/WXD61/Agent -adminName admin1 -adminPassword passw0rd1}
AdminTask.uninstallSoftware ('[-packageName XDAgent -hostName abc.com -platformType windows -installLocation C:/WXD61/Agent -adminName admin1 -adminPassword passw0rd1]')
Interactive mode example usage
$AdminTask uninstallSoftware {-interactive}
AdminTask.uninstallSoftware ('[-interactive]')
The uninstallMaintenance command uninstalls maintenance, such as fix packs and interim fixes, from the remote host.
Target object
None.
Batch mode example usage
$AdminTask uninstallMaintenance {-packageName XD61Maintenance -hostName river.com -adminName admin1 -adminPassword passw0rd1 -fileList "6.1.0.0-WS-WXDOP-IFPKxxxxx.pak,6.1.0.0-WS-WXDOP-IFPKyyyyy.pak"}
AdminTask.uninstallMaintenance ('[-packageName XD61Maintenance -hostName river.com -adminName admin1 -adminPassword passw0rd1 -fileList "6.1.0.1-WS-WXDOP-IFPKxxxxx.pak,6.1.0.1-WS-WXDOP-IFPKyyyyy.pak"]')
Interactive mode example usage
$AdminTask uninstallMaintenance {-interactive}
AdminTask.uninstallMaintenance ('[-interactive]')
The showLatestUninstallStatus command displays the status of the most recently submitted uninstallation request.
Target object
The required target object is the host name of the target workstation. You must specify the same host name that you specify with the uninstallSoftware command.
Required parameters
None.
Optional parameters
None.
Batch mode example usage
$AdminTask showLatestUninstallStatus host_name
AdminTask.showLatestUninstallStatus ('host_name')
Interactive mode example usage
$AdminTask showLatestUninstallStatus {-interactive}
AdminTask.showLatestUninstallStatus ('[-interactive]')