Minggu, 10 Agustus 2014

Automatically start Maximo or SCCD server

To automatically start Maximo or SmartCloud Control Desk (SCCD) when the hosting server starts you need to configure the WebSphere Node Agent to start automatically start at server boot.

Automatically start WebSphere Node Agent

This can be achieved on Windows setting up the WebSphere Node Agent as a Windows service using the WASService command located in the [APPSRVDIR]\bin directory.

WASService -add "Node Agent"
-servername nodeagent -profilePath "[APPSRVDIR]\profiles\[PROFILENAME]"
-wasHome "[APPSRVDIR]"
-logRoot "[APPSRVDIR]\profiles\[PROFILENAME]\logs\nodeagent"
-logFile "[APPSRVDIR]\profiles\[PROFILENAME]\logs\nodeagent\startNode.log"
-restart true -startType automatic

If WebSphere is installed on D:\IBM\WebSphere and the profile is named ctgAppServer the command will look like this:

cd D:\IBM\Websphere\Appserver\bin
D:
WASService -add "Node Agent" -servername nodeagent -profilePath "D:\IBM\WebSphere\AppServer\profiles\ctgAppSrv01" -wasHome "D:\IBM\Websphere\Appserver" -logRoot "D:\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\logs\nodeagent" -logFile "D:\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\logs\nodeagent\startNode.log" -restart true -startType automatic 


Automatically start Maximo application server

The Maximo application server can now be configured to automatically start when the Node Agent is started using WebSphere Node Monitoring as described in this article.
To implement Node Monitoring use the following steps:
  1. Log into WebSphere Integrated Solutions Console.
  2. From the left navigation select Servers > Application Servers.
  3. Click the appropriate Maximo Application Server (default name MXServer).
  4. Expand Java and Process Management and click on Monitoring Policy.
  5. Change the Node restart state to RUNNING
  6. Click Apply
  7. Click Save to save the master configuration
  8. Repeat for each server in the cluster.

    An alternative approach is to configure the application server to be started as a windows service as described in this IBM TechNote.


      Source:http://maximodev.blogspot.com/2013/09/automatically-start-maximo-or-sccd.html

      Tidak ada komentar:

      Posting Komentar