MSTR Connectivity

download MSTR Connectivity

of 21

Transcript of MSTR Connectivity

  • 8/10/2019 MSTR Connectivity

    1/21

  • 8/10/2019 MSTR Connectivity

    2/21

    Project Source

    A Project Source is an alias in which connectivity

    information for all the projects in that Project Source is

    stored.

    2Tier

    Project Source Specifies a DSN

    and login for a direct connection

    to metadata.

    3TierProject Source identifies the

    MSTR I-Server machine to

    which the client will connect.

  • 8/10/2019 MSTR Connectivity

    3/21

    Project Source (continued)

    A Project Source (PS) houses the information needed to

    connect to a Metadata at start-up

    A PS can contain several projects, each of which can

    potentially connect to a different DW. However, therecan be only one metadata per PS, so all projects within

    a PS share the same metadata

    PS can be created in either 2-tier (direct connection to

    the metadata) or in 3-tier (through Intelligence Server)

    mode.

    Well have both modes of connection for different

    phases of the projects in the class.

  • 8/10/2019 MSTR Connectivity

    4/21

    Start-up Connectivity Logical Layout

    Project

    SourceIntelligence

    Server

    MD DSN

    + login

    MD

    Database

    Direct ODBC

    2 - Tier

    3 - Tier

  • 8/10/2019 MSTR Connectivity

    5/21

    Start-up Connectivity Logical Layout

    2 Tier (Direct):

    A local ODBC DSN must be

    specified along with the

    login.

    This information is stored inthe registry of the local

    MSTR Desktop machine.

    ODBC PWD is stored

    encrypted in the registry of

    the local machine.

  • 8/10/2019 MSTR Connectivity

    6/21

    Start-up Connectivity Logical Layout

    3 Tier (Intelligence Server):

    No ODBC connection from

    the client to the DB

    MSTR Desktop client will

    connect to I-Serverdefinition, so the name of I-

    Server and RPC connection

    to it are necessary.

    All connection information

    and MD DSN are located onthe Server machine.

  • 8/10/2019 MSTR Connectivity

    7/21

    Database Instance

    A Database Instance is a logical representation of a

    connection to a physical database.

  • 8/10/2019 MSTR Connectivity

    8/21

    Database Instance

    Each PS is associated with one MD DB Instance and at least one

    Warehouse DB Instance.

    Database Instance stores the following information:

    Database Connection

    Type of DB (Oracle, SQL Server, Informix, etc.) Maximum number of connections allowed for the DB Instance

    DB specific optimizations (I.e. VLDB properties)

    Warehouse table prefixes (if required)

    Location for intermediate table storage

    Prioritization scheme to be used when submitting jobs to the DB

  • 8/10/2019 MSTR Connectivity

    9/21

    Database Connection

    A Database Connection is

    comprised of a DSN and

    other information necessary

    for connection to a

    database. Each Database Instance can

    potentially point to multiple

    Database Connections.

  • 8/10/2019 MSTR Connectivity

    10/21

    DSN and Database Login

    The DSNs listed represent

    the local machines system

    ODBC data sources and

    DSNs from other sources.

    A Database Login stores theUID and PWD that will be

    used to access the database

    or the NT network login

  • 8/10/2019 MSTR Connectivity

    11/21

    DSN and Database Login

    DSNs listed will list local machine DSNs and all

    other DSNs recorded in Metadata.

    In a 3 tier environment, DSN may or may notactually be a DSN on a local machine.

    Theres unlimited number of Database Logins that

    can be created, this functionality is needed for

    advanced administration and monitoring by DBAsand thus wont be discussed in this class.

  • 8/10/2019 MSTR Connectivity

    12/21

    The Big Picture

    WH DSN

    WH Login:

    WH UID

    WH PWD

    WH DB Connection

    Project

    Source

    Project

    WH DB Instance

    WH

    Database

    MD DSN

    MD Login:

    MD UID

    MD PWD

    MD DB Connection

    MD DB Instance

    MD

    Database

    MSTR

    Intelligence

    Server

    Connection Mapping

  • 8/10/2019 MSTR Connectivity

    13/21

    Workshop

  • 8/10/2019 MSTR Connectivity

    14/21

    Goals:

    Create VMALL Warehouse Instance

    Prerequisites:

    Completion of Database Connectivityworkshop

  • 8/10/2019 MSTR Connectivity

    15/21

    Workshop1. Open MicroStrategy Desktop

    2. Go to ToolsProject Source Manager3. Click Add

  • 8/10/2019 MSTR Connectivity

    16/21

  • 8/10/2019 MSTR Connectivity

    17/21

    Workshop6. Now connect to your Project Source, your default login is

    Administrator, the password is blank.7. Now well create Database Instance for our Data Warehouse

    8. Go to AdministrationDatabase Instance ManagerRightClick select NewDatabase Instance

  • 8/10/2019 MSTR Connectivity

    18/21

    Workshop9. Name your DB Instance VMALL Warehouse, choose your

    database type (SQL Server 7.0) and create a new DBConnection:

  • 8/10/2019 MSTR Connectivity

    19/21

    Workshop10. Select your Warehouse DSN in the list of all DSNs, choose

    Administrator as your default login.11. Click OK twice, your Warehouse connection is created!

  • 8/10/2019 MSTR Connectivity

    20/21

    Next steps

    Well go over Data Modeling and create ourproject!

  • 8/10/2019 MSTR Connectivity

    21/21

    Resources:

    MicroStrategy Administrator Guide