How to change service for all members

Hello,
We setup our cluster with member1 and member2 as follows.
backup-count = 1 on cluster configuration.
service-name = CACHE-TEST-A, which is stored in Member1
the backup of CACHE-TEST-A is stored in Member2
Now we change the service name CACHE-TEST-A to CACHE-TEST-B.
The question under consideration is how to change CACHE-TEST-A to
CACHE-TEST-B in both members.
Test steps:
1 Turn off the service, execute the following code:
CacheFactory.getCluster (). Shutdown ();
CacheFactory.getCluster (). Stop ();
2 Modify the configuration file, the CACHE-TEST-A modified CACHE-TEST-B
3 Restart the service, execute the following code:
DefaultCacheServer cacheServer = new DefaultCacheServer (new DefaultConfigurableCacheFactory ());
cacheServer.start ();
Result:
Service started, but the configuration file is not loaded,
it seems that the system is still configured with CACHE-TEST-A.

We are going to achieve as below.
Requirements:
In the existing cluster nodes without adding a new premise, deploy new business class package (based on CacheStore the jar), also updating some of the Cache service scheme of the configuration.
Solution:
We use the above coding part (using a custom Jmx and DefaultCacheServer to stop and start nodes) to achieve the requirement, but do not know whether any other better solution for this.

Similar Messages

  • How to change settings for all users?

    Hi All,
    In cPro we have User Settings button. On clicking that we get a Tabstrip where you will find "User" tab.
    my question is: How can we change the default settings for all users e.g setting the checkbox "Scheduling only manually" to true ?
    Best Regards,
    Arti.

    Hi Arti,
    In cProjects the authorizations can be managed either by authorization profile administration by system administrator for General authorizations or by Project specific authorizations for individual cProjects elements by Project owner.
    Try the first one and I hope you will get the solution.
    Regards,
    Nishit Jani
    Award points only if you find the information useful.

  • How to change preferences for all users in a Citrix enviroment

    Hello.
    I need change some preference settings for all users in my Citrix enviroment.
    I know change the preference settings for a user, of course, but a have 160 users and a need to change some settings configuration one time on the server for all users.
    The preferents I need change are: 'disable javascript' and 'don't show pdf in IE'
    Thanks.

    Hi Arti,
    In cProjects the authorizations can be managed either by authorization profile administration by system administrator for General authorizations or by Project specific authorizations for individual cProjects elements by Project owner.
    Try the first one and I hope you will get the solution.
    Regards,
    Nishit Jani
    Award points only if you find the information useful.

  • How do I search for all "missing" tracks within the iTunes database?

    I found the dreaded ! of death, and sadly I verified the tacks indeed are not on my hard drive.
    Is there a way to sort on this tag so that I can see what else might be missing on my hard drive but remains in the database (sort of similar to how you can search for all tracks that have missing artwork)? 

    Thanks.  It works perfectly.
    URL for anyone else in need:  http://dougscripts.com/123

  • How to change workflow for expired qualification in HR Module

    Hi,
    My question how to change workflow for expired qualification in HR Module.We need to when date is expired tcode OOQA that system will check and that time workflow should be triggred.
    I have serached sap help but i am not understand please below mention URL for SAP help
    Link: [http://help.sap.com/saphelp_47x200/helpdata/en/ee/f4c9cafbab11d29ea40000e8215202/frameset.htm]
    Please explain step by step how to trigrred workflow for expired qualification?
    Please this problem is high and try to solve it.
    Thx!
    Sachin

    Hi,
    Why do you want to trigger a wflow and what do you want to do with this trigger. Can you give more details of your exact requirements.
    But, if you are looking for how to trigger, you can write a small ABAP pgm and schedule it as a job every night. THis job basically reads the table P1000-ENDDA for expiry date and if it reached today, then you can either trigger the wflow with SAP_WAPI_START_WORKFLOW or use SAP_WAPI_CREATE_EVENT to raise your custom event(for Business Obj. BUS7018, i think this is your BO and there are no std events right now, so you will ahve to add your custom event by extending BUS7018 to ZBUS7018).
    Hope I am clear and this helps and if you need more details, reply.
    venu

  • How to install extension for all users?

    How to install extensions for all users? I'am using Windows
    Vista sp1 x64 and Adobe Extension Manager 2.0.274. "Run as
    administrator" doens't work.

    Xych wrote:
    > How to install extensions for all users? I'am using
    Windows Vista sp1 x64 and Adobe Extension Manager 2.0.274. "Run as
    administrator" doens't work.
    You may have to log in as the Administrator user rather than
    "run as adminstrator".
    Beyond that, are there really enough users on a system that
    they can't install the extension(s) they need themselves?
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • How to add services for object in ECC6.0

    Hi everybody,
                        Can anybody tell me how to add "Services for Object" icon in ECC 6.0 because this icon is there in 4.6C but not coming in ECC 6.0.
    Thanks in Advance

    Hi Saurabh,
                Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C)  b'coz its very urgent.

  • How to change tablespace for a table in 10g?

    Does anyone know how to change tablespace for a table (like changing tablespace for an index [alter index ... rebuild tablespace ... ])? Many thanks in advance.

    alter table tablename move tablespace newtsname;
    You need to rebuild the indexes after the move.

  • Creativ Cloud for Teams doesn´t work for all members

    Why do the products work for all members except oe? The test version is started here.

    Hi YES-2013,
    Welcome to the Community!
    The Team subscription is fine and everyone should be able to use a full version of the software's, ask him to uninstall & re-install the Adobe Creative cloud desktop application and if that doesn't work then contact our Adobe support via http://www.adobe.com/support/download-install/supportinfo/ and they will help him further.
    -Ankit

  • How to change password for itunes

    HELP PLEASE!
    DOES ANYBODY KNOW HOW TO CHANGE PASSWORD FOR ITUNES?

    Follow the instructions here.
    Apple ID: Changing your password

  • How to change password for BtOpenZone?

    Hi,
    Does anyone know how to change password for BtOpenZone? I have tried the following link and it is not working with me....
    http://www.btinternet.com/new/content/mybti
    Last time I have to ring BT to change the password, but I want to do via some control panel.
    Thanks
    Kam 
    Solved!
    Go to Solution.

    If you're a BT Total Broadband customer and you want to change the password, you can go to btyahoo.com, log in there and change your password. The primary email account and the FON/OZ logins are linked. if you change your email password, your FON/OZ password will also change.
    if you're an Openzone only customer, you can log into your control panel on the main page and change your password there.

  • How to change password for sidadm user on HP-UX

    Hello
    How to change password for <sidadm> user on HP-UX

    Hello Jan,
           1.      Log on to the operating system with the <sid>adm user.
           2.      Open a shell.
           3.      Enter the command passwd.
           4.      Enter the old and new passwords
    Rohit

  • How to change password for apple user id

    how to change password for apple user id

    If you can't remember your current password then you should be able to get it reset via this page : http://iforgot.apple.com
    If you know your current password then on your phone you can try tapping on your id in Settings > Store and you might be able to change it on your account's screen, or on your computer's iTunes you can log into your account via the Store > View Account menu option and change it on there

  • How to change password for parental controls

    how to change password for parental control on macbook pro

    If you can't remember your current password then you should be able to get it reset via this page : http://iforgot.apple.com
    If you know your current password then on your phone you can try tapping on your id in Settings > Store and you might be able to change it on your account's screen, or on your computer's iTunes you can log into your account via the Store > View Account menu option and change it on there

  • How to change password for  XELSYSADM user in OIM?

    Hello Gurus and Experts!
    How to change password for XELSYSADM user in OIM?
    Your help is appreciated.

    Follow the undermentioned steps to change the password:
    1) Change the password from oim Design Client as usual.
    2) Open xlconfig.xml present in <XL_HOME>\xellerate\config folder.
    3) This step is optional and should only be used if you have a <XLPassword encrypted> tag in the <Scheduler> section. In the scheduler section, change the encrypted="true" to encrypted="false" and replace existing encrypted password with new clear text password, as shown below:
    <Scheduler>
    <XLUserName>xelsysadm</XLUserName>
    <XLPassword encrypted="false">NEW_PASSWORD</XLPassword>
    </Scheduler>
    4) Restart server.
    Now login with the new password.

Maybe you are looking for