Configuration during SELECTserver install
When installing SELECTserver, one of the screens allows for the automatic configuration of the log file upload. The recommended way to configure SELECTserver for uploading the Usage and Client logs to Bentley is to make the "Monthly Automatic Upload" selection on this dialog box. This will make sure that the logs are sent on a regular basis with no extra work needed by the administrator. This same screen will appear twice since each of the two types of logs can be configured differently.
If SELECTserver is not configured to send the log files automatically, they will need to be sent manually. If the logs are not uploaded, a red-letter warning message will appear on the Administrative Interface page after 90 days. Note that this message is only a reminder and will have no effect on SELECTserver functionality.
Administrator Initiated Transfer
If the "Administrator initiated transfer" selection is made, the administrator will need to go to the "Scheduled Activities" section of the SELECTserver administrative interface page and click the "Activity Status" link to send the logs manually.
Find the link on the next page that starts with "ALL-UPLOAD-INTERNET…". Simply click the link.
This will take you to a page with another link that says "You may manually start the Activity".
When that link is clicked, the status will change to "running" and after a few seconds, a refresh of the screen should change it back to "idle".
Once that is done, check the lmdebug.log file in the SELECTserver directory to see if the upload was completed successfully.
The log should have entries similar to this: LM2620I Log File Upload activity has been started. [ActivityLogFileUpload::run(0)]
LM1830I Attempting to send file 'upload\USAGE-license-Upload.gz'.
LM1850I Sending file 'upload\USAGE-license-Upload.gz' has completed SUCCESSFULLY.
If the upload fails, it will tell you that also.
The log files can also be manually emailed to Bentley by sending them to sslogs@bentley.com. Note that this will not remove the red-letter warning message on the SELECTserver Administrative Interface.
Configuration after the SELECTserver install
If the required links are not seen on the admin interface page, the SELECTserver\lmserver.inf file will need to be properly configured.
At the very end of the file, is this section:
# SCHEDULE_ACTIVITY[2] = "LogFileUpload: NAME=USAGE-UPLOAD-INTERNET-SCHEDULED UPLOAD=USAGE MONTH=* DAY=Random(1-28) HOUR=Random(0-23) MINUTE=*
HOST=http://registration.bentley.com/selectserv/reqhost.cfm"
# SCHEDULE_ACTIVITY[3] = "LogFileUpload: NAME=REG-UPLOAD-INTERNET-SCHEDULED UPLOAD=REGISTRATION MONTH=* DAY=Random(1-28) HOUR=Random(0-23) MINUTE=*
HOST=http://registration.bentley.com/selectserv/reqhost.cfm"
# SCHEDULE_ACTIVITY[4] = "LogFileUpload: NAME=ALL-UPLOAD-INTERNET-MANUAL UPLOAD=ALL HOST=http://registration.bentley.com/selectserv/reqhost.cfm"
# SCHEDULE_ACTIVITY[5] = "LogFileUpload: NAME=USAGE-UPLOAD-INTERNET-MANUAL UPLOAD=USAGE HOST=http://registration.bentley.com/selectserv/reqhost.cfm"
# SCHEDULE_ACTIVITY[6] = "LogFileUpload: NAME=REG-UPLOAD-INTERNET-MANUAL UPLOAD=REGISTRATION HOST=http://registration.bentley.com/selectserv/reqhost.cfm"
# SCHEDULE_ACTIVITY[7] = "LogFileUpload: NAME=ALL-UPLOAD-TO-FILE-MANUAL UPLOAD=ALL"
# SCHEDULE_ACTIVITY[8] = "LogFileUpload: NAME=USAGE-UPLOAD-TO-FILE-MANUAL UPLOAD=USAGE"
# SCHEDULE_ACTIVITY[9] = "LogFileUpload: NAME=REG-UPLOAD-TO-FILE-MANUAL UPLOAD=REGISTRATION"
# SCHEDULE_ACTIVITY[1] = "LogFileUpload: NAME=ALL-UPLOAD-INTERNET-SCHEDULED UPLOAD=ALL MONTH=* DAY=Random(1-28) HOUR=Random(0-23) MINUTE=*
HOST=http://registration.bentley.com/selectserv/reqhost.cfm"
There are nine different options. This is because there are two log files that can be sent separately or together and there are different options for sending, upload to file, upload to Internet manually and upload to Internet scheduled. Choose options 1, 4 or 7 for handling the log files together. The option chosen simply needs to be uncommented. Then save the file and restart the Bentley LMServer service.
Whenever the log files are sent, they are first encrypted and zipped up into ".gz" files. They are then copied to the upload directory before being uploaded to the Bentley server. Option 1 is for a regularly scheduled upload of both log files. By default it goes with a random date, but it can be configured to send on a specific date and time. Option 4 is for a manual Internet upload. This means that the admin will have to manually send the log files per the instructions above. Option 7 is for creating the zip files and sending them to the upload directory only. It will not actually send the files anywhere. This allows the administrator to review the log files before they are sent to Bentley Systems.
Proxy Server Configuration
If the network utilizes a proxy server, the Bentley LMServer Service will need to be changed from it's default "local system" account to one that has proxy settings enabled. SELECTserver uses the Internet Explorer client settings ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings") for finding the requirements and locations of a proxy server. Make sure this user id has its Internet Settings properly configured to use the correct proxy server. To do this, login interactively as this user and use the Internet Explorer "Tools > Internet Options > Connections > LAN Settings > Proxy server" to manually setup the proxy server address and port.
Note that, for ease of server maintenance, it may be desirable to use a user id context for which the password never expires.
Once the new account is properly configured, use the "Control Panel > Administrative Tools > Services > Bentley LMServer > Properties > Log On > This Account" to configure the SELECTserver to run as a particular user id.
- From the Services Window, double click on "Bentley LMServer".
- In the Properties box, click on the "Log On" tab.
- Under "Log on As:", change the setting from "Local System Account" to "This account".
- Enter the Log on ID and password of an account that has proxy settings enabled.
- Stop and restart the service.