This command creates a unique instance of an SCA module EAR file. The SCA module must have the sca.module.attributes file as part of its content. The sca.module.attributes file exists for all versioned SCA modules before IBM® Business Process Manager Advanced Version 8.0 and for all modules created with Integration Designer Version 8.0.
Use the createVersionedSCAModule command to create a new instance of an SCA module when you want to deploy the same versioned module across multiple clusters in a cell. You must use this command once for each additional instance of the module you want to deploy. The new instance is created in a new EAR file; the new EAR file name contains the module version value and the specified unique cell ID.
>>-$AdminTask-- --createVersionedSCAModule-- {-- -archiveAbsolutePath-- --input_archive_dir-- --> >-- -workingDirectory-- --working_dir-- -- -uniqueCellID-- --unique_cell_ID--}-><
The createVersionedSCAModule returns a uniquely named instance of the SCA module to the same directory that contains the original module (input_archive_dir).
The following example illustrates how to create a new instance of a previously installed versioned SCA module named billingProcess. In this example, the original module is version 1.0.1 and it is stored in c:/myDir/billingProcess_v1_0_1.ear.
$AdminTask createVersionedSCAModule {
-archiveAbsolutePath C:/myDir/billingProcess_v1_0_1.ear
-workingDirectory C:/tempAppDirectory
-uniqueCellID CellA1}
The command creates billingProcess_v1_0_1_CellA1App.ear
in the C:/myDir directory.