Friday, March 19, 2010

Running KVM and VMware Server in the same machine

After enabling virtualization in the BIOS, I can't start a VMware VM anymore, as I received the following message:

Error while powering on: Failed to initialize monitor device.

To fix this problem, I had the unload the kvm modules:

sudo rmmod kvm_intel
sudo rmmod kvm

After that, I can load a VMware VM. Then, the KVM doesn't work, as you can test by running the following command:



eduardo@eduardo-laptop:~$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
KVM acceleration can NOT be used

The fix is right there: run sudo modprobe kvm, then everybody is happy!

Maybe not. After loading the kvm module, the VMware VM just dies. I guess there is no harmony between KVM and VMware. Any ideas?

Thursday, February 25, 2010

New version of the TDI IDML Connector

Mat Davis put a lot of work in enhancing and publishing a new version of the IDML Connector. It's available at:
http://www-01.ibm.com/software/brandcatalog/portal/opal/details?NavCode=1TW10CC16

Monday, February 15, 2010

Self provision of virtual machines using IBM Tivoli products (TiSAM, ITM and Omnibus)

Here is a video Eswara and I made showing self-provisioning of virtual machines using TiSAM, ITM and Omnibus.
Enjoy!




Wednesday, December 9, 2009

How can we integrate with HP CMDB - part 3

Here are some code to interact with HP SM7 Web Services. It uses an AXIS library generated from the WSDL file, available at iTunes or the following link: HP SM7 Axis Library.

ci = new Packages.com.hp.schemas.SM._7.Common.StringType (work.getString ("NAME"));

keys = new Packages.com.hp.schemas.SM._7.DeviceKeysType ();
keys.setConfigurationItem (ci);

instance = new Packages.com.hp.schemas.SM._7.DeviceInstanceType ();
status = new Packages.com.hp.schemas.SM._7.Common.StringType ("In use");
instance.setStatus (status);
computer = new Packages.com.hp.schemas.SM._7.Common.StringType ("computer");
instance.setConfigurationItemType(computer);
application = new Packages.com.hp.schemas.SM._7.Common.StringType ("application");
instance.setAssignmentGroup (application);

messageType = new Packages.com.hp.schemas.SM._7.Common.MessageType();
messageTypes = [messageType];

type = new Packages.com.hp.schemas.SM._7.DeviceModelType (keys, instance, messageTypes, "query");
booleanf = new java.lang.Boolean (false);
booleant = new java.lang.Boolean (true);

request = new Packages.com.hp.schemas.SM._7.CreateDeviceRequest (type, booleanf, booleanf, booleant);

task.logmsg ("request: " + request);

locator = new Packages.com.hp.schemas.SM._7.Device_ServiceLocator ();

device = locator.getDevice ();

device.setUsername ("falcon");

response = device.createDevice (request);

task.logmsg ("response: " + response + " message: " + response.getMessage());
messages = response.getMessages ();
for (message in messages) {
    task.logmsg ("messages: " + message);
}

Wednesday, December 2, 2009

How can we integrate with HP CMDB? - Part 2

 Nothing like having the opportunity to touch an HP Service Management 7 installation and see first hand what's possible and what's not.

The bottom line is that, like any 'modern' application, HP SM7 makes available Web Service for interacting with the module, like Change Management and Configuration Items.

So, forget what I said before, because it's possible to load data directly into HP SM7 using the Web Service interface.

I didn't find a way to reconcile the data coming from multiple data sources, but at least the parable of not being able to load data into HP SM7 is not true.

Thursday, November 19, 2009

How can we integrate with HP CMDB?

HP CMDB (HP CMDB link) is HP's solution for the Configuration Management System (CMS).It's a re-brand of the Mercury uCMDB product. As with any CMDB, it has the ability to import or federate data.

Although not clearly stated, it seems that the only provider of imported data is HP Discovery and Dependency Manager (HP DDM), another Mercury product.

So the only remaining alternative is to federate data, which represents a real compelling solution, as it doesn't require to ETL (extract, transform and load) the data.

The issue arrives when multiple data sources (including HP DDM) are referring to the same resource. Although not clearly stated, HP CMDB doesn't seem to provide a way to reconcile the data, but it defers this job to HP SM7 (HP SM7), another suite of products that can consume HP CMDB data.

Bottom line: although not state clearly, there seems to be no way to load data into HP CMDB, neither there is a way to reconcile federated data.

Hard to believe? Tell me if you know anything different...

Monday, November 16, 2009

How to delete all CCMDB Authorized CI classification

Here is the script to delete all CCMDB Authorized CI classification:

delete from select classstructure where classstructureid in (select classstructureid from classusewith where objectname = 'CI')

Wills, do it at your own risk.