Starting services
During installation, products may be installed
as services. When installed as services, default values are specified
for the parameters that are associated with the services.
The
parameters for the
Global Manager
service:sm_service install --force --unmanaged --startmode=runonce \ '--name=ic-sam-server' \ '--description=VMware Smart AssuranceService Assurance Manager Server' \ '/data/username/SAM_811_clean/SAM/smarts/bin/sm_server' \ '-n' \ 'INCHARGE-SA' \ '--config=ics' \ '--port=0' \ '--ignore-restore-errors' \ '--output'
The parameters for the Adapter Platform service:
sm_service install --force --name=ic-sam-server "--description=VMware Smart AssuranceService Assurance Manager Server" --startmode=runonce E:\data\SAM\9.2\SAM\smarts\bin\sm_server.exe "-n" "INCHARGE-SA" "--config=ics" "--port=0" "--ignore-restore-errors" "--output"
The parameters for the SNMP Trap adapter service:
/opt/InCharge/SAM/smarts/bin/sm_service install --force --unmanaged --startmode=runonce --name=ic-trapd-receiver --description="VMware Smart AssuranceSNMP Trap Adapter" /opt/InCharge/SAM/smarts/bin/sm_trapd --name=TRAP-INCHARGE-OI --server=INCHARGE-OI --config=icoi --port=162 --model=sm_actions --rules=icoi-trapd/Notif-trap_mgr_parse.asl --seed=seedfile --output C:\InCharge\SAM\smarts\bin>sm_service install --force --name=ic-trapd-receiver --description="VMware Smart AssuranceSNMP Trap Adapter" C:\InCharge\SAM\smarts\bin\sm_trapd.exe --name=TRAP-INCHARGE-OI --server=INCHARGE-OI --config=icoi --port=162 --model=sm_actions --rules=icoi-trapd/Notif-trap_mgr_parse.asl --seed=seedfile --output
The parameter for the Syslog adapter service:
/opt/InCharge/SAM/smarts/bin/sm_service install --force --unmanaged --startmode=runonce --name=ic-syslog-adapter --description="VMware Smart AssuranceSyslog Adapter" /opt/InCharge/SAM/smarts/bin/sm_adapter --name=SYSLOG-INCHARGE-OI --rserver=INCHARGE-OI --tail=/var/log/syslog --model=sm_system --model=sm_actions --output icoi-syslog/Notif-SysLog_mgr.asl C:\InCharge\SAM\smarts\bin>sm_service install --force --name=ic-syslog-adapter --description="VMware Smart AssuranceSyslog Adapter" C:\InCharge\SAM\smarts\bin\sm_adapter.exe --name=SYSLOG-INCHARGE-OI --rserver=INCHARGE-OI --tail=/var/log/syslog --model=sm_system --model=sm_actions --output icoi-syslog/Notif-SysLog_mgr.asl
When products are installed as services, they start automatically upon
system restart. The following sections describe additional methods
to start services.