emctl create service command creates a service for the OMS on Windows. Use this command to manage the Windows service for the OMS on a failover host in a Cold Failover Cluster setup. This command is applicable only on Windows NT. The syntax of the command is:
emctl create service [-oms_svc_name <oms_service_name> -user <username>] [-passwd <password>]
The parameter descriptions are as below:
-oms_svc_name <servicename>: Indicates the name of the OMS service to be created. If a name is not specified, the system uses the service names in the EM properties file.
-user <username>: Indicates the OS user name to register the service with. If the user name is not specified, the system registers it as LocalSystem.
-passwd <password>: OS password for the OS user specified.
emctl delete service command deletes the service for the OMS on Windows. This command is applicable only on Windows NT. The command syntax is as below, where,
-oms_svc_name <servicename> indicates the name of OMS service to be deleted.
emctl delete service [-oms_svc_name <oms_service_name>]