PSIsafe Server Administrator Guide: On-Premise: SQL Installation

For a full series of documentation and an installation guide by Microsoft, see the link below:

Microsoft's SQL Server Installation Guide

This guide is intended to direct PSIsafe Administrators in preparing their machine to host a PSIsafe On-Premise Server. A SQL Server is required to operate a PSIsafe Server.

SQL and PSIsafe

Microsoft's SQL Server is the backbone of PSIsafe's metadata management. SQL Servers are recognized across the data management industry as a leading solution for storing and managing large amounts of indexed data. Tables within SQL Databases house the indexing information stored and displayed within PSIsafe, and pairs each set of metadata with its corresponding files housed on the data storage volume of your choice. It's important to note that none of your stored content is housed within your SQL database, only the associated metadata.

Location of the SQL Server

SQL Servers may be hosted on the machine running your PSIsafe Server, or on any machine to which the PSIsafe Server can establish a valid connection. This could be intra-network, over VPN, or in a cloud-hosted environment of your choosing. It's important to note that the machine hosting PSIsafe must have communication access over a network for the following SQL Protocols to complete a PSIsafe Server installation: 


Port exceptions are an essential part of the PSIsafe Server installation. Please expand the section below and add the port exceptions if you have not already done so.

Port Exceptions

Port Exceptions

2019-01-31_15-39-51.png

PSIsafe uses the following ports:

(Add Inbound and Outbound entries)

TCP/IP UDP
  • 8993-8994 (Service Ports)

  • 11000 (.NET Remoting)

  • 1433 (SQL Service)

  • 1434 (SQL Browser Service)

 


Install New SQL Instance

To proceed with your SQL installation, expand any of the sections below that apply to your scenario:

Installing SQL Server Express

 

Install SQL Server Express on New Server

  1. Download the latest SQL compatible with PSIsafe via the Microsoft SQL Download portal:

    Microsoft SQL Server Download Page

    (Select SQL Express or SQL Standard depending on your installation type and purchased licensing.)
  2. Unblock the downloaded installer, Run as Administrator, and Click "Download Media" on the resulting GUI for the SQL Server Installer:
    sqls1.png
  3. This will download the SQL Server Installation Center to the specified location:
    sqls2.png
  4. Click "Download" and then open the download location via the installer or manually browse there in Windows Explorer once the download is complete:
    sqls3.png
  5. Run the downloaded executable after being sure to unblock and “Run as Administrator”.

  1. Open the folder containing the downloaded install files, and run the installer exe.
  2. Select Yes, to allow the install application to make changes.

    1.png
  3. You can now set a directory for extracting the SQL Express installation files. Click Ok to begin extracting the files. The installer with autorun after prepared.

    2.png

    3.png
  4. Click on New SQL Server stand-alone installation or add features to an existing installation.

    4.png

  5. Select the box for I accept the license terms. Select Next.

    5.png
  6. Select the box for Use Microsoft Update to check for updates. Select Next
    (Screen Optional)

    6.png
  7. Windows Firewall may throw a warning -- this is okay for now. Select Next.

    7.png
  8. Leave the defaults for Feature Selection. Select Next.

    8.png
  9. Rename the Named instance: to PSIsafe and the Instance ID: to PSISAFE, then select Next.

    9.png
  10. Change the SQL Server Browser Startup Type to Automatic. Select Next.

    10.png
  11. Change the Authentication Mode to Mixed Mode set password to Admin-01. Select Next.

    11.png
  12. Now wait for the installation to complete. (5-10 minutes minimum)

    12.png

    13.png

Your SQL installation is complete. Now, you can move on to installing SQL Server Management Studio (SSMS):

SSMS Installation

To download SQL Server Management Studio (SSMS), see the following link from Microsoft:

Download SQL Server Management Studio

  1. Open the download folder and run the SQL Server Management Studio installer typically titled SSMS-Setup-ENU.exe.
    1.png
  2. Select Yes, to allow the install application to make changes.
    2.png
  3. Select Install to begin.
    3.png
    4.png
  4. All specified components have been installed, select Close.
    5.png

Configuring SQL Server for PSIsafe

Some configuration changes are necessary in SQL Server Configuration Manager to ensure PSIsafe can communicate properly over the network. Perform the following configuration adjustments:

  1. Type in "Configuration Manager" to the start menu to bring up the SQL Server Configuration Manager. You can also browse directly to the Path:
    (C:\Windows\SysWOW64\SQLServerManagerXX.msc)
  2. Set TCP/IP to Enabled

  3. Select the Database we just created during the SQL Server Express installation process under
    SQL Server Network Configuration”.

  4. Highlight “Protocols for [Instance Name]”.

  5. Right-click on “TCP/IP” and click “Enable”.

    tcpip.png

  6. In some environments and installations, you may need to enable “Named Pipes” as well.
  7. Click OK on the warning:
    7.png
  8. Restart the SQL Server (PSISAFE) Service by right-clicking on SQL Server and selecting Restart.
    8.png
  9. If the process was missed during installation, set the logon type for “SQL Server Browser” under the SQL Server Services tab to “Automatic”.browserauto.png
Upgrading from SQL Express to SQL Standard

 

See the Microsoft Licensing page for more information on SQL Express vs. Standard features and pricing.

Performing an upgrade for your SQL Express installation is accomplished via the same installer used for deploying a new installation. On the installer's selection screen, select the Maintenance tab on the left-hand side. Then, select "Edition Upgrade"

editionupgrade.png

You will be prompted to enter your purchased Microsoft SQL Standard Key, and afterwards the installation upgrade process will complete automatically.

Configuring an Existing SQL installation for PSIsafe

 

If you have a SQL Installation already in use, then the configuration changes performed during the installation can be done in the following ways:

  1. Perform all SQL Server Configuration Manager changes listed under the "Configuring SQL Server for PSIsafe" section above.
  2. Open SSMS and log in as either an authorized user or the sa account.
  3. Right-click on the Instance Name (the very top line in Object Explorer) and select "Properties"

    ssms1.png
  4. Under the Security Section and Server Authentication, Select "SQL Server and Windows Authentication Mode".
    sql2.png
  5. Under Connections, Select the box "Allow Remote Connections to this server".
    allowremote.png
  6. This completes the configuration changes necessary for an existing SQL installation.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.