Tuesday, February 28, 2012

How to add additional JAR files to be used in an Automation Script in tsrm

If you want to use additional Java libraries in your Automation Script, you need to add the corresponding JAR files to the MANIFEST.MF, located at:

/opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/installedApps/ctgCell01/MAXIMO.ear/maxrestweb.war/META-INF

Then restart WebSphere to pick up your change.

Wednesday, December 8, 2010

Is CMDB the end of the line?

Recently, I have been working with my colleagues in integrating a CMDB with other ITIL processes. We discussed with the CMDB vendor about how we could extract data from it, and the answer was there was no way, and the CMDB is considered the end of the line (not life!).

I spent years talking about (and implementing) CMDB solutions at many customers. We discussed data integration, federation, reconciliation and many other aspects. In many cases, after a long time implementing it, we'd look at a perfect CMDB without a clear understanding on what we would be doing with it.

I understand CMDB is intended to gather data from different sources and is the cornerstone of the ITIL processes. Ideally these ITIL processes would leverage the data in CMDB, without replicating it. The reality thou is different: in many cases, some data need to be extracted from CMDB and loaded into another product (whether from the same vendor or not).

At IBM, we've built the ITIL processes on same platform (Tivoli Process Automation Engine) as the CMDB. Nevertheless, we provide many different ways to extract from (and load into) Tivoli Change and Configuration Management Database (CCMDB).

If your CMDB vendor doesn't provide a way to extract data, my challenge to you is to describe what are the use cases you're planning to use the CMDB for. My opinion: building a CMDB should not be the target, but just the catalyst of a Service Management initiative.

Thoughts? Am I missing anything?

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