Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Perform the following steps to configure a new protocol:
Steps for this task
Using Jacl:
set newmp [$AdminConfig getid /Cell:mycell/Node:mynode/MailProvider:MP1/]
newmp = AdminConfig.create('MailProvider', node, mpAttrs) print newmp
MP1(cells/mycell/nodes/mynode|resources.xml#MailProvider_1)
Using Jacl:
$AdminConfig required ProtocolProvider
print AdminConfig.required('ProtocolProvider')
Attribute Type protocol String classname String
Using Jacl:
set protocol [list protocol "Put the protocol here"] set classname [list classname "Put the class name here"] set ppAttrs [list $protocol $classname]
{protocol protocol1} {classname classname1}
protocol = ['protocol', "Put the protocol here"] classname = ['classname', "Put the class name here"] ppAttrs = [protocol, classname] print ppAttrs
[[protocol, protocol1], [classname, classname1]]
Using Jacl:
$AdminConfig create ProtocolProvider $newmp $ppAttrs
print AdminConfig.create('ProtocolProvider', newmp, ppAttrs)
(cells/mycell/nodes/mynode|resources.xml#ProtocolProvider_4)
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object