Running the ant command to create a Service View cluster automatically creates a Windows service, as follows:
For example, when you first run this command, suppose you specify view.node.id=1 in the cluster.properties file. In that case, the command creates a folder named view1 and a new Windows service named CA Service View1.
Similarly, when you run this command for the second time, suppose you specify view.node.id=2 in the cluster.properties file. In that case, the command creates a folder named view2 and a new Windows service named CA Service View2.
Likewise, when you update the file again and run this command again each successive time, it creates the folder and service, and names them accordingly.
viewservice.bat -i
The new Windows Service named CA Service Viewnumber is created, where number is the same as the view.node.id=number parameter in the cluster.properties file.
A sample service name is CA Service View3.
This action creates a log file named tomcat_viewnumber.log in the folder named %USM_HOME%\logs\view_logs. The number is the same as the view.node.id=number parameter in the cluster.properties file. A sample file name is tomcat_view3.log.
Note: To remove the CA Service Viewn service, enter the command: viewservice.bat –r.
Verifying the server.xml files is a required task when you set up a cluster.
To verify the server.xml files
<Engine name="Standalone" defaultHost="localhost" debug="0" jvmRoute="_hostname_{usmviewnumber|cawfnumber}">
<Receiver
className="org.apache.catalina.cluster.tcp.ReplicationListener"
tcpListenAddress="auto"
tcpListenPort="4002"
tcpSelectorTimeout="100"
tcpThreadCount="6"/> <Receiver
You have verified the server.xml files.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |