OpCon Server Configuration
Theme: Configure
Who Is It For? System Administrator
What Is It?
Configure the OpCon Server after a new installation. After an upgrade, review these items to confirm the server is still configured correctly.
Configuration Options
Implement Temporary License
The temporary license lets you run OpCon immediately while waiting for a permanent license.
- Copy the 0.lic file from the root of the distribution media
- Paste the file to the <Configuration Directory>\SAM\ folder
Result: The temporary license file is in place and OpCon can start processing while the permanent license is being obtained.
Configure Database Scripts
The database environment and scripting variables are updated during database scripts installation. To update the database maintenance, mirroring, and replication scripts, use the SMA OpCon Configuration Utility.
- Use menu path: Start > All Programs > OpConxps > Utilities > SMA OpCon Configuration Utility
- Ensure the Database Scripts option (left side of utility) is selected
- Select the Maintenance tab. If the database is on the same machine as the SAM, you can browse to the folders
- Select the Maintenance Variables Verified option and select Update Scripts
- Select the New button in the Profiles section at the bottom of the screen
- Enter a name for the profile and select Save
Result: The database scripts are updated with the correct maintenance variables and a named profile is saved for use by scheduled maintenance jobs.
Configure Database Connections
OpCon uses a single database for all system data. Configure all components to connect to that database.
Server and User Interface Connections
Confirm the Enterprise Manager is configured to communicate with the OpCon database.
The OpCon Server component database connection is automatically configured during SMA OpCon SAM installation. Refer to the SMA Connection Configuration Tool in the Server Programs online help.
Configure the Database Connection Information for the OpCon Server
Use menu path: Start > All Programs > OpConxps > Utilities> SMA Connection Config
In the Server\Instance Name field, enter the Server Name (include the instance name if needed using the Server\Instance Name syntax)
Enter the database name in the Database Name field
Configure the authentication method:
- Select the Use Windows Authentication option - or -note
For Windows Authentication, the SMA Service Manager must run as a user with privileges to the OpCon database. Refer to OpCon Server Configuration.
- Enter the SQL Authentication credentials:
- Enter opconsam in the Database Login ID field
- Enter opconsam's password in the Database Password field
- Select the Use Windows Authentication option - or -
Select a Configuration option:
- None: No setting (default)
- SQL Always On: SQL Server configured for high availability
- SQL Mirroring: SQL Server configured for mirroring To configure Database Connections, complete the following steps:
Select Connect
Select OK to confirm the connection
Select OK to close the program
Result: The OpCon server database connection is configured and the SAM-SS components can connect to the specified database.
Advanced Database Connection Parameters (OpCon REST API)
The OpCon REST API uses the connection string in SMAODBCConfiguration.DAT. Add optional parameters such as MaxPoolSize by editing the file manually.
Stop the OpCon REST API service before editing. Back up the file before making changes.
File location: C:\ProgramData\OpConxps\SAM\SMAODBCConfiguration.DAT (or the SAM folder for non-default installations)
Format: The file contains a SQL connection string with semicolon-separated parameters. Append additional parameters before the final semicolon.
| Parameter | Description |
|---|---|
| MaxPoolSize | Sets the maximum connections in the pool. Append MaxPoolSize=500 (or your desired value) to tune performance for environments with many concurrent REST API requests. |
Restart the OpCon REST API service after saving the file.
Create a Profile for the EM to Connect to the Database
Use menu path: Start > All Programs > OpConxps > Enterprise Manager
On the Welcome screen, select OK
On the Database Connection Profile screen, enter a Profile Name in the Profile Name text box
Choose an authentication method:
- For SQL Authentication, enter opconui in the Username field and opconui's password in the Password text box
- For Windows Authentication, select the Use Windows Authentication option
Enter the Server name or IP Address in the SQL Server text box
cautionIf the server name contains a backslash (\), the server uses SQL Instance Names. The SQL Server Browser service must be running on that server.
Select the database from the Database list, or select the Database button to view available databases
noteThe database list is only available after all previous fields are filled in.
(Optional) Enter the Timeout (sec) (default: 30)
(Optional) Select the Color button, choose a Profile color, and select OK
Select Next to advance
noteThe next window indicates whether the database connection tested successfully.
If the test failed, select Back, correct the problem, and try again
If the test succeeded, select Next to set up OpCon installation details
noteThe default [[SERVER]] token in the UNC path is automatically replaced with the database server IP/Hostname from the profile. Changing the database server in the profile does not require changing the UNC path if the share directory is the same.
Confirm the path to the OpCon directory on the SAM server
Select Finish to save the profile
Result: The Enterprise Manager database connection profile is saved and the EM can connect to the OpCon database using the configured credentials.
OpCon installation details can also be set in Profiles or Preferences. Refer to Setting up New Profiles in the Enterprise Manager online help.
Utilities Connections
Set Privileges for Utilities
Configure utilities for compatibility with Windows before setting up database connections.
Locate LegacyAudit.exe in <Target Directory>\OpConxps\Utilities\
Right-click LegacyAudit.exe and select Properties
Select the Compatibility tab
Select the Run this program as an administrator option and select OK
Locate SMAODBCConfig.exe in <Target Directory>\OpConxps\DDI\
Right-click SMAODBCConfig.exe and select Properties
Select the Compatibility tab
Select the Run this program as an administrator option and select OK
Result: Both utility executables are configured to run as administrator, enabling them to manage ODBC DSNs and database connections correctly on Windows.
Create System DSNs
All utilities require a system DSN. Complete the procedures below if the required system DSNs do not exist.
Verify that the most recent ODBC driver for Microsoft SQL Server is installed before creating the system DSN.
Select a Driver
Use ODBC Data Sources in Windows to configure the System DSNs. You must run as Administrator to configure DSNs. SQL DSNs are shared by multiple utilities.
Log in as a Windows user with Local Administrative Rights
Search for ODBC Data Sources in the Windows search bar
Right-click ODBC Data Sources (64-bit) or ODBC Data Sources (32-bit) and select Run as administrator
Select the System DSN tab
Select Add
Select the SQL Server driver and select Finish
Enter a unique Data Source name in the Name field. Continuous recommends using the database name
dangerDo not use the same name as the SQL server instance name.
(Optional) Enter Connection to the OpCon scheduling database in the Description field
Enter the Host Name of the server hosting the database in the Server field and select Next
Select the With SQL Server authentication using a login ID and password entered by the user radio button
Enter the required ID in the Login ID field
Enter the required password in the Password field and select Next
noteContact SMA support if you need login information.
Select the Change the default database to option
Select the OpCon database
Accept the remaining defaults and select Next
Accept all defaults on the last screen and select Finish
Select the Test Data Source button
- If the test succeeds, select OK on subsequent screens to exit
- If the test fails, select Cancel, return to Step 7, and repeat until successful
In the ODBC Data Source Administrator window, select OK
To set up System DSNs for the Schedule Import Export utility, select Add
Select Microsoft Access Driver (*.mdb) and select Finish
Enter a data source name in the Data Source Name text box
(Optional) Enter a description
Select the Select button
Browse to the Utilities directory (e.g., C:\Program Files (x86)\OpConxps\Utilities\)
Select IMPEX.mdb and select OK
Select OK
Select OK on the System DSN tab
Select the new data source and select OK
Result: The system DSNs are created and OpCon utilities can connect to the database and the Schedule Import Export transport databases.
Configure SMADDI
If SMADDI is included in your installation, refer to Configuring the Database Connection.
Configure SMA Resource Monitor
If SMA Resource Monitor is included in your installation, refer to Modify the SMAResourceMonitor.ini File.
Configure SQL Permissions
Configure SQL permissions for:
SQL Authentication
To run Continuous database maintenance scripts using SQL Authentication, the running SQL user must have the db_owner role. Users are defined in the Maintenance Scripting Variables file via the DB Backup User and DB Restore User variables. By default, opconsam is the DB Backup User and sa is the DB Restore User. Skip this procedure if you use sa for either user.
Grant db_owner Permissions for SQL Users
On the preferred Database Server:
Log in as a local administrative user
Use menu path: Start > All Programs > Microsoft SQL Server > SQL Server Management Studio
Select Database Engine in the Server type list
Select the OpCon Database Server in the Server name list
Choose your authentication type and provide credentials:
- Log in as sa for SQL Server Authentication - or -
- Use a Windows user with system administration privileges To configure SQL Permissions, complete the following steps:
Select Connect
In Object Explorer, expand the SQL Server hosting the OpCon database
Expand Security > Logins
Right-click the DB Backup User and select Properties
Select User Mapping
Select the OpCon Database option
Select db_owner in Database role membership
Select the master database if this user backs up system databases
Select db_owner in Database role membership
Select the msdb database if this user backs up system databases
Select db_owner in Database role membership and select OK
Right-click the DB Restore User under Logins and select Properties
Select User Mapping
Select the OpCon Database option
Select db_owner in Database role membership and select OK
Result: The DB Backup User and DB Restore User are granted the db_owner role on the OpCon database and can run database maintenance scripts.
Windows Authentication
Complete the procedures below so that OpCon user applications can authenticate.
Add the OpConxps Active Directory Group to the SQL Server
On the SQL Server Machine:
Log on as a local administrative user
Use menu path: Start > All Programs > Microsoft SQL Server > SQL Server Management Studio
Select Database Engine in the Server type list
Select the OpCon Database Server in the Server name list
Choose authentication type and provide credentials:
- Log in as sa for SQL Server Authentication - or -
- Use a Windows user with system administration privileges
Select Connect
Use menu path: View > Object Explorer
In Object Explorer, expand the SQL Server hosting the OpCon database
Expand Security
Right-click Logins and select New Login
Select the Search button next to the Login Name field
Select the Object Types button
Select the Groups option and select OK
Select the Locations button
Expand Entire Directory, select the preferred directory name, and select OK
Select the Advanced button
Select Find Now
Select the OpCon Group created in Create the OpConxps Active Directory Group and select OK
Select OK
Select the OpCon database in the Default database list
Select the User Mapping page
Select the OpCon Database option in the Map column
Select the opconxps role in Database role membership
Select the Securables page
Select Search
Select The server 'Servername\Instance' and select OK
noteThe bottom box is populated with Explicit permissions for ServerName\Instance.
Scroll to the bottom of the list
Select the Grant option for View Server State Permission
Result: The OpConxps Active Directory group is added as a SQL Server login with the opconxps database role and View Server State permission, allowing group members to authenticate and run OpCon applications.
Add the SQL Server Logins for SMA Service Manager
If SMA Service Manager runs as NT AUTHORITY\SYSTEM and uses Windows Authentication, configure a SQL Server login. The process differs based on whether SQL Server is local or remote.
In SQL Server Management Studio:
Expand the Database Engine containing the OpCon Database
Expand Security
If the SAM and database are on different machines:
ExampleOn a domain named "ABCCompany" with a SAM server named "OpConxpsServer", the Login name would be: ABCCompany\OpConxpsServer$
- Right-click Logins and select New Login
- Enter the domain and SAM server name using the syntax:
DomainName\\ServerName$ - Proceed to Step 5
If the SAM and database are on the same machine, select NT AUTHORITY\SYSTEM under Logins
Select the OpCon Database in the Default database list
Select the User Mapping page
Select the OpCon Database option in the Map column
Select the opconxps role option
If creating the user:
- Select OK
- Select the newly created user under Logins
Select the Securables page
In the Permissions table, select the Grant option for View server state
Select OK
Result: The SMA Service Manager account is granted the opconxps role and View Server State permission on the OpCon database and can run with Windows Authentication.
Grant db_owner Permissions for a Windows User
To run database maintenance scripts using Windows Authentication, the running Windows user must have the db_owner role.
Expand the Database Engine containing the OpCon Database
Expand Security > Logins
Right-click the Windows Account that will run the scripts and select Properties
Select User Mappings
Select the OpCon Database option
Select db_owner
Select the master database if this user backs up system databases
Select db_owner
Select the msdb database if this user backs up system databases
Select db_owner
Select OK
Result: The Windows user is granted the db_owner role on the OpCon database and can run database maintenance scripts using Windows Authentication.
Configure Optional Services
If you enabled optional services, configure them before proceeding to Configure OpCon.
Configure SMA LDAP Monitor
If the LDAP Monitor is enabled, configure it to connect to your LDAP environment. Refer to SMA LDAP Monitor Configuration for configuration details.
- Right-click Start and select Explore
- Browse to <Configuration Directory>\SAM
- Select SMALDAPMon.ini
- Define DirectoryType (valid values: ADS, OpenLDAP)
- Add the Host and Port settings
- (Optional) Define UserNamePrefix (required for automatic sign-on) and Domain
- Encrypt UserName, Password, and DefaultUserPassword using the Enterprise Manager password encryption tool (refer to Encrypting Passwords) or the built-in
--credentialsoption:
SMALDAPMon.exe --credentials --user=[username] --password=[password] --defaultpassword=[defaultUserPassword]
To change the default RefreshInterval (60 seconds), delete the value and enter the desired interval in seconds. The value must exceed 60 seconds.
Result: The SMALDAPMon.ini file is saved with the correct directory settings and encrypted credentials, and the LDAP Monitor is ready to integrate network security with automatic OpCon logins.
Configure SMASAPProxy
If the Connector for SAP and/or SAP BW is enabled, configure it to connect to your SAP environments. Refer to SAPQueryProcessor.ini for configuration details.
- Right-click Start and select Explore
- Browse to <Configuration Directory>\SAM
- Select SAPQueryProcessor.ini
- Under [TCP/IP Parameters]:
- (Optional) Set SocketNumber for the SAP R/3 environment
- (Optional) Set BWSocketNumber for the SAP BW environment
- Use menu path: File > Save
- Close Notepad
Result: The SAPQueryProcessor.ini file is saved with the configured socket numbers and the SAP Proxy is ready for use with SAP R/3 and SAP BW environments.
Configure OpCon
Most SAM configuration options are stored in the database and are configured through the Enterprise Manager.
Change the ocadm Password and Configure SAM Options
To configure OpCon, complete the following steps:
Use menu path: Start > All Programs > OpConxps > Enterprise Manager
Enter ocadm in the Username text box
Enter 12 asterisks (************) as the default password
Select the profile created in Create a Profile for the EM to Connect to the Database
Select Login
Use menu path: EnterpriseManager > Password Update > Change User Password
Enter 12 asterisks in the Old Password text box
Enter a new password in the New Password text box
Enter the new password again in Confirm Password and select OK
Under Administration in the Navigation Panel, select Server Options
Verify the General tab is selected
Review all parameters. Refer to General Settings for details
To modify a parameter:
- Select the parameter in the parameter table
- Enter a valid value in the frame at the bottom of the screen
- Select Update to save, Cancel to discard, or Defaults to reset
- (Optional) Select another parameter category tab
- Repeat Steps 1 - 4 for other parameters
Select the SMTP Server Settings tab and review:
- Specify the SMTP Server Name (Primary Email)
- If SSL is required, set SMTP Authentication - Enable SSL (Primary Email) to True
- If SSL is enabled or authentication is required, specify the SMTP Authentication User and Password (Primary Email)
- If authentication is not required, specify the SMTP Notification Address (Primary Email)
- For a Secondary SMTP server, repeat Steps 1 - 4 for (Secondary Email) settings
- For Text Messaging, repeat Steps 1 - 4 for (Primary SMS) and (Secondary SMS) settings
If no email address is specified, noreply@mycorp.com is the default. Update this to match your domain
noteIf the SMTP server requires authentication, the SMTP Notification Address is ignored.
Select the Automatic License Notifications tab
noteContinuous strongly recommends enabling automatic license notifications. Without this, only the SAM Critical log reports license issues.
Review Send Email to SMA Office:
- Leave set to Disabled if Continuous should not receive automatic email notifications for license expiration or monthly task count reports
- To enable, select the SMA Office for your region. SAM will automatically notify the office when the license is expiring or a task count report is due
Review Send Email Cc:
- If Send Email to SMA Office is Disabled, leave this blank
- If an SMA office is selected, enter one or more email addresses separated by semicolons (;) to be copied on automatic emails
For Task-based Licensed customers, review Encrypt Task License Report:
- False: Task license report remains in plain text
- True: Task license report is encrypted; only Continuous can decrypt it
Select the Save
button
Close Server Options
Result: The ocadm password is changed, SAM server options are configured, and SMTP and license notification settings are saved.
Create the Machine in OpCon for the Windows Agent on the Server
Create a machine record for the SMA OpCon Agent for Windows installed on the Server.
Select Machines
Select the Add
button on the Machines toolbar
Enter the official host name or alias of the OpCon Server machine in the Name text box
Enter any relevant documentation in the Documentation text box
Select Windows in the Machine Type list
Enter a unique number (e.g., 3100) in the Socket Number box
(Optional) Enter the IPv4 or IPv6 address in the IP Address field
(Optional) Enter the name in the Fully Qualified Domain Name field
Select the Save
button
Select Open Advanced Settings Panel
Select the Communication Settings tab
Select the Requires XML Escape Sequences parameter
Verify the value is True. If False, select True and select Update
Select Save to close the Advanced Settings Panel
Result: The machine record for the Windows Agent on the OpCon server is saved and SMANetCom can begin communicating with the agent.
Configure Replication or Mirroring
- For SQL replication, refer to Manual Setup for Microsoft SQL Replication or Setup for Automatic Microsoft SQL Replication
- For SQL mirroring, refer to Setup for Automatic Microsoft SQL Mirroring
Import the OpCon Maintenance and Report Jobs
Continuous requires maintenance utilities to be scheduled for optimal OpCon performance. Two transport databases with job templates are provided. Skip this section if you have already imported these schedules.
- AdHoc.MDB: Contains three jobs for managing OpCon events (schedule builds, checks, deletes). Refer to SMA_SKD Jobs on the AdHoc Schedule
- SMAReports.MDB: Contains a job to automate all OpCon reports from Continuous. Refer to Report Generator Schedule
Back up the OpCon database and transaction log regularly. If the transaction log is not backed up, the hard drive will fill up and OpCon will stop processing.
Create DSNs for the Transport Databases
Use menu path: Start > All Programs > OpConxps > Utilities > Schedule Import Export
Select the ODBC button
Select the System DSN tab
Select Add
Select Microsoft Access Driver (*.mdb) and select Finish
Enter a data source name (e.g., IMPEX) in the Data Source Name text box
(Optional) Enter a description
Select Select and browse to the Utilities directory (e.g., C:\Program Files x86\OpConxps\Utilities\)
Select IMPEX.mdb and select OK
Select OK
Select Add
Select Microsoft Access Driver (*.mdb) and select Finish
Enter AdHoc in the Data Source Name text box
(Optional) Enter a description
Select Select and browse to the Utilities directory
Select AdHoc.mdb and select OK
Select OK
Select Add
Select Microsoft Access Driver (*.mdb) and select Finish
Enter SMAReports in the Data Source Name text box
(Optional) Enter a description
Select Select and browse to the Utilities directory
Select SMAReports.mdb and select OK
Select OK
Select OK
Select the SMAReports DSN and select OK
Result: The DSNs for the IMPEX, AdHoc, and SMAReports transport databases are created and available for the Schedule Import Export utility.
Import the AdHoc Schedule
Complete this procedure to receive notifications when Schedule Build, Check, or Delete processes fail.
Use menu path: File > Select Access DSN
Select the AdHoc datasource and select OK
Select the AdHoc schedule in the Transport Database
Select the Import from Transport Database button
Select Import
Select OK on the warning about Batch User IDs
Select Yes to purge jobs or No to merge jobs
Select Yes to purge dates or No to merge dates
Select OK on the termination message
Result: The AdHoc schedule is imported into OpCon and the SMA_SKD jobs are available to process events when schedule builds, checks, or deletes fail.
Import the SMAReports Schedule
Complete this procedure to automate OpCon reports.
Use menu path: File > Select Access DSN
Select the SMAReports data source and select OK
Select the Report Generator schedule in the Transport Database
Select the Import from Transport Database button
On the Machine tab, select localhost in the left frame
In the right frame, select the Machine Name defined in Create the Machine in OpCon for the Windows Agent on the Server
Select Import
Select OK on the warning about Batch User IDs
Select OK on the termination message
Result: The Report Generator schedule is imported into OpCon and OpCon reports are automated using the machine defined on the server.
Validate Property Definitions
- Under Administration in the EM Navigation Panel, select Global Properties
- Select SMADBCredentials in the Select Global Property list
- In the Global Property Value text box, verify the User Name and Password:
- -uocadm is the default user name. Continuous recommends updating this to a user other than ocadm
- -w************ is the default password for ocadm. Replace the 12 asterisks with the actual ocadm password set in OpCon Server Configuration
- Select Save
- Select SMAOpConDataPath and verify the path to the <Configuration Directory> on the SAM server. Modify if different from the default (C:\ProgramData\OpConxps\). Select Save
- Select SMAOpConOutputPath and verify the path to <Output Directory> on the SAM server. Modify if different from the default. Select Save
- Select SMAOpConPath and verify the path to the Utilities folder on the SAM server. Modify if different from the default (C:\Program Files\OpConxps\). Select Save
- Select SMAAdminEmail and enter an email address (or multiple addresses separated by semicolons) for the OpCon administrator. Select Save
- If UNIX LSAMs exist:
- Select UNIXLSAMPath and verify the path to the "bin" directory on the UNIX machine
- Select DB_SERVER_NAME and verify the OpCon database server name. Modify if different from the default. Select Save
- Select SqlMaintUser and verify the SQL maintenance user name. Modify if different from the default. Select Save
- Select SqlMaintPassword and verify the SQL maintenance password. Modify if different from the default. Select Save
- Select DatabaseName and verify the OpCon database name. Modify if different from the default. Select Save
- Select PathToFullBackupFile and verify the path to the full backup file. Modify if different from the default (C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\Backup\SMADB_Backup.bak). Select Save
- Select PathToTranLogBackupFile and verify the path to the transaction log backup file. Modify if different from the default (C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\Backup\SMATLog_Backup.bak). Select Save
Result: All required global properties are verified and saved with the correct values for the installation environment, and maintenance jobs will use the updated credentials and paths.
Configure Jobs and Set Up Notification for All Maintenance Jobs
Most maintenance jobs run without additional configuration, but several require it. Refer to OpCon Data Maintenance for details on each job. No notifications are configured by default except for AdHoc jobs. Use Event Notification to configure notifications for groups of jobs, or Job Events to configure notifications per job using $NOTIFY:<Action> events. Refer to Defining Events for more information.
Without notifications, no one is alerted when schedule builds or critical maintenance processes fail.
Start the Services and Finalize Setup
The SMA Service Manager requires a valid license file from Continuous before processing.
- For an upgrade, the existing license file continues to work
- For new installations:
- If a temporary license file was provided, save it to the SAM folder before starting
- If no temporary license file exists, start the service to get the information needed to request a full license
Configure the SMA Service Manager and Start the Service
The SMA Service Manager manages the SAM and all supporting services. Only the SMA Service Manager requires startup. Startup type configuration varies when implementing failover.
Use menu path: Start > Control Panel
Select Administrative Tools
Select Services
Scroll to SMA OpCon Service Manager in the Services list
Select SMA OpCon Service Manager
Set Startup type to Automatic (Delayed Start)
Select OK
Select SMA OpCon Service Manager
Select Start on the toolbar
Review the log files to verify the SAM-SS connected successfully. Use menu path: Start > All Programs > OpConxps > Log Monitors to view log file names
Result: The SMA Service Manager is started with Automatic (Delayed Start) and the SAM-SS components begin connecting to the database and processing schedules.
Request a License File
- Log in to the Enterprise Manager
- Use menu path: Help > About OpCon Enterprise Manager
- Select the License Information tab
- Select the System ID [e.g., (SMAServer_1234)] at the end of the first line
- Right-click and select Copy
- Email license@smatechnologies.com with subject License File Request, including:
- Environment for the SAM and database (e.g., Production)
- The System ID (press Ctrl + V to paste)
- Your company name
Result: The license request email is sent to Continuous with the System ID and environment details required to generate the permanent license file.
Place the License File in the SAM Directory
After Continuous responds, save the license file to the SAM directory.
If the license file is encrypted after receipt (e.g., saved to a folder with "Encrypt contents to secure data" enabled), SAM cannot read it.
- Open the email containing the license file
- Right-click the license file and select Save As
- Browse to the <Configuration Directory>\SAM directory
- Select Save
Result: The license file is saved in the SAM directory and SAM can read it on the next start.
Start the SMA Service Manager after Applying the License File for the First Time
For new installations receiving a license file for the first time, start the SMA Service Manager.
To start the Services and Finalize Setup, complete the following steps:
- Use menu path: Start > Control Panel
- Select Administrative Tools
- Select Services
- Scroll to SMA Service Manager in the Services list
- Select SMA Service Manager
- Select Start on the toolbar
- Review the log files to verify the SAM-SS connected successfully. Use menu path: Start > All Programs > OpConxps > Log Monitors to view log file names
Result: The SMA Service Manager starts with the permanent license applied and the SAM-SS components begin processing schedules and jobs.
Create User Scripts and Custom Programs
Place user scripts and custom programs in the folders below to prevent them from being deleted during upgrades.
- User scripts: <Configuration Directory>\Scripts\
- Custom programs: <Target Directory>\OpConxps\Binn\
Security Considerations
Authentication
The ocadm account is created during installation with a default password of 12 asterisks. This password must be changed immediately after first login. The SMADBCredentials global property stores the username and password used by maintenance scripts; Continuous recommends updating this to a user other than ocadm.
The Enterprise Manager database connection supports SQL Authentication (using opconui credentials) or Windows Authentication. For Windows Authentication, the SMA Service Manager must run as a user with privileges to the OpCon database. System DSNs used by utilities require the user to run ODBC Data Sources as Administrator.
For SMTP, if the server requires authentication, the SMTP Authentication User and encrypted Password must be configured. If SSL is required, SMTP Authentication - Enable SSL must be set to True. The SMTP Notification Address is ignored when authentication is configured.
LDAP Monitor credentials (UserName, Password, DefaultUserPassword) must be encrypted using the Enterprise Manager password encryption tool or the --credentials command-line option before being stored in the SMALDAPMon.ini file.
Authorization
Configuring SQL permissions for maintenance scripts requires the running SQL user to have the db_owner role on the OpCon database. For Windows Authentication, the OpCon Active Directory group must be added to the SQL Server logins and granted the opconxps database role and View Server State permission.
The SMADBCredentials global property, which contains credentials used by all scheduled maintenance jobs, must be reviewed and updated during configuration to reflect the actual ocadm password.
Data Security
The license file must not be stored in a Windows folder with "Encrypt contents to secure data" enabled, as this prevents SAM from reading it. SQL maintenance credentials (SqlMaintUser, SqlMaintPassword) are stored as global properties and should be restricted to authorized administrators. The OpCon database transaction log must be backed up regularly; failure to do so causes the hard drive to fill and OpCon to stop processing.
Operations
Monitoring
- The OpCon database transaction log must be backed up regularly; failure to do so causes the hard drive to fill and OpCon to stop processing. Monitor available disk space on the SQL Server machine.
- The
SMADBCredentialsglobal property contains credentials used by all scheduled maintenance jobs; review and update it after configuration to reflect the actual ocadm password. - The license file must not be saved to a Windows folder with "Encrypt contents to secure data" enabled, as this prevents SAM from reading it and starting correctly.
Common Tasks
- Apply a temporary license: Copy the
0.licfile from the distribution media root to<Configuration Directory>\SAM\. - Configure database connection for the OpCon server: Use Start > All Programs > OpConxps > Utilities > SMA Connection Config; enter server name, database name, and credentials, then select Connect.
- Add or tune REST API connection pool size: Stop the OpCon REST API service, edit
C:\ProgramData\OpConxps\SAM\SMAODBCConfiguration.DATto appendMaxPoolSize=500(or desired value), then restart the service. Back up the file before editing.
Alerts and Log Files
- The EM installation writes a log file named
SMA_OpCon_Enterprise_Manager_<CPUType>_Install.logto the Windows directory; consult it if installation problems are suspected. - Notification configuration for maintenance schedule failures requires explicitly setting up event notifications (e.g.,
$NOTIFYevents) on critical AdHoc or SMAUtility jobs; without this, failures go unnoticed. - Configure SQL maintenance scripts via the SMA OpCon Configuration Utility (Start > All Programs > OpConxps > Utilities > SMA OpCon Configuration Utility); running SQL users must have the
db_ownerrole on the OpCon database.
Exception Handling
SQL Server instance name in EM profile requires SQL Server Browser service to be running — When the server name contains a backslash (indicating a SQL Instance Name), the EM cannot connect to the database unless the SQL Server Browser service is running on that server — Start the SQL Server Browser service on the SQL Server machine before attempting to configure the EM database connection profile.
Database connection test fails during profile setup — If the database connection test in the EM profile wizard fails, the profile cannot proceed to the next step — Select Back, verify the server name, authentication credentials, and database name, then test again; consult SMA support if the login credentials are unknown.
DSN name matches the SQL Server instance name and causes conflicts — Setting the system DSN name to the same name as the SQL Server instance can cause conflicts — Use a unique name for the DSN, such as the database name, and do not reuse the SQL Server instance name.
REST API connection string edits require stopping the service first — Editing SMAODBCConfiguration.DAT while the OpCon REST API service is running can result in data corruption or the changes being overwritten — Stop the OpCon REST API service before editing the file; restart the service after saving changes.
License file encrypted at rest prevents SAM from reading it — If the license file is saved to a Windows folder with "Encrypt contents to secure data" enabled, SAM cannot read the file and OpCon will not start correctly — Disable file encryption on the SAM folder or save the license file to a non-encrypted location within the SAM directory.
No notifications configured for maintenance schedule failures — Without notification configuration, no one is alerted when schedule builds or critical maintenance processes fail — Configure notifications using Event Notification for job groups or Job Events using $NOTIFY:<Action> events to alert administrators when maintenance or AdHoc schedule jobs fail.
FAQs
Q: When should OpCon Server Configuration be performed?
Perform server configuration after a new installation. After an upgrade, review the configuration items to confirm the server is still configured correctly.
Q: What is the temporary license used for?
The temporary license (0.lic file) allows you to run OpCon immediately after installation while waiting for a permanent license file from Continuous.
Q: Where should user scripts and custom programs be stored to survive future upgrades?
Place user scripts in <Configuration Directory>\Scripts\ and custom programs in <Target Directory>\OpConxps\Binn\ to prevent them from being deleted during upgrades.
Glossary
SMADDI (SMA Dynamic Data Input): An optional OpCon component that dynamically updates the OpCon database using XML text files placed in monitored input directories. SMADDI uses a Windows service and stored procedures to validate and commit the data.
DSN (Data Source Name): An ODBC connection identifier that stores database connection parameters. OpCon utilities use system DSNs to connect to the OpCon SQL Server database.
SMAServMan (SMA Service Manager): Manages the starting, stopping, and restarting of all OpCon server programs. Monitors configured applications and restarts them automatically if they fail unexpectedly.
SAM-SS (SAM and Supporting Services): The collective term for the OpCon server-side processing programs: SAM, SMANetCom, SMA Notify Handler, SMA Request Router, and SMA Start Time Calculator.
SMA Resource Monitor (SMARM): A Windows service that monitors files, counters, services, and processes on Windows machines. When a monitored condition is met, it sends OpCon events to trigger automation actions.
SMA Connection Configuration: A utility that generates the database connection file (.dat) used by OpCon server programs and utilities to connect to the OpCon SQL Server database.
SAM (Schedule Activity Monitor): The logical processor for OpCon workflow automation. SAM monitors schedule and job start times, dependencies, and user commands to determine job execution timing, and processes OpCon events.
Enterprise Manager (EM): OpCon's rich client graphical user interface for Windows and Linux, used to define schedules and jobs, manage automation data, and perform operational tasks.