Optimize 10.5 | webMethods Optimize Documentation | Administering webMethods Optimize | For System Administrators | Configuring and Using the Infrastructure Data Collector | Configuring Infrastructure Data Collector Service Name
 
Configuring Infrastructure Data Collector Service Name
If you have installed Infrastructure Data Collector as a service, you can change the service name.
*To change the Infrastructure Data Collector service name:
1. Open a command prompt and remove the previous service by running the following command:
install_dir\profiles\InfraDC\bin\service.bat -remove
2. Open the Software AG_directory\profiles\InfraDC\bin\setenv.bat file and change the following lines:
SET SERVICE_NAME=saginfrastructuredatacollector9.10_1.1
SET WINDOW_TITLE=Software AG Optimize Infrastructure Data Collector 9.10 (1)
3. Save the setenv.bat file and close it.
4. Open the Software AG_directory /profiles/InfraDC/configuration/wrapper.conf file and edit the appropriate lines to read as follows:
wrapper.ntservice.name=saginfrastructuredatacollector9.10_1.1
wrapper.ntservice.displayname=Software AG Optimize Infrastructure Data
Collector 9.10
wrapper.ntservice.description=Software AG webMethods Optimize Infrastructure
Data Collector 9.10
5. Save the wrapper.conf file and close it.
6. Register the new service name by running the following command:


Software AG_directory
\profiles\InfraDC\bin\service.bat -install.