I am scripting in WLST. If I want to check if node manager is working on a remote machine running a managed server, right now I am doing by calling nmConnect on the nodemanager.
The problem is this won't work when the password to nodemanager is not available and nodemgr.getPasswordEncrypted() won't help. Is there a better way to do that (like check some property of Machine MBean on admin server).
You can do it using the same command, to use the encrypt password instead of plain text password -
first, encrypt the password - http://weblogicserveradministration.blogspot.com/2011/04/wlst-encrypt-credentials-when-running.html
second, use it on command - http://weblogicserveradministration.blogspot.com/2010/10/encrypt-weblogic-username-password-to.html