tag:blogger.com,1999:blog-7333189570510911465.post4892187329348993964..comments2024-03-21T23:11:19.831-07:00Comments on WLST by Examples: NodeManager Experiments using WLSTPavan Devarakonda [PD]http://www.blogger.com/profile/06638309611528564002noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-7333189570510911465.post-62674772302406470312012-04-27T16:03:10.044-07:002012-04-27T16:03:10.044-07:00So working through this recently with using a prop...So working through this recently with using a properties ibject and using nodemanager to start managed servers on remote systems, I found issues with the WLST documentation.<br /><br />If you connect to an Admin server first, you can use the "start()" method there to start a server or cluster just as you would with the Admin Console.<br /><br />This does not mean you do not need the nodemanager, but it does allow you to be able to let folks control configuration via the gui console if they want, and then use this method to stop/start servers via the Admin Server instead of the Node Manager.Chris Hnoreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-51011411423885252282012-03-13T10:06:55.325-07:002012-03-13T10:06:55.325-07:00Start Node Manager.
Usually, as part of configurin...Start Node Manager.<br />Usually, as part of configuring Node Manager, you create a Windows service or a daemon that automatically starts Node Manager when the host computer starts.<br />Node Manager is not already running, you can log on to the host computer and use WLST to start it:<br />c:\>java weblogic.WLST<br />wls:/offline> startNodeManager(verbose='true',StartScriptEnabled='true')<br /> <br />you can provide as many as number of properites for node manager in startNodeManager as a comma sparated value<br />Below are some of the propoertis you can provide thorgh startNodeManager() function<br /> NodeManagerHome=C:\bea\wlserver_10.3\server\bin, ListenAddress='localhost', ListenPort='5556',<br /> ListenBacklog='50', SecureListener='true', AuthenticationEnabled='true', NativeVersionEnabled='true', CrashRecoveryEnabled='false',<br /> JavaHome='C:\bea\JROCKI~1\jre', StartScriptEnabled='false', StopScriptEnabled='false',<br /> StartScriptName='startWebLogic.cmd', StopScriptName='', LogFile='C:\bea\wlserver_10.3\server\bin\nodemanager.log', LogLevel='INFO',<br /> LogLimit='0', LogCount='1', LogAppend='true', LogToStderr='true', LogFormatter='weblogic.nodemanager.server.LogFormatter',<br /> DomainsFile='C:\bea\wlserver_10.3\server\bin\nodemanager.domains', DomainsFileEnabled='true',<br /> StateCheckInterval='500', QuitEnabled='true',<br /><br />Answered by Narsimha SastryPavan Devarakonda [PD]https://www.blogger.com/profile/06638309611528564002noreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-5936353570962331682012-03-12T01:24:40.753-07:002012-03-12T01:24:40.753-07:00Hi, Can any one help in setting the StartScriptEna...Hi, Can any one help in setting the StartScriptEnabled value to true using WLST in linux env. I am trying to automate the process of bringing up the servers and i am using a py file with WLST commands to do the same.<br /><br />Thanks,<br />GowdaGowdahttps://www.blogger.com/profile/13069351351915183158noreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-44667715191996590492012-03-12T01:22:46.978-07:002012-03-12T01:22:46.978-07:00This comment has been removed by the author.Gowdahttps://www.blogger.com/profile/13069351351915183158noreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-2153052859763882222011-11-07T21:24:06.072-08:002011-11-07T21:24:06.072-08:00Thats really good idea. Did you able to navigate t...Thats really good idea. Did you able to navigate to the corresponding MBean tree?<br />Where did you reach on it? sure I will help you as per your inputs.Pavan Devarakonda [PD]https://www.blogger.com/profile/06638309611528564002noreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-83680703358428224062011-11-06T21:41:31.957-08:002011-11-06T21:41:31.957-08:00Hi, can you help on how to change the node manager...Hi, can you help on how to change the node manager type (ssl or plain) for all machines in one shot using WLST. It would be really helpfulAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-79499949079411538122010-12-20T19:07:49.890-08:002010-12-20T19:07:49.890-08:00Jyothula,
What is the issue you are facing ?
Sure...Jyothula, <br />What is the issue you are facing ?<br />Sure I might help you...Pavan Devarakonda [PD]https://www.blogger.com/profile/06638309611528564002noreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-82035993500151263192010-12-14T06:17:32.773-08:002010-12-14T06:17:32.773-08:00Hello Pavan,
Can you help me creating a WLST scri...Hello Pavan,<br /><br />Can you help me creating a WLST script to start node manager using xinetd service..Knowledge IS wealthhttps://www.blogger.com/profile/14185785579460662107noreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-12624630557116502342010-10-03T19:13:28.758-07:002010-10-03T19:13:28.758-07:00Hey Chris, it is really interesting about Java Nod...Hey Chris, it is really interesting about Java NodeManager. I didn't tried that type yet. It will be great if you share that python script. What about pre-settings? Kindly listout if you have some time. Thanks for being with this blog posting.Pavan Devarakonda [PD]https://www.blogger.com/profile/06638309611528564002noreply@blogger.comtag:blogger.com,1999:blog-7333189570510911465.post-56608158804224031512010-10-03T18:37:36.137-07:002010-10-03T18:37:36.137-07:00Hello, not sure if you are still facing issues wit...Hello, not sure if you are still facing issues with this, but I have been doing remote server starts for some time now and actually use a self-written tool that uses config files and nmStart so that you can change the values for arguments and then restart a server with them. I use the Java nodemanager process to do this. It gets even a little more complex when you are running in a production environment within your domain on multiple servers as well.<br /><br />Please let me know if you still have issues and I can send you a snip of code that I use to create the properties object and pass into nmStart.<br /><br />CheersChris Hnoreply@blogger.com