53220153-23582966-MaxL-Implementation

Embed Size (px)

Citation preview

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    1/28

    Using MaxL for Automating Production

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    2/28

    AgendaMaxL primer Managing Hyperion Essbase server

    Managing applications and databases Managing security in Hyperion Essbase Monitoring an Essbase serverQ&A session

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    3/28

    IntroductionMaxL is a flexible way to automate Essbase administration and maintenance tasks.MaxL is the multi-dimensional database access language for Essbase. MaxL is a practical, expressive interface for administering and querying the Essbase system. With the MaxL language, you use statements to make requests

    MaxL DDL is the database definition language for Essbase

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    4/28

    MaxL PrimerE s s m s h E s s b a s e P e r l M o d u le M a x L C L I ( C /V B /J a v a )

    M

    a x L

    E n g in e

    H y p e r io n

    E s s b a s e

    O L A P

    S e r v e r

    Alter system load application sample;Alter application sample load database basic; Alter application sample disable connects;http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    5/28

    MaxL Commonly Used Commands1 Export Data 2 Import Data 3 Create calculation 4 Execute calculation 5 MonitorEssbase Server

    6 Create/Alter/Display application 7 Create Trigger 8 Create/Display/Alter User9 Create Group 10 Create Database

    Alter system load application sample;Alter application sample load database basic; Alter database sample.Basic disable connects;

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    6/28

    Managing ApplicationsCreating applications

    Configuring application parameters

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    7/28

    Managing DatabasesCreating databases

    Configuring database parameters

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    8/28

    Managing SecurityCreating groups

    Creating users

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    9/28

    Creating and Managing FiltersCreating filters

    Create filter sample.Basic.EastMgr write on actual, @children(east), read on budget, @children(east);

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    10/28

    Granting PermissionsGranting specific privileges to users

    Grant filter sample.Basic.EastMgr to Fiona;

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    11/28

    Monitoring Essbase ServerDisplay active server sessions

    Display session on database sample.Basic; alter system kill request by user Swetha on application sample; alter system logout session by user Swetha on application sample;http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    12/28

    Monitoring Essbase ServerImport export data and LRO

    Import database sample.Basic from datafile /data/calcdat.Txt using rules file /data/rulesfile.rul on error write to /logs/dimbuild.Loghttp://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    13/28

    Export Data/Import Dataexport database sample.basic data to data_file C:\\fileout.csv. export database sample.basic data In column to data_file C:\\fileout.csv. import database sample.basic data from data_file C:\\fileout.csv on error abort; export database sample.basic using report_file " $ARBORPATH/App/Sample/Basic/asym.rep " to data_file c:\\month2.rpt ;

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    14/28

    Create Calculation

    create or replace calculation sample.basic.Accts SET UPDATECALC ON; CALC DIM(Accounts); ;

    execute calculation Sample.Basic.calcname;

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    15/28

    Create TriggerTypes of Triggers: on-update after-update

    create or replace on update trigger Sample.Basic.EastColas where (Jan, Sales, Actual, [100], East) when Jan > 20 then spool EastColas_Fail end;

    create or replace after update trigger Sample.Basic.EastColas where (Jan, Sales,Actual, [100], East) when Jan > 20 then spool EastColas_Fail end;

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    16/28

    To be Discussed Creating and Managing Partitions

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    17/28

    To be Discussed Creating and Managing PartitionsCreate or replace replicated partition sampeast.East area @IDESC(east) to samppart.Company at localhost as partitionuser identified by password area @idesc(east) ; Refresh replicated partition samppart.Company from sampeast.East at localhost updated data;

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    18/28

    Automate Loading Process

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    19/28

    For Scheduling the loading process. Following steps need to be followed. 1. Opennotepad and write the following code as shown below, and save it as .scr extension file. (Ex: Sample5.scr)

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    20/28

    2. Open notepad and write a batch file as shown below and save it as .bat extension file. (Ex: Sample5.bat)

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    21/28

    3. Go to control panel and click on scheduled tasks and Add scheduled task as shown below Click on next following window appears

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    22/28

    4. When u click next the following window appears then click browse

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    23/28

    5. select the .bat (Ex: Sample5.bat) as shown below and select when the task need to be performed

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    24/28

    6. Select the time an the no of days in the following window

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    25/28

    7. Enter the Username and password and click next the following window appears

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    26/28

    8. After entering the system user name and password click next following windowappears then click finish.

    Windows will perform the task for the scheduled day and time.http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    27/28

    Q&A

    http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

  • 7/30/2019 53220153-23582966-MaxL-Implementation

    28/28