This mode provides information on software installations for Windows and LINUX/UNIX servers to enable AppClarity to manage servers and server software. |
The following diagram shows a schematic of the ActiveEfficiency components involved in the server support feature.
To enable the Scout to remotely monitor Windows servers you will need to configure the following items on the target servers:
Scout for servers uses WMI and Remote Registry on Windows to discover information. Firewalls need to be configured to allow WMI connectivity, which consists of incoming traffic on TCP ports 135, 445 and additionally dynamically assigned ports, typically in the range of 1024 to 1034. These requirements must be met to enable the server Scout to remotely monitor servers for AppClarity: To configure the firewall on a single computer using the computer's local settings on Windows Server 2008:
To configure the firewall on a single computer using the computer's local settings on Windows Server 2008 R2 and above:
To configure the firewall on multiple domain computers using group policy where the windows firewall is configured to use the domain profile:
|
The following steps describe how to configure this using GPO:
|
|
The Data Capture Account used to run the Scout must have specific DCOM and WMI permissions set.
To enable the scout to remotely monitor LINUX or UNIX servers you will need to configure the following items on the target servers:
Scout for servers uses SSH on LINUX to discover information. The default SSH port is port 22. Keyboard interactive and password authentication are currently supported. The credentials for SSH login are held within a configuration file, credentials.config, found within the following directory: %program files%\1E\ActiveEfficiency\Scout\Config |
|
The ActiveEfficiency Connector and VirtualAppExporter components can all be configured to run on a schedule using Windows Task Scheduler.
The following table shows the recommended schedules for the components:
Component | Schedule |
---|---|
Scout | Once a day |
ActiveEfficiency Connector | Synchronized using the AppClarity Connector Synchronizer once a day |
We recommend that the components are also run in the order they appear in the table so that the latest information is always passed on immediately. If the Scout happens to run just after the ActiveEfficiency Connector has been synchronized the only side-effect will be that the data may, at worst, be out of date by 24 hours on a once a day schedule.
In a default installation the scout is located in the following directory:
C:\Program Files (x86)\1E\ActiveEfficiency\Scout\ |
The scout in Server mode has two specific command-line parameters that allow you to scan Windows or Linux servers. To run the scout in just Server mode you use the Modes
command-line parameter and set the value to Server
, as described in Scout Command-line. When you run the scout in Server mode you will also need to add either the Servers
or NixServers
command-line parameters. The following example shows the scout run in Server mode only, and set to scan both UNIX/Linux and Windows servers:
C:\Program Files (x86)\1E\ActiveEfficiency\Scout\Scout.exe Modes=Server NixServers=nixserverlist.txt Servers=winserverlist.txt |
To scan Windows servers you use the Servers
command-line parameter and run a command similar to the following:
C:\Program Files (x86)\1E\ActiveEfficiency\Scout\Scout.exe Modes=Server Servers=<PathToWindowsServerListFile> |
Where <PathToWindowsServerListFile>
should be replaced in the example to point to where your file containing a list of Windows servers resides, including the file name.
The file should contain a list of FQDN server host names, one per line in the file. For example:
ACMENTWK\DEV120-WACMEACE DEV121-WACMEACE.AcmeNtwk.local DEV122-WACMEACE.AcmeNtwk.local ACMENTWK\DEV1234-WMKAL DEV5678-WMKAL.AcmeNtwk.local |
To scan Linux servers you use the NixServers
command-line parameter and run a command similar to the following:
C:\Program Files (x86)\1E\ActiveEfficiency\Scout\Scout.exe Modes=Server NixServers=<PathToLinuxServerListFile> |
Where <PathToLinuxServerListFile>
should be replaced in the example to point to where your file containing a list of Linux servers resides, including the file name.
The file should contain a list of FQDN server host names, one per line in the file. For example:
ACMENTWK\DEV120-LACMEACE DEV121-LACMEACE.AcmeNtwk.local DEV122-LACMEACE.AcmeNtwk.local ACMENTWK\DEV1234-LMKAL DEV5678-LMKAL.AcmeNtwk.local |
For Linux servers the Scout also needs credentials for an account that will be used to log onto each Linux server. These must be added to the Scout credentials file:
C:\Program Files (x86)\1E\ActiveEfficiency\Scout\Config\Credentials.config |
The credentials file is in XML format. You set a credential pattern and password by addding an <sshCredential>
tag to the <sshCredentials>
tag. Each <sshCredential> tag must contain the following parameters:
Parameter | Description |
---|---|
matchingDevices | Set to a regular expression pattern to be used against the server names listed in the Linux server list file mentioned earlier. For example setting |
username | Sets the username for the account. |
password | Sets the password for the account. |
The following example Credentials.config
sets the Scout to try the root
account with the password X0123987
for all listed Linux servers, if logon with those credentials fails then the root account with the password X0129386
will be tried for any listed server whose FQDN begins with the letters Dev
.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <sshCredentials> <sshCredential matchingDevices="*" username="root" password="X0123987" /> <sshCredential matchingDevices="Dev*" username="root" password="X0129386" /> </sshCredentials> </configuration> |
You can put both parameters on the same command-line to get the scout to scan both Windows and Linux servers in one go.
C:\Program Files (x86)\1E\ActiveEfficiency\Scout\Scout.exe Modes=Server Servers=<PathToWindowsServerListFile> NixServers=<PathToLinuxServerListFile> |
Where <PathToWindowsServerListFile>
should be replaced in the example to point to where your file containing a list of Windows servers resides and <PathToLinuxServerListFile>
should be replaced in the example to point to where your file containing a list of Linux servers resides. Both of these should also include the file name.
When ActiveEfficiency has been configured you will then need to configure the synchronization of the ActiveEfficiency Connector on the server where the AppClarity Service resides. The AppClarity 5.2 documentation provides information on synchronizing the ActiveEfficiency Connector - please refer to AppClarity 5.2 - Connecting to ActiveEfficiency.