Hyperion Business Rules Restore

Hi,
I've Oracle EPM 11.1.2.1 installed on AIX 6.1 server. The Oracle EPM server crash. I've only a backup of Database schemas. Can I restore HBR? Only a database backup is enough to restore it? Into the EAS schema i can see the Business Rules descriptions. Where are store the scripts?
Thanks in advance for your help.
Regards,
David.

Yes, all Business Rules with scipts are store into the table HBRRULES from the EAS schema.

Similar Messages

  • Hyperion Business Rules cannot connect to Hyperion Planning

    I've deployed these applications into one machine server:
    - Hyperion Essbase 7.1.3
    - Hyperion Planning 4.0.1 (including Hyperion Business Rules)
    - Essbase Administration Services 7.1.3
    Everything runs well except that Hyperion Business Rules cannot connect to the Hyperion Planning as described in some error lines below:
    Can not login to Planning Application because no token.
    2009-10-07 15:12:15,125 WARN HttpProcessor[10090][1] com.hyperion.hbr.plugin.planning.PlanningMetadataAppElement - Error retrieving Essbase dbs from server: win
    2003server1/myPlan app: {1}.
    java.lang.Exception: Could not log in to Planning Server
    at com.hyperion.hbr.plugin.planning.PlanningMetadataAppElement.getChildren(Unknown Source)
    at com.hyperion.hbr.plugin.planning.PlanningMetadata.getChildren(Unknown Source)
    at com.hyperion.hbr.core.MetadataCmdListener.getChildren(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    Anyone knows how to handle this error?
    Mr. Goodwin?
    Thanks in advance!
    Adrian

    Hi,
    Have they ever worked ?
    Have you followed the golden rule, start RMI, EAS, Planning, Log into planning application through the web, Open EAS, create bus rule, select outline of the planning application you logged in.
    Also it is definitely checking out document ID 763345.1 in metalink3 (My Oracle Support)
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Sharing information between Hyperion Business Rules

    I am trying to share information between two Hyperion Business rules in EAS console.
    Suppose for example , I calculated a value and stored in local variable in one Business Rule.
    I would like to have this information in another business rule.
    Any idea about the possiblities.?
    I tried to use Global Variables in EAS but the Global variables are fixed and cannot be changed.
    Thanks ,
    Rajan

    Can you make a HBR local variable the target of a value? Doesn't that local variable have to resolve to a member in an Essbase database sooner or later if it's going to receive a data value from a formula?
    Or did you create a local variable as Real and then used that as the target? Maybe that would do it? (Obviously I've never done this.)
    Could you create a temporary place in the database to stick it and then delete it?
    Something like:
    1) Local variable = some kind of formula/calc
    2) No Account->No Product->No Scenario->whatever = Local Variable value. The point is an unused member that will let you set a value without overwriting permanent numbers. That shouldn't be too hard to find in a Planning app.
    3) In HBR #2, go after that member combination and number from #2, stick it into a local variable, and set that location in #2 to #Missing.
    Kind of painful, but it shouldn't really be that tough. You will need to make sure you create the block in #2.
    Regards,
    Cameron Lackpour

  • Hyperion Business Rules Administrator's Guide

    Hi,
    Does anyone has a download link for this document -> Hyperion Business Rules Administrator's Guide?
    Thank you so much for sharing.

    Hi,
    The best place to start for documentation is :- http://www.oracle.com/technology/documentation/epm.html
    You should be able to find the documents you want there for different versions
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • WebForms, Security, Business Rules restore in Planning

    Hello everybody,
    I am working on Hyperion System 9 (shared services, essbase, BI+, planning etc) with Oracle 10g relational repositories.
    I know Planning has 2 command line tools (FormDefUtil.cmd, ExportSecurity.cmd) that allow us to export Planning web data forms and security in txt file.
    My question is: If I don't have the exported files for web forms and security (because my client didn't know about the existence of the 2 tools above and so there is no backup of web form and security) is there another way to restore them?
    Could I use the database backups to restore web forms and security? We do make a backup every night of all Hyperion schemas .
    Same question for Business Rules. My client never made a backup of them (never exported them as .xml), can they be restored from the database's backup?
    If web forms, security, BR can be restored from database, what are the steps to be followed in order to perform such an operation?
    Thank you for you help!
    Daniela

    Hi,
    If there has been a backup of the relational database then you will be able to restore the database from a previous day over the current database.
    You need to stop planning first, restore database, start planning, log in to make sure everything is alright.
    That is the usual way to restore the planning elements.
    The EAS database will follow the same sort of concept.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Hyperion Business Rules Error

    Good day!
    I have an error every time I validate the business rules in essbase.
    This is the error when I validate the Business rules :
    Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    I have checked the hbrserver log and this is what I found:
    2008-10-24 14:01:58,067 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:01:58,130 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:04:20,674 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:04:20,674 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:05:08,938 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:05:08,938 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:07:04,358 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:07:04,358 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-12-05 17:17:08,672 WARN Thread-16 com.hyperion.hbr.db.DBConnectionManager - Removed bad connection from Connection Pool: vincentp.misnet.com.ph14331cp_tools
    2008-12-05 17:17:09,047 WARN Thread-16 com.hyperion.hbr.db.DBConnectionManager - Removed bad connection from Connection Pool: vincentp.misnet.com.ph14331cp_tools
    2008-12-15 10:45:42,502 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:45:42,502 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:45:42,518 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1_1/IncStmt for user admin.
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    2008-12-15 10:47:34,815 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:47:34,830 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:47:41,599 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    2008-12-15 11:01:05,637 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    Sorry for the long log message.
    I am using the admin user. Is there a possibility that the admin has no privilege for the business rule? (Which is unusual because it should have all the privileges).
    Can anyone tell me how to fix this issue?
    Thanks in advance.

    I think you have to give access even to the admin user to validate/run a business rule
    try giving access to that rule and then validate

  • Hyperion Business Rule Error: Cannot retrieve connected root element for

    Hi,
    I am trying to open a business rule in EAS and I am recieving the following error: Cannot retrieve connected root element for Planning/Servername/Application/Database.
    I am able to connect to the application via Planning Web, but I am recieving this message when I am trying to open the business rule in eas.
    hoping if someone has come across this issue before and has been able to successfully fix it.

    Hi,
    I have 2 BRs, one is with RTP and another without RTP (basically a clacscript as BR).
    I don't have any issue with the BR without RTP.
    When I try to validate BR withRTP, validation is failing with
    Unable to run or validate this rule (ConsolidateTestRTP) against the following location: Planning/servername/appname/dbname for user abcd.
    Detail:Exception occurred. Please check your log file for details.
    2009-04-09 12:35:58,803 WARN AWT-EventQueue-0 com.hyperion.hbr.core.MetadataManagerServerRemote - Cannot retrieve connected root element for Planning/servername/appname/dbname
    Restarted RMI,Planning,EAS services. Logged into planning first and then to EAS. Still getting error
    2009-04-09 12:41:39,881 FATAL AWT-EventQueue-0 com.hyperion.hbr.client.LauncherWindow - Exception:
    With thought of may be the syntax of RTPs in BR changed, deleted RTP in the code but still BR has RTP (I mean BR has RTP and is not used in calculations), still getting error during validation. I can create new BRs and associate to outline.
    Thanks

  • Hyperion Business rules

    HI All,
    The scenario is such that I have two set of data forms.
    One is for monthly level budgeting and the other set of forms is for Yearly budgeting data.
    Now, when I punch the data into the Yearly values, it has to evenly distributed into the monthly forms.
    Ex: When I punch 120 in FY11, then it has to be divided by 12 and set 10 for Jan, 10 for Feb and so on and so forth.
    Thanks All

    This is the default behaviour of Hyperion Planning distribution. You should enable distribution in the form design and place the period dimension as Ilevel0descendants(YearTotal) to column. If you have already set even distribution (not 4-4-5 or 4-5-4) then the data you input on YearTotal gets distributed to months evenly. Therefore you wouldn't need to write a business rule for this.
    Cheers,
    Alp

  • Hyperion Business Rules and Essbase

    I have an allocation business rule that uses the DATACOPY command to copy data from one cost center to another. I would now like to have the sum of 2 cost centers copied into the allocation cost center. In an Essbase calc script, I accomplished this by FIXing on some dimensions and then:
    DATACOPY cc1 TO alloc_cc;
    alloc_cc = alloc_cc + cc2
    This works fine in a calc script, but the business rule does not like the "alloc_cc = alloc_cc + cc2" line. How do I accomplish this task in a business rule?
    Thanks.
    Terri T.

    when I validate, I get this message.
    Detail:Cannot calculate. Essbase Error(1200354): Error compiling formula for [alloc_cc] (line 13): expected type [NUMBER] found [STRING] (["CC2"]) in function []
    Edited by: Terri T on Jan 30, 2013 11:07 AM

  • Hyperion Business Rules - Updating to use New Member in Essbase Outline

    We have a business rule that needs updated to include a new cost center.
    "Allocated Account" = ("Account 1"->CC1->Product->Project->"Channel 1" + "Account 1"->CC2->Product->Project->"Channel 1") / ("Account 5"->CC_3->Product->Project->"Channel 1" + "Account 5"->CC_4->Product->Project->"Channel 1");
    CC2 is a cost center that we just added to the Essbase outline and does not have data yet. When I try to validate the business rule, I get an error:
    Cannot calculate. Essbase Error(1200497): Error compiling formula for [Allocated Account] (line 33): unknown member name [CC2] in function ...
    I am new to business rules and have no clue why it doesn't like the new cost center.
    Thanks.
    Terri T.

    Yes, I can find the member name in the outline. I don't understand what you mean by "refreshing" the outline. I have saved the outline.
    Terri

  • Can not run the Business rules with Hyperion Business Rules Desinger

    <p>I created  a business rules with Business Rules Designer,and validate is ok, but when I run it, pop a blank window withtitle "Run Error", how to solve it ?</p><p> </p><p>Thanks</p>

    I would export the rule to essbase and test it there. I should run and the log will tell you something. I would also look at the business rules log to see what it says. <BR><BR>

  • Documentation for Hyperion Business Rules

    Is there anywhere I could some more documentation on developing business rules? Specifically, I am trying to find out how to launch business rules with multiple run-time prompts from a shortcut or batch file using a run time prompts file (.rtp). I found the HBR admin guide but it does not give enough detail. Thanks in advance.

    I haven't had the opportunity to use HBR yet. I'm interested since we may want to use it soon. <BR>The admin guide mentions (pg74) creating an automatic launch variable file (must be XML). It looks like you need to use the admin console to create the XML file, then reference that XML file when launching the command launcher. Does that make sense? HTH. <BR><BR>JS

  • How to track Hyperion Business Rules

    Hi
    Which log can we look into to track which HBR'S were created/deleted by users along with timestamp?
    Env:11.1.2.1 ,WIN2K8 64 bit
    Thanks,
    Manoj

    I wouldnt have thought many users were creating business rules?
    anyway not sure the HBR logs by standard will log who created/deleted a rule, maybe if the logging is set to a different level.
    You can also check out the relational eas database, table HBRRules has ModifiedBy,Owner and LastModified columns, the ModifiedBy/Owner will need to matched back to the user, it will not tell you deletions though.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Exporting Hyperion Business Rules as Text files

    Hyperion 9.3.1 installtion...
    Does anyone have any nifty scripts or techniques for getting the HBR code out into flat files (ideally named as the Rule)...
    I Know you can export via AAS, but all I want is the raw code so I can use some differencing tools on them.
    Basically I've rules being changed in Prod, and Dev, and need to manage the situation.
    Using the individual export option is painfully slow with 100+ rules.
    Surely there is a way to query the [dbo].*AAS.HBRRules* table feild '*Body*' which is of type 'Image' and convert it into ASCII ?
    Anyone done such a thing? or automated the export facility?
    Cheers,
    BossHogg.

    Here is my variant on it.
    It differs in that it accepts command line parameters for SQLServer, Output Dir (defaults to {Desktop}\Rules) & DBName (defaults to AAS). It also has header size changed to 201 which works here. Finaly some of the EOF checks have been fixed as the original posting seems to have lost the 'not equals' characters...
    I Save this as HBRulesExport.vbs the execute it via a batch script twice using 'start /w ....' to export Dev & Prod to two seperate dirs for comparison.
    'Force "cscript"
    Dim numRules
    Dim ID
    Dim length
    Dim index
    Dim headerSize
    Dim fileName
    Dim rule
    Dim DirPath
    Dim SQLSERVER
    Dim DBCAT
    'ORIGINAL :- headerSize = 233
    headerSize = 201
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set rs = CreateObject("ADODB.Recordset")
    Set cnSS = CreateObject("ADODB.Connection")
    Set shellObj = CreateObject( "WScript.Shell" )
    If Wscript.Arguments.Count < 1 Then
         MsgBox "This script requires at least a SQLServer DB name to get to HBRules. Parms are as follows..." & vbCrLf & vbCrLf & Wscript.ScriptFullName & " {SQL Server Name} [{OutputPath}] [{Db Name}]"
         Wscript.Quit 1
    Else
         SQLSERVER = Wscript.Arguments(0)
         If Wscript.Arguments.Count = 3 Then
              DBCAT = Wscript.Arguments(2)
              DirPath = Wscript.Arguments(1)
         Else
              DBCAT = "AAS"
              If Wscript.Arguments.Count = 2 Then
                   DirPath = Wscript.Arguments(1)
              Else
                   DirPath = shellObj.ExpandEnvironmentStrings("%USERPROFILE%") & "\Desktop\rules"
              End if
         End if
    End If
    if (fs.FolderExists(DirPath) = False) Then
         fs.CreateFolder (DirPath)
    End If
    cnSS.Open "Provider=sqloledb;" & "Data Source=" & SQLSERVER & ";" & "Initial Catalog=" & DBCAT & ";" & "Integrated Security=SSPI"
    strQuery = "Select max(id) from hbrrules"
    rs.Open strQuery, cnSS
    If (Not rs.EOF) Then
         numRules = rs.fields(0)
         For ID = 1 To numRules
              rule = ""
              strQuery = "Select name from hbrrules where id=" & ID
              rs.Close
              rs.Open strQuery, cnSS
              If (Not rs.EOF) Then
                   fileName = rs.fields(0)
                   rs.Close
                   strQuery = "Select body from hbrrules where id=" & ID
                   Set rulefile = fs.CreateTextFile(DirPath & "\" & fileName & ".hbr", True, True)
                   rs.Open strQuery, cnSS
                   If (Not rs.EOF) Then
                        length = rs.fields(0).ActualSize
                        For count = 1 To length - headerSize - 5
                             index = count + headerSize
                             character=AscB(MidB(rs.fields(0).Value, index, 1))
                             If Character = 10 Then
                                  rule = rule & VBNEWLINE
                             Else
                                  ' Filter for normal ASCII character range
                                  If (Character > 31) And (character < 127) then
                                       rule = rule & Chr(Character)
                                  Else
                                       rule = rule & " "
                                  End if
                             End If
                        Next
                        rulefile.WriteLine(rule)
                        rulefile.Close
                   End If
              End If
         Next
         MsgBox "Finished extracting HBRules from " & DBCAT & " on server " & SQLSERVER & vbCrLf & "Extracted " & numRules & " to Dir - " & DirPath
    Else
         MsgBox "Query of DB " & DBCAT & " on server " & SQLSERVER & " - Returned no rows"
    End If
    rs.Close
    'CODE ENDS
    Edited by: djhogg on 09-Dec-2008 06:30

  • Hyperion business rules and calc scripts

    Hi...can anyone differentiate HBR and Calc scripts.. what is the advantage HBR got over Calc scripts.. replies will be highly appreciated

    Hi
    there are many you can easily get answer reading thro documentation.
    major difference is the runtime prompt in HBR , which differentiates Calc script.
    however I recently learned that you can put run time prompts in calc scripts lusing VBA macros.
    good luck.

Maybe you are looking for