BladeManager is an application that runs on client computers and requires a connection to IBM Informix. Consists of a shell in which commands can be executed to register or unregister the datablades.

1 Running blade manager

Connect to BladeManager by running as informix user.

Copy
ec2server:~ informix$ blademgr
ifmxserver>

2 show databases

Displays a list of databases available on the server:

Copy
ol_informix1210>show databases
Databases on server:
	sysadmin
	syscdr
	sysuser
	test
	tpch

3 list [database]

print list of registered DataBlade modules

Copy
ol_informix1210>list test
DataBlade modules registered in database test:
	      ifxrltree.2.00  	    spatial.8.21.FC7

This command must be executed at the beginning to select a database from which to execute the rest of commands.

4 show modules

Displays a list of DataBlade modules available on a database (list it first)

Copy
ol_informix1210> show modules
20 DataBlade modules installed on server ol_informix1210:
	       binaryudt.1.0  	            bts.3.10  
	            bts.3.11  	        excompat.1.0  
	     ifxbuiltins.1.1  	       ifxregex.1.00  
	      ifxrltree.2.00  	        LLD.1.20.FC2  
	            Node.2.0 c	    spatial.8.21.FC7  
	    spatial.8.22.FC2  	        sts.1.00.FC1  
	        sts.2.00.FC1  	 TimeSeries.6.00.FC6  
	 TimeSeries.6.00.FC8  	   TSAFuncs.1.00.FC1  
	   TSPIndex.1.00.FC1  	   TSPMatch.1.00.FC1  
	   TSPMatch.2.00.FC1  	        wfs.1.00.FC1  
A 'c' indicates DataBlade module has client files.
If a module does not show up, check the prepare log.

If you get the message [You must first list a database you have permission to use] it indicates you are missing to run first the list command to select a database.

Copy
ol_informix1210>list test

And then, you can run commands to show database blades

Copy
ol_informix1210>show modules

5 register [module] [database]

Register a datablade in a database:

Copy
ifmxserver>register spatial.8.21.FC4R1 db1
    Register module spatial.8.21.FC4R1 into database db1? [Y/n]Y
    Registering DataBlade module... (may take a while).
    Module spatial.8.21.FC4R1 needs interfaces not registered in database db1.
    The required interface is provided by the modules:
        1 - ifxrltree.2.00
    Select the number of a module above to register, or N :- 1
    Registering DataBlade module... (may take a while).
    DataBlade ifxrltree.2.00 was successfully registered in database db1.
    Registering DataBlade module... (may take a while).
    DataBlade spatial.8.21.FC4R1 was successfully registered in database db1.

6 unregister [module] [database]

Deregister a datablade in a database

Copy
ifmxserver>unregister spatial.8.21.FC4R1 db1
    Unregister module spatial.8.21.FC4R1 out of database db1? [Y/n]Y
    DataBlade spatial.8.21.FC4R1 was successfully unregistered from Database db1.
    
    ifmxserver>unregister ifxrltree.2.00 db1
    Unregister module ifxrltree.2.00 out of database db1? [Y/n]Y
    DataBlade ifxrltree.2.00 was successfully unregistered from Database db1.