OCCAS WLST SipServer Configuration
I am trying to configure OCCAS using WLST. However, there are some SipServer settings I can't find exposed through the MBean classes and attributes.
The data tier servers are added to partitions. I have been able change the servers assigned to a partition using commands such as the following.
custom()
cd('mydomain:ServerRuntime=AdminServer,Name=sipserver,Location=AdminServer,Type=ConfigManagerRuntime')
cmo.startEdit()
cd('mydomain:Name=Partition-0,Type=Partition,Location=AdminServer,SipServer=sipserver')
set('Servers', jarray.array([ ObjectName('com.bea:Name=replica1,Type=Server'),ObjectName('com.bea:Name=replica2,Type=Server') ], ObjectName))
However, I don't see a way to add partitions if they don't already exist. The SipServer MBean has a Partitions attribute, but if I attempt to set it I get an error that it is readonly. I don't see any method on the SipServer MBean such as createPartition.
The data tier servers are added to partitions. I have been able change the servers assigned to a partition using commands such as the following.
custom()
cd('mydomain:ServerRuntime=AdminServer,Name=sipserver,Location=AdminServer,Type=ConfigManagerRuntime')
cmo.startEdit()
cd('mydomain:Name=Partition-0,Type=Partition,Location=AdminServer,SipServer=sipserver')
set('Servers', jarray.array([ ObjectName('com.bea:Name=replica1,Type=Server'),ObjectName('com.bea:Name=replica2,Type=Server') ], ObjectName))
However, I don't see a way to add partitions if they don't already exist. The SipServer MBean has a Partitions attribute, but if I attempt to set it I get an error that it is readonly. I don't see any method on the SipServer MBean such as createPartition.
0