archservice

Use this program to complete the following tasks from a command line: install Collector Server instance as a Windows service, start and stop the service, and request the service status. Also, use this program to uninstall the service.

Format

Read syntax diagramSkip visual syntax diagramarchserviceinstallarchint.ini -iprofilestartstopremovestatusiccsap -nsuffix -h

Parameters

install
Installs a Collector Server instance as a service.
-i profile
Specifies the fully qualified file name of the server configuration profile that you want to use. You can omit this parameter if the server configuration profile is in the directory that you issue the command from and if its name is archint.ini.
-n suffix
Specifies the suffix that is added to the default name iccsap to make the name unique.
start
Starts the service.
stop
Stops the service.
remove
Uninstalls the service.
status
Shows the status of the service.
-h
Displays help information about the archservice command

Comments

  • During the installation, registry keys are created in the Windows registry. All modifications of the registry are displayed in the command prompt. You can view information about the success or failure of installing, removing, starting, or stopping the service on the Application page of the Event Viewer window of Windows.
  • You can run several Collector Server instances as services on a single system. In this case, you must give each service a unique name.

Examples

archservice install
Installs a Collector Server instance as a Windows service.
archservice install -i C:\Users\iccsapadmin\AppData\Roaming\IBM\iccsap\inst2\archint2.ini -n 2
Installs the Collector Server instance with the server configuration profile archint2.ini as a service. The server configuration profile is in the C:\Users\iccsapadmin\AppData\Roaming\IBM\iccsap\inst2 directory. The service is named iccsap_2.
archservice remove -n 2
Uninstalls the service iccsap_2.
archservice start -n 2
Starts the service iccsap_2.
archservice stop -n 2
Stops the service iccsap_2.
archservice status -n 2
Displays the status of the service iccsap_2.