MaxL Implementation

Post on 16-Nov-2014

119 views 2 download

Tags:

Transcript of MaxL Implementation

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Using MaxL for Automating Production

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Agenda

MaxL primer

Managing Hyperion Essbase server

Managing applications and databasesManaging security in Hyperion EssbaseMonitoring an Essbase server

Q&A session

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Introduction

MaxL 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 aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

MaxL Primer

EssmshEssbase

Perl ModuleMaxL CLI

(C/VB/Java)

Hyperion Essbase OLAP Server

MaxL Engine

Alter system load application sample;Alter system load application sample;

Alter application sample load database basic;Alter application sample load database basic;

Alter application sample disable connects;Alter application sample disable connects;

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

MaxL Commonly Used Commands

1 Export Data

2 Import Data

3 Create calculation

4 Execute calculation

5 Monitor Essbase Server

6 Create/Alter/Display application

7 Create Trigger

8 Create/Display/Alter User

9 Create Group

10 Create Database

Alter system load application sample;Alter system load application sample;

Alter application sample load database basic;Alter application sample load database basic;

Alter database sample.Basic disable connects;Alter database sample.Basic disable connects;

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Managing Applications

Creating applications

Configuring application parameters

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Managing DatabasesCreating databases

• Configuring database parameters

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Managing SecurityCreating groups

Creating users

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Creating and Managing Filters

Creating filters

Create filter sample.Basic.EastMgr

write on ‘actual, @children(east)’,

read on ‘budget, @children(east)’;

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Granting Permissions

Granting specific privileges to users

Grant filter sample.Basic.EastMgr to Fiona;

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Monitoring Essbase Server

Display 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 aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Import export data and LRO

Monitoring Essbase Server

Import database sample.Basic from datafile ‘/data/calcdat.Txt’

using rules file ‘/data/rulesfile.rul’

on error write to ‘/logs/dimbuild.Log’

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Export Data/Import Data

export 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 aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Create Calculation

create or replace calculation

sample.basic.Accts

'SET UPDATECALC ON; CALC DIM(Accounts);' ;

execute calculation Sample.Basic.calcname;

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Create Trigger

Types of Triggers:

on-update

after-update

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

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

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

To be Discussed Creating and Managing Partitions

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

To be Discussed Creating and Managing Partitions

Create 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 aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Automate Loading Process

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

For Scheduling the loading process. Following steps need to be followed.

1. Open notepad and write the following code as shown below, and save it as .scr extension file. (Ex: Sample5.scr)

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

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 aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

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 aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

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

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

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

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

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

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

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

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

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

Windows will perform the task for the scheduled day and time.Windows will perform the task for the scheduled day and time.

http://learnobiee.blogspot.com aloo_a2@yahoo.com for all Hyperion video tutorial/Training/Certification/Material

Q & A