Use the configSCAAsyncForServer command instead of the administrative console to configure a specific server to run Service Component Architecture (SCA) applications. You can specify a number of commands in a file to batch a large number of configurations without having to navigate the administrative console panels.
Use the configSCAAsyncForServer command to prepare a server to support SCA applications. This wsadmin command is an alternative to using the administrative console to perform the configuration.
AdminConfig.save()
$AdminConfig save
The following example illustrates how to configure the server mySCAAppServer on node NYServerFarm for SCA using the remote messaging engine NJMECluster:
AdminTask.configSCAAsyncForServer('[-serverName mySCAAppServer
-nodeName NYServerFarm -remoteDestLocation WebSphere:cluster=NJMECluster
-meAuthAlias myAlias -systemBusSchemaName NYSysSchema]')
$AdminTask configSCAAsyncForServer {-serverName mySCAAppServer
-nodeName NYServerFarm -remoteDestLocation WebSphere:cluster=NJMECluster
-meAuthAlias myAlias -systemBusSchemaName NYSysSchema}
The following example illustrates how to configure the server newSCAAppServer on node bgmServerFarm for SCA using a local messaging engine.
AdminTask.configSCAAsyncForServer('[-serverName newSCAAppServer
-nodeName bgmServerFarm -systemBbusDataSource jdbc/localBus
-systemBusSchemaName BGMSysSchema]')
$AdminTask configSCAAsyncForServer {-serverName newSCAAppServer
-nodeName bgmServerFarm -systemBbusDataSource jdbc/localBus
-systemBusSchemaName BGMSysSchema}