Install the database servers
As an installer, you must have the following items:
- SQL Server sysadmin (SA) and Windows admin rights
- A password for the NGAD, the owner of theBlackBerry AtHoc“ng” databases
- Full control for the directory in which the database installation scripts are located. Right-click on the directory and open the properties to verify.
- Full control of the database directory folder that contains the .ldf, .mdf, and .ndf files. Right-click the directory and open the properties to verify.
For more information about installing the databases, see the
readme
files in each database folder.If the application server and the database server are on the same server, do not perform steps 1 and 2.
- Log in to theBlackBerry AtHocdatabase server.
- Copy the AtHocENS folder and subfolders to the Program Files folder, see Prepare the NDS installation file.
- Navigate to the AtHocENS folder.
- Right-click the AtHocENS folder, clickProperties>Securityto check if you have theWritepermission as an administrator and user.
- Create a newDatabasefolder.
- Right-click theDatabasefolder, clickProperties>Securityto check if you have theWritepermission as an administrator and user.
- Run the script on theBlackBerry AtHocdatabase server.
- Navigate to the following folder:<AtHocENS>\DeliveryServer\Installations\DatabaseServer
- Right-click theOnPremiseDBInstallation.batfile and clickEditto edit the following parameters in the installation script:ParameterDescription<databaseServerInstance>The IP address and instance of theNDSserver<saPassword>The system administrator password<saName>The system administrator account name.<ngadPassword>The password for the ng database administrator. If the ngad user has been created, this password is not used to override the existing ngad password.<databaseDirectory>The directory for MSSQL database, such as<. Used only for new installations.AtHocENS>\Database<ngdeliverydb>ngdelivery_<whereplug-in><is the name of related plug-ins.plug-in>
- ClickSaveto save the changes.
- Run the following script as an administrator:OnPremiseDbInstallation.bat
- After the script runs, go to the folder for each database and openrunsql.logto check for any issues in the installation.
The following databases are installed using the
OnPremiseDbInstallation.bat
script:- ngdelivery
- ngaccount
- ngdiagnostic
- ngcommon
- ngdeliverylog