Thursday, March 20

what happens if I want to use the same nodemanager for multiple domains?


  • Maheshkumar Subbaiyan when you create a domain NM username and password will be set dynamically and we can't read them as they are encrypted by default, on $DOMAIN_HOME/config/nodemanager/ - this file " nm_password.properties" will be created with encrypted username and password for NM

    Lets say,you are trying to start the NM from $WL_HOME/server/bin/startNodeManager.sh - this will create NM related files on $WL_HOME/common/nodemanager, on this location there will be file created with this name nm_data.properties - this file will have symetric encryption to key to read the content from " nm_password.properties" , this will happen after doing the nmEnroll for the domain - because if we use multiple domain to manage by single NM on the same machine , the " nm_password.properties" will be used by NM for startup/shutdown the domain.

    Since we cant read the dynamically created NM username and password, we can use the below way to change the NM username,password to match with weblogic admin username and password, login to Console--> Domain Name on domain structure-->Security-->Advanced--> "update the NodeManager Username and NodeManager Password to match with ur weblogic admin username/password or you can set different values then bounce the entire domain along with the NM

    If we use multiple domain to managed by same NM on the same server, then we need to update the same NM username/password for all domains using the above method.





No comments:

Post a Comment