SDMS External Collectors |
Content |
||||||||||||||||
|
Introduction |
|
|
Collectors are a component of the Scientific Data Management module. As introduced in the SDMS Collectors help topic, a Collector can run internal to the LabVantage application, or in a distributed deployment on various nodes of your network. This document describes how to install and upgrade external collectors. Internal collectors require no additional install or upgrade steps. The general steps are:
|
Installing an External Collector |
|
|
Before you begin, review your SDMSPolicy. There are three properties that must contain valid paths. These are grouped as "External Collector Installer Defaults". Any code you have written for a custom Collector Type must be in the path specified by your policy. Other defaults from the policy can be adjusted as necessary. See The Download Install Dialog below for those options.
There are two pathways to adding a Collector. One avenue is through the SDMS Collectors Dashboard. Another option is through the Lab Admin site map. Navigate your menus to Lab Admin > SDMS > SDMS Dashboard.
The Download Installer Dialog |
The installer will ask you to enter some property values for this Collector. Each value can be populated with a default from the SDMS Policy. If you have not already created a token for an SDMS Collector, the Token list will be empty. See the Tokens help topic.
Field | Description |
Platform | The operating system where the collector will be running. Choose Windows or UNIX. |
Token | A selectable list of Authentication Tokens that you have previously created for SDMS Collectors. |
External URL | Defaults to the URL of your LabVantage application server and is taken from your SDMS Policy settings. Syntax is http:// (or https://) [LIMS_host]:[optional_port]/[application_name]/sc |
Java Options | Choose bundle to export the JDK being used by LabVantage. Or you can use a local path by identifying that path or by using the path in your Collector host's environment. |
Logging Options |
Log Level: Filters messages sent to the console according to their log levels. Log levels supported are (from minimal to max level) None, Fatal, Error, Warn, Status, Info and Debug. Max Size: The log file can be set to roll when the file reaches a specified size in Mb. Max Files: After this number of log files has been generated, the oldest is deleted before creating a new log file. |
Wrapper JVM Checks |
Yes enables the detection of deadlocks. If detected, the system can send you an email. See below. |
Wrapper Email Notifications |
Log Detailed Information: Yes will send log detailed information at the INFO level each time an email is sent. SMTP Host: The Wrapper will attempt to connect to this email host. SMTP Port: The port number of your SMTP host when sending email. Subject: Configures the subject of the email. Sender: Specifies the from address of the email. Recipient(s): Specifies the recipient(s) of the emails. When more than one email is specified, they must be separated by a semicolon (;) |
Enable Event Specific Email Yes or No for each |
Send email when wrapper starts. |
Specify custom mail content |
JVM restart email body: Specifies the email body to be sent when JVM restart event occurs. |
Click OK to begin the download.
Installing an External Collector on Windows |
When you configure your external collector, you have the choice of deploying on a Windows or UNIX platform. For a Windows platform, you will get a ‘zip’ file. This section addresses Windows. You will need to sign into your Windows desktop as an Administrator in order to complete these steps. We will see how to deploy an external collector on UNIX separately.
Your installation is complete. Keep in mind the bin directory which contains scripts for stopping and uninstalling the service should that be necessary. Refer to the logs directory for any errors.
Installing an External Collector on UNIX |
When you configure your external collector, you have the choice of deploying on a UNIX platform. For UNIX, you will get a 'tar.gz' file when you perform the download steps above. This section addresses UNIX. To perform the install, sign in as the user 'root'.
chmod 770 -R ./
You might consider changing the owner to a group for the purposes of letting other user(s) start and stop the daemon. Example chown :usergroup -R ./
Your installation is now complete. If you ever need to uninstall the collector, use the command ‘bash SDMSCollector remove’.
Upgrading an External Collector |
|
|
The SDMS Collectors Dashboard will signal the need for an upgrade or a reboot. This applies to both internal and external collectors and is triggered if there are any configuration changes made to the collector or any if its instruments. This includes when a collector has a list of custom jar files that differ from the list in the install-image (sdmscollector/custom/lib). It also checks the contents of the custom wrapper-custom.conf. When the build on the collector’s sapphire.jar differs from the server’s sapphire.jar also requires an upgrade. The dashboards will let you know if a runtime or a full upgrade is needed.
There are two modes for upgrading an external collector. These are Automatic and full manual. You are eligible for an automatic upgrade in these situations:
An automatic upgrade is easier and simpler since everything is carried out from within the LIMS browser application. The external Collector will upgrade using the instructions you send.
A full upgrade is required when you have performed a major upgrade of LabVantage. For example, you have gone from LabVantage 8.5 to LabVantage 8.6. In some cases, a patch could also trigger a full upgrade. You will perform a partial re-install of the external collector. The only thing that might not change here are the configuration settings.
In automatic mode, you can choose to upgrade just the custom JAR files you added to your Collector. Or you can upgrade the sapphire.jar and any custom JARs.
Auto Upgrade of an External Collector |
If your upgrade is eligible for an Automatic Upgrade, clicking the Upgrade button from the Collectors Dashboard will present these options:
Download upgrade set if you need to perform a full upgrade and manually replace the contents in each directory. Automatically deliver to the target and Auto-upgrade will run immediately.
Manual Upgrade of an External Collector on Windows |
In manual mode, you will need to create an 'upgrade' directory inside the collector's home directory and unzip the content of the upgrade zip into your upgrade directory.
Manual Upgrade of an External Collector on UNIX |
Unless otherwise permitted, you may need to perform these steps as the user: root. In manual mode, you will need to create an 'upgrade' directory inside the collector's home directory and uncompress the content of the upgrade .gz into your upgrade directory.