Writer instructions | |
|---|---|
Page title | For most spaces, this page must be titled Space announcements. For spaces with localized content, this page must be titled Space announcements l10n. |
Purpose | Provide an announcement banner on every page of your space. |
Location | Move this page outside of your home branch. |
Guidelines | |
Creating and initializing a Microsoft SQL Server database
Before you begin
- The database server software must be installed and configured.
- Ensure that the database is for the exclusive use of the MainView Middleware Monitor (MVMM) product.
- You must have created a SQL Server login and user for use by MVMM.
A Microsoft SQL Server database cannot be paired with a Linux service set.
- The MVMMserver must be in close physical proximity to the database server with a network latency of less than 5ms between them (100 Mb LAN). A gigabit LAN is recommended.
- Database clients must be appropriate to the MVMM installation and to the database server. MVMMservices are 64-bit applications on Windows and Linux. It is recommended that the database client version match the database server version.
To create and initialize a Microsoft SQL Server database
- Install the database client software on all computers that need access to the database.
- Run mssql.create.sql and mssql.init.sql using the command line as the database owner.
The database objects should be created by a database owner and thus qualified with dbo.
sqlcmd –I -S DBServerName -d Database -i mssql.create.sql -o mssql.create.log
sqlcmd –I -S DBServerName -d Database -i mssql.init.sql -o mssql.init.log - Include the following database security settings for the TMTM database user:
- db_writer role
- db_reader role
- db_ddladmin role
- execute permissions for all stored procedures with the PRC_ prefix and all stored functions with the FN_ prefix.
- To have the MVMM services connect successfully:
Windows: Create a 64 bit ODBC connection to the MVMM database.
The 64-bit ODBC configuration tool (ODBC Driver Manager) can be started with %SystemRoot%\system32\odbcad32.exe from the command prompt, or using the GUI (Control Panel > Administrative Tools> ODBC Data Sources (64-bit)).Linux: Install Microsoft ODBC Driver 17 for SQL Server for Linux (Database server requirements), and then add a new entry to /etc/odbc.ini file (under root authority).
- When the scripts are complete, ensure that your entire database network is functioning and all of the clients can access and write to the server.
Where to go from here