[levelroot]/Web/SASEnvironmentManager/emi-framework/bin
(UNIX)
or [Levelroot]\Web\SASEnvironmentManager\emi-framework\bin
(Windows).
Some commands are for commonly used functions, and others are for
utilities or functions that are used infrequently. The following
commands are provided:
-h
option
on any command to display the Help.
apm_init
command
to initialize the APM ETL processes. Manual steps are also required
after you run this command. See Enabling and Initializing the APM ETL for complete information about the initialization process.apm_init(.sh|.bat) [-fvdh -–hostAlias]
emi_init
command
to initialize the EMI framework (provided as part of SAS Environment
Manager Extended Monitoring), or to enable the ACM ETL, APM ETL, or
solution kits ETL. Issue this command as part of the process of initializing
and enabling the components of SAS Environment Manager Service Management
Architecture. See Initializing and Enabling the Service Management Architecture for more information
about using this command.
emi_init(.sh|.bat) [-dfhiksv] [(—–enable|—–disable)
<ACM,APM,KITS,ALL)] [—–vafeed <ON|OFF>] [—–resetDB
—–resetFlags]
master_apm_etl
command
if you want to run the processes manually or at another time. The
command runs the processes to extract the information from the SAS
logs and load it into the SAS Environment Manager Data Mart. You can
use a scheduler to issue the command at a specified time to run the
ETL processes at a time other than the default. You can also issue
the command yourself to run the processes immediately. However, because
the SAS logs roll over at midnight, whenever the ETL processes run
after midnight, they always use the same data that was collected during
the previous 24 hours.
master_apm_init(.sh|.bat) [-dhv -–evdebug <0–3>]
master_acm_etl
command
if you want to run the processes manually or at another time. The
command runs the processes to extract the ACM data and load it into
the SAS Environment Manager Data Mart. You can use a scheduler to
issue the command at a specified time to run the ETL processes at
a time other than the default. You can also issue the command yourself
to run the processes immediately.
master_acm_init(.sh|.bat) [-dhv -–evdebug <0–3>]
master_kits_etl
command
if you want to run the processes manually or at another time. The
command runs the processes to extract the solution kit data and load
it into the SAS Environment Manager Data Mart. You can use a scheduler
to issue the command at a specified time to run the ETL processes
at a time other than the default. You can also issue the command yourself
to run the processes immediately.
master_kits_init(.sh|.bat) [-dhvx -–evdebug
<0–3>]
validate
command
to validate the structure of the SAS Environment Manager framework
and to find any errors or changes. This command runs during the initialization
process to verify that the framework is correct before anything new
is added. The command has four levels:
validate(.sh|.bat) [-qvdh] [–l <1|2|3|4>]
[-p| -–userPolicy <IGNORE|WARN|ERROR>]
agentClone
command
to create a machine-neutral archive (.tar) file of the SAS Environment
Manager agent. You can then copy the file to a server (such as a SAS
grid server) that is not part of the standard SAS environment installed
by the SAS Deployment Wizard. The agent provides monitoring support
for servers in a SAS grid.
agentClone(.sh|.bat) [-vdh] [-t <Minimal|Select>]
[–w <workingDir>]
[tarfile]
create_event
command
to manually create a SAS Environment Manager event. After it is created,
the event appears in the SAS Environment Manager Event Center.
createEvent(.sh|.bat) [-vdh] [-f <file>]
[–l <INFO|WARN|ERROR>] [–s <source>]
create_http_checks
command
to create an HTTP check service based on the definitions in the file
httpChecks.json. This file contains all of the predefined HTTP check
definitions, but not all of these definitions are created by default.
To create one of the definitions:
[levelroot]/Web/SASEnvironmentManager/emi-framework/Conf/httpChecks.json
(UNIX)
or [Levelroot]\Web\SASEnvironmentManager\emi-framework\Conf\httpCHecks.json
(Windows).
{ "name": "HTTP Check for SASTheme_default", "desc": "[Auto-Generate] HTTP Monitoring URL: /SASTheme_default", "enable": "false", "method": "GET", "port": "7980", "sotimeout": "30", "platform": "ptnode19.ptest.sas.com", "path": "/SASTheme_default", "follow": "true", "pattern": "SASTheme_default" },
false
to true
. "enable":
"false",
create_http_checks
command.
create_http_checks(.sh|.bat) [-fxvdh] [-t <taskfile>]
ev_kit_installer
command
to install new solution kits.
ev_kit_installer(.sh|.bat) [-fvdh] [-k <kitname|ALL>]
runSASJob
command
to run a SAS program with the SAS autoexec and environment necessary
for the program to access the SAS Environment Manager Data Mart and
the EMI framework.
runSASJob(.sh|.bat) [-bdhv] [––args
<args>] [––autocall
<autocall_dir>] [––autoexec
<(BATCH|APM|KITS|STP) | <autoexec_file>]
[––config <config_file>]
[––evdebug <0–3>] [––log
<log_results_file>] [––nodms]
[––printfile <output_file>]
[––work <saswork_dir>]
[––workdir <working_dir>]