Вы находитесь на странице: 1из 27

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 databases
Managing security in Hyperion Essbase
Monitoring 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
E s s b a s e M a x L C L I
E s s m s h
P e r l M o d u le (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 rv e r

Alter system load application sample;


Alter application sample load database basic;
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 6 Create/Alter/Display application


2 Import Data 7 Create Trigger
3 Create calculation 8 Create/Display/Alter User
4 Execute calculation 9 Create Group
5 Monitor Essbase Server 10 Create Database

Alter system load application sample;


Alter application sample load database basic;
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 Databases
Creating databases

• Configuring database parameters

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


Managing Security
Creating 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


Monitoring Essbase Server
Import 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.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 create or replace after update trigger


trigger Sample.Basic.EastColas
Sample.Basic.EastColas where (Jan, Sales, Actual, [100],
where (Jan, Sales, Actual, East)
[100], East) when Jan > 20 then spool
when Jan > 20 then spool EastColas_Fail end;
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
Windowswill
willperform
performthe
thetask
taskfor
forthe
thescheduled
scheduledday
dayand
andtime.
time.

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


Q&A

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

Вам также может понравиться