• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey all

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

Thanks,
Ricky
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

the sessionManager has a attribute referencing a object:
This object has a property that should be set to your cluster name, and the that should be set to "BOTH". Example:



Cheers,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic