1 Reply Latest reply on Apr 17, 2012 7:59 AM by Arunbodap-Oracle

    Managed server specific custom configuration file

      I have a domain (testdomain) with two manager servers deployed to node1 and node2. The admin server is also deployed to node1. I also have a custom configuration file that I save under domains/testdomain/config/test subdirectory in both nodes. The configuration file has some server specific values. The problem is, whenever I start managed server in node2 the custom configuration file is overwritten with the one from node1 (where the admin server is deployed). How can I prevent this? Note that I am using 11g and would like to keep my configuration file under domains/testdomain/config subdirectory.
        • 1. Re: Managed server specific custom configuration file
          Managed server always updates the entire configuration directory (DOMAIN_HOME/config/) in its local machine with the "config" directory from the admin server machine whenever managed server is restarted.
          This is to ensure that managed server always gets the latest configuration whenever it starts. This is required and expected behavior.

          I am not sure why you want to maintain a separate configuration for node2, all nodes in a domain always should have the same configuration (config.xml file).

          May be if I understand your requirement, I can suggest a better solution to achieve it rather than trying to maintain a separate copy of configuration for node2 in config directory.

          If you have any server specific files, you are encouraged to maintain them in DOMAIN_HOME/servers/<ServerName> directory. For example, domains/testdomain/servers/managedserver2/test/