Friday, September 24, 2010

How to pass the subnetworking to be used in a TSAM provisioning

After enabling the parameters in the TSAM GUI, as described at

http://eduardoware.blogspot.com/2010/09/how-to-expose-parameters-in-tsam.html

and setting the multiple NIC support, as described at:

http://eduardoware.blogspot.com/2010/09/how-to-enable-multiple-nic-interfaces.html

then create a new Custom Property, as depicted below:



Remember to set the type to VST.

Furthermore, the proper name of the Property is PMRDP.Net.Subnet_0

How to enable multiple NIC interfaces in TSAM

  • Go To -> Administration -> Provisioning -> Provisioning Global Settings 
  • Search for the following property


PMRDP.Net.MultiNicSupport

and set its value to true.

How to expose parameters in the TSAM SimpleSRM interface

TSAM provides the capability for the end-user to select CPU, memory and disk size, along with which Resource Pool, Image and additional Software to install. Besides that, it's possible to expose any internal parameter in the GUI, opening opportunity for the user to specify values for internal properties.

One use case for this feature is the ability to select which VLAN the VM should be allocated.

The following steps show how to expose the parameters in the GUI (as tioadmin):


  • Stop TSAM/TPM
    cd /opt/IBM/tivoli/tpm/tools/
    ./tio.sh stop
  • Create a temporary directory
    mkdir ~/temp
    cd ~/temp
  • Copy SRMCommons.jar to the new directory
    cp /opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/installedApps/ctgCell01/MAXIMO.ear/SRMCommons.jar .
  • Open the JAR file
    /opt/IBM/WebSphere/AppServer/java/bin/jar xvf SRMCommons.jar
  • Edit the config.properties
    vi ./com/ibm/tivoli/simplesrm/configuration/config.properties
  • Search for property ParameterPassing, set it to true:
    #If "true" - passing parameter button is visible in Create and Add panels.
    ParameterPassing=true
  • Rebuild the JAR file
    /opt/IBM/WebSphere/AppServer/java/bin/jar cvf SRMCommons.jar .
  • Copy the new JAR file to the WebSphere directory (you might want to keep a copy of the original JAR file to revert back to the original GUI):
    cp SRMCommons.jar /opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/installedApps/ctgCell01/MAXIMO.ear/SRMCommons.jar 
  • Restart TSAM/TPM:
    cd /opt/IBM/tivoli/tpm/tools/
    ./tio.sh start
  • You'll see a new area at the bottom of the Create Project with Server option:
  • Clicking the Custom properties button, you'll be able to add any parameter to the Virtual Server Template.

Thursday, September 23, 2010

How to start TDS in a TPAE environment

/opt/IBM/ldap/V6.2/sbin/ibmslapd -I idsccmdb