CMS Databae/Audit Database

Hi ,
I am using BO Edge Series XI3.1 Sp3
My CMS , AUdit data base both are in SQL Server 2008 R2.
below are the my queries.
1. My CMS Database Log file growing rapidly , how i can stop it.
2. how does keep only last 1 month data in Audit database.
please help me out.
thanks in advance.
reddeppa k

Hello,
1480761 - How to purge or cleanup old data from the BusinessObjects Enterprise XI 3.1 Audit Database
1581890 - Does BusinessObjects Enterprise support to clean up audit database?
I think, that you find much informations about you problem.
best regards
Krys

Similar Messages

  • DB2 UDB9.1 support as CE10 CMS and Audit database

    Does any body know if DB2 UDB 9.1 is supported as CMS and Audit database for Crystal Enterprise (CE) version 10?
    I know CE 10 is not supported by BO any more, we are in the process of migrating to BOXI but mean while we have a need to upgrade DB2 UDB from 8.1 to 9.1 version.
    Also did any one encounter any issues using CE10 against DB2 UDB 9.1.
    Please advise.
    Thanks

    Hello Romain,
    Thank you very much for your clarifications.
    I guess there was a second question hidden behind my first question.
    Here is the whole story, we had a workshop yesterday with some Consultants specialized on BI.4 technologies. We were discussing the architecture, and more particularly which would be the most suitable Web Application Server :
    * It seems that most SAP Customers choose the bundled WAS : Tomcat 7
    * But as SAP Basis Administrators,we had pretty much no previous exposure to Tomcat/Apache Technologies
    * The Consultants told us that an increasing number of SAP Customers are choosing SAP NW AS for deployment of BOE.war and other BI webapps
    * But so are now considering installing dedicated Netweaver AS on Windows, that will be acting as BI 4.1 Application Servers. We do not plan to deploy BI 4.1 applications on any of our existing  NW AS ,as they have been installed on HP-UX ( not supported by BI.4 )
    The only problem with that is that you can not install a Netweaver AS, without its corresponding Database, so I was wondering if that New Oracle Database installed only when deploying"NW AS/BI 4 Web application Tier", could be used as the CMS/Audit Database.
    Your latest answer seems to suggest that it is definitely not a good idea.
    The thing is , that we do not want to end up with two databases per Landscape tier (DEV,QAS,PRD)
    I hope it is a bit more clear.
    Thank you

  • Backingup and Restoring CMS and Auditing Database

    We have a senario where out database server is completely down , we are unable to start services on SQL Server and it is not possible to restore them. Now we have our CMS and Auditing databases on that database. We have access to the file system from which we can take mdf and ldf files and restore the same to a new database. But CMS database cannot be restored in that way. How can i  restore the CMS to original state. We also have a backup for those databases i.e., .bak file. Please help

    Anil,
           You should be able to copy the *.MDF & *.LDF set from one SQL Server to another and mount them on another working SQL server.  Once you have validated the SQL Server database is mounted properly simple update the ODBC on the BOBJ box to point to the new server.  Make sure the ODBC name stays the same.
    You problem is more related to back and restore/recover of SQL Server.
    Regards,
    Ajay

  • Changing CMS and Audit Repository databases from Oracle to SQl server 2008

    Hi guys,
      We have a Business Objects Dev environment which was installed with Oracle 10g database for CMS and Audit Repository.
    Our database team now decided to change the CMS and Audit databases of Dev BOE from Oracle to  SQL server 2008.
    What is the ideal way to achieve this? I'm concerned because the old DB is Oracle and the new one would be SQL server.
    Earlier, I have changed CMS database from one to another by stopping SIA , taking the backup of old DB into new and changing it in the Update Databse option. But in that case both old and new CMS databses were on SQL server 2005.
    Thanks,
    Ganga

    Denise,
      Thanks for the solution.
    We have done Windows AD and SAP integration on the Dev BOE. Will there be any issue with those after the DB change. I am guessing there won't be, but just want to confirm. Please reply.
      Also, we need to stop the old SIA and start using the new SIA after the step two is done right?

  • CMS/Audit  Database Sizing

    Hello,
    We are planing to deploy BOE 3.1 for about 3,00,000 users the OS is windows and CMS database would be SQL server 2008.
    Any help would be appreciated to help me  arrive at an estimation of the size for CMS and Audit database for these many users?
    Thanks
    Ranjit Krishnan

    Hi Ranjit, it really depends on how many metrics you are auditing (in another word, the items on CMC that are checked for auditing). We have 20,000+ users in our system and I am auditing about 90% of the metrics. Our audit schema grows to 8-10 GB in about 3, 4 months.
    Frankly, in this day and age, disk drives are cheap. So storage is not your main concern. Your concern should be the performance. When the audit schema gets too large, naturally, the query performance will decrease. Therefore, I have our DBA archived off the audit schema every 6 months to reduce the size. And you need to back up the log files as well. In another word, we only keep a 6-months history. If someone needs older information, we can bring them back from the archive for a one-off query.
    This is something you must sit down with your DBA and come up with a strategy that makes sense for your organization. Every company has different need. So there is no cookie-cutter formula to handle this.
    Hope this helps.
    If you are using the BusinessObjects tool, you should join [ASUG|www.asug.com]

  • Audit database. config auditing data source (DB2)

    Hello expert,
    I want to enable audit database for Business Object and I has followed the admin guide but not work.
    I install Business Object enterprise XI 3.1 on AIX 5.3 .
    When I installed BO ,I choose 'Use an existing database'  and choose DB2. (The same database of SAP BW database)
    And when the installation require the information of CMS and Audit database, I fill the same db alias as SAP BW database.
    So now I has SAPBW , CMS and Audit  data in the same database.
    After installation I saw the CMS table in "DB2<aliasName>"  schema.
    But can not find the Audit table.
    Does the audit table will create after installation?
    Then I try to enable the audit database using cmsdbsetup.sh and I choose 'selectaudit' and fill in the information that it require.
    Then it finish with no error.
    "Select auditing data source was successful. Auditing Data Source setup finished."
    But I still can not find any audit table in the database.
    I run serverconfig.sh and I can't see the Enable Audit option when I choose 'modify a server'.
    Any idea?
    Thanks in advance.
    Chai

    Hello,
    Thanks for your reply.
    It is not a BO cluster.
    And a log detail when select audit data source is show as below
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) /bodev/bobje/setup/jscripts//ccmunix.js started at Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST)
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) About to process commandline parameters...
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Finished processing commandline parameters.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No password supplied, setting password to default.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No username supplied, setting username and password to default.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No authentication type supplied, setting authentication type to default.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No CMS name supplied, setting CMS name to machine name.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Select auditing data source was successful.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) /bodev/bobje/setup/jscripts//ccmunix.js started at Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST)
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) About to process commandline parameters...
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Finished processing commandline parameters.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No password supplied, setting password to default.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No username supplied, setting username and password to default.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No authentication type supplied, setting authentication type to default.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No CMS name supplied, setting CMS name to machine name.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Select auditing data source was successful.
    And the CMS log file did not show any error.
    Additional detail:
    - My BW and BO are in the same server.
    - I already grant all the rights to the user who relate to audit database.
    - My BW and  BO are in the same database.
    - There is no audit table appear in the database.
    - No Fix pack installed.
    I wonder why BO audit connection did not see my database.
    (In case of DB2, I think the db2 alias name is the same name of the database name (as default).
    So if my database name is BWD then the database alias name should be BWD, am I right?)
    Any idea?
    Thanks in advance.
    Chai

  • Upgrade R2 to R3 (Same box) , with Audit database

    Hi Experts,
    We do not have a new Production Server for new R3 installation.
    We are going to upgrade the current R2 to R3 in the same box. (With AD as authentication).
    We have turned on the Audit service as well. So we have2 databases -  CMS and Audit databases.
    May I know what are the steps to perform this upgrade?
    Can I use the same audit database? Or should I create a new audit database?
    Do I need to turn off the audit feature before upgrading to R3?

    The current environment is R2 with SP2...
    We use Java Tomcat as web server,  Windows AD as authentication, SQL 2005 DB for CMS and Audit Databases.
    Install R3 from scratch? So we will have both R2 and R3 in same machine?
    In that case, I should get the DBA (we do not have rights to create DB) to create 2 empty databases (CMS and Audit) for R3...
    Below are the steps I can think of,  to have 2 BO in one machine:
    1. Get the DBA to create 2 new databases
    2. Install R3
    3. Point CMS connection and Audit connection to the new databases
    4. Use the import wizard to import reports/users/universes.
    Below are the steps for upgrading R3 (only one BO in one machine):
    1. Install R3
    2. Choose the option "Upgrade"
    Did I miss out anything? Appreciate your advice. Thanks!
    Edited by: BK Ong on May 11, 2010 11:46 AM

  • CMS Audit database records purge

    I was recently notified by our DBA that the size of our Audit database has surpassed the size of all other tables on the production (Oracle) schemas of the CMS.
    Since audit is only a historical record of user and past report activities, most of it is no longer needed.
    Is there any way to purge or limit the size or this database within Business Objects Enterprise?

    There is no way to limit the size of the Audit DB from within BOE itself.
    It is however possible to purge audit data the db itself. This is in SAP NOTE 1480761 - How to purge or cleanup old data from the BusinessObjects Enterprise XI 3.1 Audit Database.
    NOTE that SAP does not support this.
    Best,
    Srinivas

  • Configure Audit Database in BOBJ LCM

    Hello,
    Can anyone please provide me steps to configure Audit Database in BOBJ LCM?
    When I goto SIA properties under configuration, I have configured Audit Database and i got message saying Audit Database completed. I have enabled AUDIT in Adaptive processing server too however when I goto properties of Audit Events I am getting message as "Auditing information is not being written to the auditing database. Please verify that the auditing data source is configured properly on the CMS".
    Please guide me in solving this issue...
    Thanks,
    Sravanthi

    Hello Stratos,
    Yes, this is different oracle instance. I am tried with sysdba and i still dont see Audit tables in database. I appreciate, if you have any hints on checking the Audit tables.
    How do I make sure Audit database has been created? and Could you please provide me the steps to configure Audit Database.
    Thanks,
    Sravanthi

  • BOBJ Audit Database disabled

    Dear All,
    We installed BOBJ without audit database. The system detail as below:
    Product Version: BOE XI 3.1.
    Product Patches installed: SP3
    OS: AIX 5.3
    CMS DB: QO1 (DB2/AIX64 9.1.8)
    Audit DB: QA1 (DB2/AIX64 9.1.8)
    Authentication Type: SAP
    Now we need to activate the audit database for our BOBJ systems.
    We have successfully applied SAP note 1440647 for the same. But the audit database is still disabled in CMC.
    We have tried some alternative and created new DB. But no success as yet.
    Do you have any idea how this could be solved?
    Appreciate your input / advice to resolve the issue.
    If you need any clarification, kindly get back to me.
    With Regards,
    Uttam.

    Uttam,
    You may want to try the [SAP BusinessObjects Enterprise/Edge, and SAP Crystal Reports Server Administration|BI Platform; forum for this one.
    Thanks,
    Brandon

  • Audit Database is not updating

    Hi
    our Audit data base is not updating the data in the tables. I found the Audit files created every hour greater than 0kb in the following folder.
    Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\Auditing
    But this data is not updating to our tables. We are on BOXI 3.1 SP1 and SQL 2008
    Please suggest

    Hi,
    Try checking your CMS log under <Your installationPath>\BusinessObjects Enterprise 12.0\Logging
    While working with a SQL 2008 Audit database, I found the following :
    "(.\AuditDatabaseSubsystem_impl.cpp:92). (false : DBConnectionHolder - (AuditDB) - Retryable error treated as lost connection error. Code 0, Msg: [Microsoft][SQL Server Native Client 10.0]String data, length mismatch)."
    I created a new ODBC datasource using sqlncli (version 9.0, i.e. 2005) instead of version 10.0 and  modified the datasource on the configuration tab of the SIA in the CCM
    Worked for me, hope this helps.
    N.

  • CMS and Audit DB: DBA Tips

    Anyone seen any good blogs, whitepapers, or other info on tuning the CMS and Audit DB?  I am looking for info on things a DBA should consider in keeping the DBs in tip top and good performing shape.  For example, is there ever a reason to partition tables?  When does it make sense to run statistics, if ever?  What settings would optimize thruput?  High availability considerations?  Basically, the types of things a DBA should consider in a large enterprise environment for a BOBJ system that has been running for years or will be running for years?  As a consultant, we usually set our customers up and then we rarely revisit this sort of topic.  It says something for the stability and design that it rarely needs consideration.  But it would be nice to have some valid and vetted sources of information to educate DBAs tasked with keeping these databases in top shape.  Its simple to say that you would do the same things you would do for any other database but when you consider an encrypted CMS, etc. its not necessarily clear what is safe and what is not safe in this department.  Also, what you as DBAs (if looking) do to keep an eye on things and make sure I/O is ok, you give enough threads, account for growth and increased usage, etc.  I can certainly come up with some basics but I have decided to open up a discussion to see what others are doing.

    1 account is fine, we consolidate all the time from older docs that used to indicate more than 1.
    The primary advantage of using multiple is that when logging on the DB, or other you can see which process is hitting it. Since only yhe CMs would hit either the CMS DB or auditing DB then it really shouldn't matter.
    Regards,
    Tim

  • Problem with upgrade due to no connection to audit database

    Hello everyone!
    Today after work I wanted to finally upgrade ZCM but run into some problems.
    We have three servers: Two primary servers and one database-server (OEM Sybase SQL Anywhere). All three are running on SLES 11.
    I want to upgrade our ZCM11.2.4MU1 to ZCM11.3a and then to 11.3.1.
    I started by upgrading the Sybase database and running dbunload according to the documentation.
    Then I continued with "sh install.sh -c" and chose "Audit Database". I selected the OEM Sybase SQL Anywhere with port 2639.
    Admin, password and database-name were unique. But I made the mistake to set the servername to the same as the zenworks-database. *sigh*
    The installation completed.
    The sybase-asa and sybase-audit-asa services couldn't run at the same time, therefore I rebooted the database-server and installed the audit database again with a unique database-name.
    Before the upgrade I could start dbisql and connect without problems to backup the database. Now I cannot connect anymore without using the additional parameter: links=tcpip{host=IPorDNSName,port=2638}
    Connecting to the Audit Database via dbisql is not possible, with the following message:
    Code:
    Could not connect to the database.
    Database server not found
    Ensure that the name in the "Server name" field is spelled correctly, that the network options on the network tab are correct and that the database server has been started.
    [Sybase][ODBC Driver][SQL Anywhere]Database server not found
    SQLCODE=-100
    SQLSTATE=08001
    Connection parameters:
    User=zenauditadmin
    Password=***
    Server=zenworks_audit_database_server
    DBN=zenworks_audit_database2
    LINKS=ShMem
    ENC=NONE
    links=tcpip{host=<ip>,port=2639}
    With that said, it is not possible to upgrade the first primary server because the setup routine is also not possible to connect to the Audit Server:
    Code:
    We were unable to create a connection to the database. Please check your
    connection information.
    Specify the existing ZENworks database and database authentication information
    for an existing user with sufficient permissions.
    The services sybase-asa and sybase-audit-asa are both running. I also restarted them a couple of times.
    zenworks_database.conf and zenworks_database_audit.conf look fine.
    Do you have any idea what I missed?
    Is the duplicate servername still somewhere existend and prevents the proper running?
    Thank you very much in advance for pointing me in any direction!

    novellchuck wrote:
    >
    > Hello everyone!
    >
    > Today after work I wanted to finally upgrade ZCM but run into some
    > problems.
    >
    > We have three servers: Two primary servers and one database-server
    > (OEM Sybase SQL Anywhere). All three are running on SLES 11.
    > I want to upgrade our ZCM11.2.4MU1 to ZCM11.3a and then to 11.3.1.
    >
    > I started by upgrading the Sybase database and running dbunload
    > according to the documentation.
    > Then I continued with "sh install.sh -c" and chose "Audit Database". I
    > selected the OEM Sybase SQL Anywhere with port 2639.
    >
    > Admin, password and database-name were unique. But I made the mistake
    > to set the servername to the same as the zenworks-database. sigh
    > The installation completed.
    > The sybase-asa and sybase-audit-asa services couldn't run at the same
    > time, therefore I rebooted the database-server and installed the audit
    > database again with a unique database-name.
    >
    > Before the upgrade I could start dbisql and connect without problems
    > to backup the database. Now I cannot connect anymore without using the
    > additional parameter: links=tcpip{host=IPorDNSName,port=2638}
    >
    > Connecting to the Audit Database via dbisql is not possible, with the
    > following message:
    >
    >
    > Code:
    > --------------------
    > Could not connect to the database.
    > Database server not found
    >
    > Ensure that the name in the "Server name" field is spelled
    > correctly, that the network options on the network tab are correct
    > and that the database server has been started. [Sybase][ODBC
    > Driver][SQL Anywhere]Database server not found SQLCODE=-100
    > SQLSTATE=08001
    > Connection parameters:
    > User=zenauditadmin
    > Password=***
    > Server=zenworks_audit_database_server
    > DBN=zenworks_audit_database2
    > LINKS=ShMem
    > ENC=NONE
    > links=tcpip{host=<ip>,port=2639}
    > --------------------
    >
    >
    > With that said, it is not possible to upgrade the first primary server
    > because the setup routine is also not possible to connect to the Audit
    > Server:
    >
    >
    > Code:
    > --------------------
    > We were unable to create a connection to the database. Please
    > check your connection information.
    >
    >
    > ************************************************** ********************
    > ******** Specify the existing ZENworks database and database
    > authentication information for an existing user with sufficient
    > permissions. --------------------
    >
    >
    > The services sybase-asa and sybase-audit-asa are both running. I also
    > restarted them a couple of times.
    > zenworks_database.conf and zenworks_database_audit.conf look fine.
    >
    > Do you have any idea what I missed?
    > Is the duplicate servername still somewhere existend and prevents the
    > proper running?
    >
    > Thank you very much in advance for pointing me in any direction!
    Oh boy... and no backup?
    Not sure how to get the sybase back working again... my first choice in
    such a case would be to make a contact to Novell, are you able to
    create an SR on this?
    Niels
    I have always liked... Cowabunga!
    If you find this post helpful, please show your appreciation by
    clicking on the star below.
    A member must be logged in before s/he can assign reputation points.

  • Repoint Audit database in BO XI 3.1 SP3 running on Solaris Server

    Hi,
    We need to repoint to new Audit database in Solaris server which is running BO XI 3.1 SP3 .What steps we need to follow to do that? Do we require root privileges for that?
    Really appreciate your the help
    Regards,
    Anshuman

    Hi,
    you can repoint the Audit DB but you cant move the content of the Audit DB with BO functions. If you want to move the content aswell you have to use DB functions for that. The process would look like:
    1. Create the new DB
    2. Create the connection to the new DB on the BOE Host
    3. Run cmsdbsetup.sh to point the Audit DB to the new DB
    4. Import the Audit Universe and configure the Universe connection to point to the new DB
    Regards
    -Seb.

  • AUDIT 기능을 이용하여 DATABASE 사용자를 확인하는 방법.

    제품 : ORACLE SERVER
    작성날짜 : 1999-02-19
    Audit 기능을 이용하여 Database 사용자를 확인하는 방법.
    ==================================================
    1. init.ora 에 다음 파라미터를 셋팅한다.
    audit_trail=none
    기존에 true 등으로 셋팅되어 있다면 반드시 none 으로 변경한다.
    none 이 아닌 TRUE, DB 등으로 셋팅되어 있으면 반드시 none 으로 변경 후
    반드시 DB 재기동이 필요하다.
    이 작업없이 2번 작업을 하고 나면 DB 에 접속 시 error 가 발생한다.
    물론 다시 해당 오브젝트를 drop 하면 문제가 해결된다.
    2. 필요한 오브젝트와 권한을 생성한다.
    SVRMGR> connect internal
    SVRMGR> create table system.aud$ as select * from aud$
    SVRMGR> rename aud$ to aud$_temp
    SVRMGR> connect system/manager
    SVRMGR> create index i_aud1 on aud$ (sessionid, ses$tid)
    SVRMGR> grant all on aud$ to sys with grant option
    SVRMGR> connect internal
    SVRMGR> create view aud$ as select * from system.aud$
    SVRMGR> exit
    $ cd $ORACLE_HOME/rdbms/admin
    $ svrmgrl
    SVRMGR> connect internal
    SVRMGR> @cataudit.sql
    sys 유저에 audit 정보를 저장할 테이블을 생성한다.
    aud$ table 에 변경이 가해지면 Trigger 가 fire 되어 아래 테이블에
    필요한 정보를 입력하게 된다.
    SVRMGR>
    create table accounting
    (USERNAME VARCHAR2(30),
    LOGIN_TIME DATE,
    LOGOFF_TIME DATE,
    SCHEMANAME VARCHAR2(30),
    OSUSER VARCHAR2(15),
    PROCESS VARCHAR2(9),
    MACHINE VARCHAR2(64),
    TERMINAL VARCHAR2(8),
    PROGRAM VARCHAR2(64),
    TYPE VARCHAR2(10),
    LOGICAL_READ NUMBER,
    PHYSICAL_READ NUMBER,
    SID NUMBER,
    SESSION_SID NUMBER,
    CPU_TIME NUMBER)
    Trigger 를 생성한다.
    SVRMGR>
    create table oper (act varchar2(27));
    create or replace trigger acc_trigger
    after update on system.aud$ for each row
    when (new.action# = 101 or new.action# = 102)
    begin
    insert into accounting
    select :new.userid,:new.timestamp#,:new.logoff$time,
    ss.schemaname, ss.osuser, ss.process, ss.machine, ss.terminal,
    ss.program, ss.type, :new.logoff$lread, :new.logoff$pread,
    st.sid, ss.audsid, st.value
    from V$STATNAME S, V$SESSTAT ST, V$SESSION SS
    where S.STATISTIC# = ST.STATISTiC# AND ST.SID = SS.SID
    and :new.sessionid = SS.AUDSID
    and S.NAME='CPU used by this session';
    insert into oper
    select audit_actions.name
    from audit_actions
    where :new.action# = audit_actions.action;
    end;
    3. init.ora 파일에 다음과 같이 파라미터를 다시 변경후 DB 재기동 한다.
    audit_trail=DB
    timed_statistics=TRUE
    4. Audit 기능을 설정한다.
    예) audit session by hanseo
    예) audit all on username.table명
    예) audit table by scott by access whenever successful
    그리고 다음 쿼리문을 실행한다.
    SQL> select osuser,username,to_char(LOGIN_TIME,'dd.mm.yy:hh:mi') login,
    to_char(LOGOFF_TIME,'dd.mm.yy:hh:mi') logout, MACHINE, CPU_TIME
    from accounting;
    SQL>
    OSUSER USERNAME LOGIN LOGOUT MACHINE CPU_TIME
    hanseo HANSEO 29.01.99:11:07 29.01.99:11:12 윤 한서 66
    1 row selected.
    OSUSER : windows login name
    USERNAME : DB username
    MACHINE : 제어판--네트워크--컴퓨터확인--컴퓨터이름 이다.

Maybe you are looking for