This is a generic IBM Installation Manager (IBM IM) layer. You can extend this layer to support any IBM software that can be installed with IBM IM.
This layer is intended to be extended by other charms that would benefit from having IBM Installation Manager (IBM IM) preinstalled. For example, a WebSphere layered charm could include this layer so it could use IBM IM to install WebSphere.
To use this layer, include the following in your layer.yaml
:
includes: ['layer:ibm-installation-manager']
Then, in your charm, watch for the im.installed
state, at which point you will know the IBM IM tools are available:
IM_PATH=/opt/IBM/InstallationManager
@when 'im.installed'
install_was() {
WAS_REPO=`config-get was_repo`
${IM_PATH}/tools/imutilsc saveCredential -url $WAS_REPO -userName $IBM_ID_NAME -userPassword $IBM_ID_PASS -secureStorageFile "secure.store"
${IM_PATH}/installc -input silent-install.xml -acceptlicense -secureStorageFile "secure.store"
${IM_PATH}/imcl install $IM_ARGS
}
This layer currently supports the following configuration options:
accept-ibm-im-license - The IBM Installation Manager software comes with special terms and conditions from IBM. Set this value to “True” if you have read and accept the IBM Installation Manager license. The Installation Manager software can only be used if the license terms and conditions are accepted.
(1) General Information Details about IM available at IBM Knowledge Center.
(2) Download Information Information on procuring IM product is available at the Product Page and at the Passport Advantage Site.