configure bi scheduler

Upload: vikas

Post on 30-May-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Configure BI Scheduler

    1/17

    Creating Alerts Using Siebel or OBIEE (OracleBI)

    Delivers

    you need to configure a database account to store data that the Siebel Scheduler uses. This

    can be in an Oracle database, and therefore I created an account called S_NQ_SCHED (therecommended account name) and ran some provided scripts to create the necessary tables:

    SQL> conn system/[email protected]> create user s_nq_sched2 identified by password3 default tablespace users4 temporary tablespace temp5 quota unlimited on users6 /

    User created.SQL> grant connect

    2 , create table3 , create view4 , create procedure5 to s_nq_sched6 /

    Grant succeeded.SQL> conn s_nq_sched/[email protected]> @c:\SiebelAnalytics\Schema\SAJobs.Oracle.sqlTable created.... #d6dae5

    Commit complete.SQL> @c:\SiebelAnalytics\Schema\SAACCT.Oracle.sql

    Table created.Index created.Index created.Index created.

    Next I need to set up a TNSNAMES entry to point to the user account Ive just set up, like

    this:

  • 8/14/2019 Configure BI Scheduler

    2/17

    Now, I set up an ODBC System Data Source to point through to this user, using the

    TNSNAMES.ORA entry I just created

  • 8/14/2019 Configure BI Scheduler

    3/17

    The next step is to open your Job Manager. Go to File - > Configuration Options and enter

    the schema and connection details for the scheduler schema. In my case it would beS_NQ_SCHED schema.

  • 8/14/2019 Configure BI Scheduler

    4/17

    4. Go to the General tab. If you had followed the default install, then leave everything thesame. Just enter in the Administrator usernames and passwords.

  • 8/14/2019 Configure BI Scheduler

    5/17

    5. Go to the Mail tab and enter in your mail server details.

    http://picasaweb.google.com/krisvenky83/OBIEEIbots/photo#5110092235963132818http://picasaweb.google.com/krisvenky83/OBIEEIbots/photo#5110092227373198210
  • 8/14/2019 Configure BI Scheduler

    6/17

    6. Open your instanceconfig.xml and add in the scheduler details. This step basically lets

    the presentation server know about the machine and port details of the scheduler. By

    default the scheduler port is 9705.

    7. The next step is to run a cryptotools utility that would basically store the username and

    password of the scheduler into an XML file called credentialstore.xml.

    8. Go to {OracleBI}/web/bin from command prompt. Then enter in the following

    command.

    cryptotools credstore -add -infile OracleBIData_HOME/web/config/credentialstore.xml

    http://picasaweb.google.com/krisvenky83/OBIEEIbots/photo#5110092257437969314
  • 8/14/2019 Configure BI Scheduler

    7/17

    D:\OracleBI\web\bin>cryptotools credstore -add -infile D:\OracleBIData\web\confi

    g\credentialstore.xml

    >Credential Alias: admin

    >Credential "admin" already exists. Do you want to overwrite it? y/n (y):

    >Username: Administrator

    >Password: *************

    >Do you want to encrypt the password? y/n (y): n

    >File "D:\OracleBIData\web\config\credentialstore.xml" exists. Do you want to ov

    erwrite it? y/n (y): y

    9. The next step is to add the details of this credentialstore.xml file into theinstanceconfig.xml.

    http://picasaweb.google.com/krisvenky83/OBIEEIbots/photo#5110092270322871218
  • 8/14/2019 Configure BI Scheduler

    8/17

    Once this is done you should be able to schedule and create new ibots. The best and quick

    way to check whether the configuration has been done properly is to save a sample ibot. If

    you are able to properly save one then your configuration has been properly set. For more

    details refer the docshere.

    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdfhttp://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdfhttp://picasaweb.google.com/krisvenky83/OBIEEIbots/photo#5110092291797707714http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdf
  • 8/14/2019 Configure BI Scheduler

    9/17

  • 8/14/2019 Configure BI Scheduler

    10/17

    This report tells me which warehouses have sold less than 20,000 units; Im now going to

    set up an alert that runs this report, and if any warehouses fall below the 20,000 limit, have

    the scheduler send the report out to anyone who subscribes to the alert.

    The next step then is to click on the Delivers link at the top of the page, and create

    whats called an iBot. An iBot is a process that runs to a schedule and performs a task,which can be as simple as running my alert, or as complex as anything I can put together as

    a script. iBots are also the way you pre-seed the cache - you run iBots that then runcommonly accessed reports after youve done a data load, and then the data your users will

    require will be in the cache when they come to run their reports;

    Once Delivers is running, its time to create the iBot. The Delivers home page gives you alist of availalble iBots on the left-hand side, and options to create new iBots, customise

    subscriptions and so on in the main area of the page.

    The obvious next step then is to create a new iBot, and so I click on the first link. Im then

    presented with the elements that make up an iBot process.

  • 8/14/2019 Configure BI Scheduler

    11/17

    For this simple example, I leave the priority as standard, and the data visibility as

    personalised, so that the alert subscriber will only see the data theyre scoped for, asopposed to the data the iBot creator can view. The interesting bit is the Conditional

    Request section though, as this is where we create the test condition for the alert.

  • 8/14/2019 Configure BI Scheduler

    12/17

    The way you accomplish this is to select a Siebel Answers report (or a request in Siebel

    Analytics jargon) which will be run when the iBot executes. If the report returns one row ormore, the iBot condition is satisfied and the process runs. Therefore, like the report I picked

    earlier, you want one that runs and has a filter that corresponds to the alert you want to

    create.

    Once the request has been defined, the next step is to define the iBot schedule, therecipients (the default is just you), the delivery content, which is usually the request that

    you selected earlier, and the destinations.

  • 8/14/2019 Configure BI Scheduler

    13/17

  • 8/14/2019 Configure BI Scheduler

    14/17

  • 8/14/2019 Configure BI Scheduler

    15/17

    Then, after waiting for the iBot to start up, I check back on my dashboard page, and yes,

    the alert is there, just under the tabs and also up on the top right-hand side of the page,

    along with the other Siebel Analytics application names:

    When I click on the alert, I first get a page that lists out all of my current alerts, and thenwhen I click on one, I can see the figures that triggered the iBot.

  • 8/14/2019 Configure BI Scheduler

    16/17

  • 8/14/2019 Configure BI Scheduler

    17/17

    If Id got a mail server set up, I could have delivered the alert as an email, but for the time

    being, this will do. It wasnt all that difficult to set up (once youve gone through the

    scheduler configuration process) and as long as youve got the reports on hand on which tobase the alerts, it doesnt take all that long to get up and running.