Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Websphere and the fly likes How to select memory-to-memory replication settings through wsadmin  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "How to select memory-to-memory replication settings through wsadmin  " Watch "How to select memory-to-memory replication settings through wsadmin  " New topic
Author

How to select memory-to-memory replication settings through wsadmin

Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Hi all,

I have done all configurations and installation through wsadmin tool only.
Now I'm stuck at a point where am not able to figureout how to proceed.
My environment.
WAS ND 6.0.2.3
Clustered enviroment.
Cluster autocluster(mem to mem replication enabled) contains 2 servers autoserver1 and autoserver2.
in both servers i need memory to memory replication enabled.So for enabling it i wrote the following script.


What the above script does:
This script only selects the radio button present for memory to memory replication at location in console
Application servers > autoserver1 > Session management > Distributed environment settings

PROBLEM:
The problem is though script is able to select the radio button of memory to memory rep its not able to select or choose the memory to memory settings as there is more than one clusters present with replication domains enabled.
Manual solution to the problem:
I have to login to console and navigate to the Distributed environment settings
and click on memory to memory replication and choose
"Replication domain" as "autocluster"(my servers clustername)
"Replication mode " as both "client and server" under "general properties" and save it then only the memory to memory replication shows blue color i.e. shows enabled.

else its clearly shows the memory to memory replication disabled with information below as "(Replication domains are defined, but the memory to memory settings have not been selected)"

I think i need to add something more like "{Replicationdomain {value {autocluster}}}" and "{Replicationmode {value {client and server}}}" to my script to select the memory to memory settings also.
So my request is if any one knows how to select "memory to memory settings" through wsadmin tool then please help me ...
waiting for any suggestions...!!!

Thanks a lot..


Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Hey all

Anyone have any idea then please share it.
Am waiting for a long time.

Thanks,
Ricky
 
GeeCON Prague 2014
 
subject: How to select memory-to-memory replication settings through wsadmin