glassfish
  1. glassfish
  2. GLASSFISH-16034

possibility to forbid create-local-instance to create new instances in node-config

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2_b13, 4.0
    • Component/s: admin
    • Labels:
      None

      Description

      we create domains using these steps:
      create-domain
      create-node-config(s)
      create-cluster
      create-instance(s)

      it would be useful to have a property in node-config which would prevent creating new instances using create-local-instance.
      by "new" I mean, not previously created/declared by create-instance. This would avoid unwanted instances created by accident e.g. misspelled instance-name

        Activity

        Hide
        Joe Di Pol added a comment -

        We have received a couple requests from customers for the ability to disable instance creation at the node and/or cluster level. So that once their instances are created they would like to have a mechanism to prevent future accidental instance creation.

        Show
        Joe Di Pol added a comment - We have received a couple requests from customers for the ability to disable instance creation at the node and/or cluster level. So that once their instances are created they would like to have a mechanism to prevent future accidental instance creation.
        Hide
        Joe Di Pol added a comment -

        Implemented in 3.1.2 branch

        Project:    glassfish
        Repository: svn
        Revision:   51394
        Author:     jfdipol
        Date:       2011-12-09 01:06:12 UTC
        Link:       
        
        Log Message:
        ------------
        16034 forbid create-local-instance to create new instances in node-config
        7025067 (bugster) provide option to avoid changes to cluster topologies
        
        This adds a "freeze" attribute to the <node> and <nodes> elements.
        If the attribute is true on a <node> then instance creation on that
        node is not allowed. If the attribute is true on <nodes> then new node
        creation is not allowed.
        
        Currently you must use the "set" command to set this attribute.
        For example:
        
        asadmin set nodes.freeze=true
        asadmin set nodes.node.<node-name>.freeze=true
        
        Revisions:
        ----------
        51394
        
        Modified Paths:
        ---------------
        branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LocalStrings.properties
        branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Node.java
        branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Nodes.java
        branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java
        
        
        Show
        Joe Di Pol added a comment - Implemented in 3.1.2 branch Project: glassfish Repository: svn Revision: 51394 Author: jfdipol Date: 2011-12-09 01:06:12 UTC Link: Log Message: ------------ 16034 forbid create-local-instance to create new instances in node-config 7025067 (bugster) provide option to avoid changes to cluster topologies This adds a "freeze" attribute to the <node> and <nodes> elements. If the attribute is true on a <node> then instance creation on that node is not allowed. If the attribute is true on <nodes> then new node creation is not allowed. Currently you must use the "set" command to set this attribute. For example: asadmin set nodes.freeze=true asadmin set nodes.node.<node-name>.freeze=true Revisions: ---------- 51394 Modified Paths: --------------- branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LocalStrings.properties branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Node.java branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Nodes.java branches/3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java
        Hide
        Joe Di Pol added a comment -

        Fixed in trunk: r51545

        Show
        Joe Di Pol added a comment - Fixed in trunk: r51545

          People

          • Assignee:
            Joe Di Pol
            Reporter:
            schaarsc
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: