Page tree
Skip to end of metadata
Go to start of metadata

Before You Install

This section provides general information you should review before installing the Ed-Fi ODS / API Admin App for Suite 3 v2.3.

Compatibility & Supported ODS / API Versions

This version ODS / API Admin App has been tested and can be installed for use with the Ed-Fi ODS / API v3.4 through v5.3. See the Ed-Fi Technology Version Index for more details.

Prerequisites

The following are required to install the Admin App:

  • The Admin App provides an interface to administer an Ed-Fi ODS / API. Understandably, you must have an instance of the Ed-Fi ODS / API v3.4 through v5.3 deployed and operational before you can use the Admin App. Tested configurations include on-premises installation via binary installation or source code installation
  • The .NET Framework 4.8 Runtime and .NET Core 3.1 SDK is required on the destination server before installation of Admin App.
  • A SQL Server 2012 or higher, or Postgres 11 or higher database server as also in use with your ODS / API v3.4 - v5.3.0 installation.  .NET Framework 4.8 Runtime is still needed for the PowerShell installations scripts.
  • .NET Core Hosting Bundle v3.1.10 or higher
    • After installing the .NET Core SDK and the .NET Core SDK, it is necessary to restart the computer for the changes to take effect.
  • IIS must be enabled before installing .Net Core Hosting Bundle.
  • A modern web browser such as Google Chrome, Mozilla Firefox, or Microsoft Edge. Internet Explorer 11 (a pre-installed browser on Windows Server) may load, but may not function when using Admin App.

Admin App does not today support in-place upgrades from prior versions.  Please install a fresh copy of Admin App to upgrade from prior versions.

Required Information

You will need the following information to complete this installation:

  • The location of your Ed-Fi ODS / API.
  • Administrator access and credentials for either on-premises or Azure environment with target Ed-Fi ODS / API.

Installation Instructions

This section provides step-by-step instructions for installation. The specific steps are different depending on the deployment model and version of your Ed-Fi ODS / API.

On-Premises Deployment

Each step is outlined in detail below for the PowerShell deployment. Ensure that you have permission to execute PowerShell scripts. For more information, see http://go.microsoft.com/fwlink/?LinkID=135170.

Step 1. Download and Open Installer Package

Download and unzip AdminAppInstaller.2.3.zip.

Step 2. Configure Installation

Open the "install.ps1" file in a text editor. You will need to edit this file with your configuration details. If a value is not present for any of the parameters, it will use its default value.

Note: Editing Item 3b below is mandatory for ODS / API URL and must be done for installation to complete.

  1. Configure $dbConnectionInfo. These values are used to construct the connection strings.
    1. Server. The name of the database server. For a local server, we can use "(local)" for SQL and "localhost" for PostgreSQL.

    2. Engine. Admin App supports SQL and PostgreSQL database engines. So setting up the Engine will decide which database engine to be used. Valid values are "SQLServer" and "PostgreSQL".
    3. UseIntegratedSecurity. Will either be "$true" or "$false".
      1. If you plan to use Windows authentication, this value will be "$true"
      2. If you plan to use SQL Server/ PostgreSQL server authentication, this value will be "$false" and the Username and Password must be provided.
    4. Username. Optional. The username to connect to the database. If UseIntegratedSecurity is set to $true, this entry is not needed
    5. Password. Optional. The password to connect to the database. If UseIntegratedSecurity is set to $true, this entry is not needed
    6. Port. Optional. Used to specify the database server port, presuming the server is configured to use the specific port.
  2. Configure $adminAppFeatures. These values are used to set Optional overrides for features and settings in the web.config.
    1. ApiMode. Possible values: sharedinstance, districtspecific and yearspecific. Defaults to sharedinstance
    2. SecurityMetadataCacheTimeoutMinutes. Optional. Defaults to 10 minute security metadata cache timeout.
  3. Configure $p. This is the variable used to send all the information to the installation process.
    1. ToolsPath. Path for storing installation tools, e.g., nuget.exe. Defaults to "C:/temp/tools"
    2. OdsApiUrl. Base URL for the ODS / API. Mandatory.
    3. AdminDatabaseName. , OdsDatabaseName, SecurityDatabaseName. Optional. Specify only if ODS / API was set with a custom database name.
      1. For example, when configuring the OdsDatabaseName, the value here will be the name of the ODS database, whereas the AdminDatabaseName and SecurityDatabaseName will be the name of the Admin and Security databases, respectively.
    4. WebApplicationName. Optional. Defaults to "AdminApp".
    5. WebSitePort. Optional. Defaults to 443.
    6. WebsiteName. Optional. Defaults to "Ed-Fi".
    7. PackageVersion. Optional. If not set, will retrieve the latest full release package.

Configuration samples for the "install.ps1" file:

    install.ps1(SQL Server)
    $dbConnectionInfo = @{
    	Server = "(local)"
    	Engine = "SqlServer"
    	UseIntegratedSecurity = $true
    }
    
    $p = @{
    	DbConnectionInfo = $dbConnectionInfo
    	OdsApiUrl = "https://localhost:54746"
    }
    install.ps1(PostgreSQL)
    $dbConnectionInfo = @{
    	Server = "localhost"
    	Engine = "PostgreSQL"
    	Username = "exampleAdmin"
    	Password = "examplePassword"
    }
    
    $adminAppFeatures = @{
    	ApiMode = "districtspecific"
    }
    
    $parameters = @{
    	DbConnectionInfo = $dbConnectionInfo
        OdsApiUrl = "https://localhost:54746"
        AdminAppFeatures = $adminAppFeatures
    }
    
    install.ps1(SQL Server)
    $dbConnectionInfo = @{
    	Server = "(local)"
    	Engine = "SqlServer"
    	UseIntegratedSecurity = $true
    }
    
    $adminAppFeatures = @{
    	ApiMode = "yearspecific"
    }
    
    $p = @{
    	DbConnectionInfo = $dbConnectionInfo
    	OdsApiUrl = "https://localhost:54746"
        AdminAppFeatures = $adminAppFeatures
    }
    

    Step 3. Open a PowerShell Prompt in Administrator Mode 

    Method 1: Open [Windows Key]-R which will open a Run dialog for tasks needing administrative privileges. Type "PowerShell" to open a PowerShell prompt in Administrator mode.


    Method 2: Click on the Windows icon in the lower-left corner. Type "PowerShell" and right-click the "Windows PowerShell" option when provided. Select "Run as Administrator" to open a PowerShell prompt in Administrator mode.


    Change the directory to the unzipped directory for the Admin App Installer.

    Step 4 . Run the Installation via PowerShell

    Run "install.ps1" script.

    The PowerShell output will look something like the following:

    Step 5. Create SQL Server Login (if "useIntegratedSecurity" set to "true")

    This step only needs to be completed if you set useIntegratedSecurity to true on the "install.ps1" script in Step 2, above. If you did not, we can skip ahead to Step 5.

    Now that the installation has finished, follow these steps to create a new SQL Server login for the AdminApp Application Pool:

    • Open SQL Server Management Studio and at the server-level, expand the "Security" folder. Right-click, select Logins > New Login...
    • For the Login Name, enter "IIS APPPOOL\AdminApp".
    • On the left side of the pop-up window, select the Server Roles tab and ensure the "sysadmin" checkbox is checked.
    • Everything else can be left at the default setting.
    • Once you're done, click OK.

    Step 6. Check Folder Permissions

    Folders to verify:

    1. Admin App application "uploads" folder (default folder path: C:\inetpub\Ed-Fi\AdminApp\uploads).
    2. Admin App log folder (default folder path: C:\ProgramData\Ed-Fi-ODS-AdminApp).

    For checking permissions:

    • Right-click the folder, choose Properties, view the Security tab.
    • Verify the "Group or user names" section has AdminApp with Full control.

    If the AdminApp not available on the list, add with Full control.

    Step 7. Create Initial Administrative User

    Upon first launch of the Admin App, you will have to create the initial administrative user for the application. This consists of creating a username and password for the initial user. Additional users can be added at a later time. Please see Securing the Admin App (v2.x) for more information.

    Step 8. Enable Product Improvement Features

    Upon first launch of the Admin App, you will have the option to opt-out of the Product Improvement feature for the application (the user is opted-in by default). Opting-in to this feature allows the application to collect useful telemetric data, page views and usage data of the product, as we do with Ed-Fi.org and other Ed-Fi web sites. Admin App also provides an option to opt-in/out at a later time using the Configuration screen in the application. Please see Product Improvement for more information.

    Step 9. Restart the ODS / API (ODS / API 3.4-5.2 only)

    Note: This step is only for ODS / API versions is 3.4 through 5.2.  ODS / API versions 5.3 and higher do not require a service restart.

    To finish the Admin App on-premises setup, the ODS / API should be restarted, which Admin App will advise.

    Steps for restarting the ODS / API:

    1. Open IIS Manager (inetmgr).
    2. In the Connections pane on the left, expand Sites and locate the Ed-Fi website.
    3. Right-click the website and select Manage Website > Restart.
    4. Close IIS Manager.

    Step 10. Open Admin App to Complete Installation

    The installation will default to "https://<machinename>/AdminApp".

    To verify and launch the Admin App, open "Internet Information Services (IIS) Manager". Open the server name, open the Sites folder and open the Ed-Fi branch. Observe three web applications have been installed for the Ed-Fi Tech Suite. Clicking on "AdminApp", use Manage Application to view the configured URL. Click on "Browse <servername>" to launch Admin App.

    Step 11. Using the Admin App

    The Admin App is now configured for use with your Ed-Fi ODS / API instance. Please visit the following articles to help with next actions in using Admin App:

    Admin App also has a User Guide for an in-depth look at each of the features contained within.

    Admin App Installation for On-Premise

    The following is a ZIP package containing PowerShell scripts for the installation of the Admin App for Suite 3 v2.3 (for automated installations):

    AdminAppInstaller.2.3.zip


    Admin App v2.3 Binaries are included with ODS / API 5.3 (for manual installations):

    Binary Releases









    • No labels