- Change to the \bin directory where WebSphere is installed, for example:
C:\Program Files\IBM\WebSphere\AppServer\bin
- Run the following command:
wasservice -add ctgNode01_nodeagent -servername nodeagent -profilePath "...\IBM\WebSphere\AppServer\profiles\ctgAppSrv01" -wasHome "...\IBM\WebSphere\AppServer" -logFile "...\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\logs\nodeagent\startNode.log" -logRoot "...\IBM\WebSphere\AppServer\ctgAppSrv01\logs\nodeagent" -restart true -startType automatic
- Use a registry editor, such as Regedit, and open this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IBMWAS61Service - ctgCellManager01
- Create a Multi-String Value named DependOnService.
- Enter the value "IBMWAS61Service - ctgNode01_nodeagent" for this new key. This will make the WAS Cell Manager service dependant on the node agent service starting first.
see : http://publib.boulder.ibm.com/infocenter/tivihelp/v10r1/index.jsp?topic=%2Fcom.ibm.srm.doc_7.1%2Finstalling%2Fsrc%2Ft_ccmdb_confignodeagentrtorunasservice.html