42
Avira AntiVir Virus Scan Adapter
Avira GmbH
Windows: vscan_rfc get_config –V <drive:>\vsa\savapi.dll –cfg
<drive:>\vsa\vscan_rfc.xml
UNIX: vscan_rfc get_config –V <drive:>/usr/local/AntiVir/libantivirvsa.so.<version> –cfg
<drive:>/usr/local/AntiVir/vscan_rfc.xml
In this example, you can change the call as follows:
Windows: vscan_rfc get_config –V <drive>:\vsa\savapi.dll –cfg
<drive:>\vsa\vscan_rfc.xml –a VSCAN_LOCAL –g <Hostname of SAP Gateway> –x
<Servicename of SAP Gateway> –c <SAP Codepage>
UNIX: vscan_rfc get_config –V <drive>:/usr/local/AntiVir/libantivirvsa.so.<version> –cfg
<drive:>/usr/local/AntiVir/vscan_rfc.xml –a VSCAN_LOCAL –g <Hostname of SAP
Gateway> –x <Servicename of SAP Gateway> –c <SAP Codepage>
Configuration commands for the Self-Starter:
Command
Platform
Notes
help
all
Calls the online help for the commands and options.
regonly
all
Registers the virus scan server only at the gateway without starting
the underlying engine. The CCMS uses this command to then call
the RFC function VSCAN_RFC_INIT.
Note that if you use this command outside the CCMS, the server is
not ready for use.
get_config
all
Receives the CSA and separate server configuration and stores them
in a local XML configuration. (Option -cfg <file> is mandatory for
this). The options received using the command line are stored as the
server configuration in this case. If you do not specify any command
line options, the predefined values are set.
Use this command to start the setup of a self-starter. If the file
specified using the option -cfg does not exist, a new file is created.
install
NT
Installs a “new” VSCAN_XX service in the Microsoft Windows NT
Service Control Manager (SCM).
The -cfg option with a specification of a local configuration is
mandatory for this command. The service is installed if the VSA is
successfully initialized. If you specify additional options, these are
only stored in the XML file used. The -srvc option specifies the
number of the service; that is, you can install up to 100 services on a
host. The default value for -srvc is 00.
remove
NT
Deletes an existing VSCAN_XX service in the Microsoft Windows
NT Service Control Manager (SCM).
You can specify the service more exactly using the -srvc option.
Example: vscan_rfc remove -srvc 1 deletes the existing service
VSCAN_01.
start
NT
Starts an installed VSCAN_XX service. This command starts the
service with the specified options.
The Microsoft Windows NT command "net start VSCAN_XX“ starts
the previously installed service only if the local configuration is
used.
stop
NT
Stops a running VSCAN_XX service. This command corresponds to
the Microsoft Windows NT command “net stop ...”.