Skip to Content
author's profile photo Former Member
Former Member

command line to reinitialize cms database in windows

Post Author: sptong

CA Forum: Administration

Pls adv if there is any command line that I can use to reinitialize the BOE cms database in windows ?

I wish to automate the housekeep process to clear away all the previously created folders/report-objects in InfoView. Is there anyone with any ready to use scripts or steps to show how it can be done ?

I am running BOE XIR2 in Windows 2003 server. CMS used Oracle 9.2 as database.

Thanks/Rgds

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:56 AM

    Post Author: amr_foci

    CA Forum: Administration

    for sure use net start and then the service name

    net START "Central Management Server"

    you can use it for all your servers ,,, like

    net START "Connection Server"net START "Central Management Server"NET START "Destination Job Server"NET START "Web Intelligence Job Server"NET START "Web Intelligence Report Server"

    good luck

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 07:21 AM

    Post Author: sptong

    CA Forum: Administration

    amr_foci:

    for sure use net start and then the service name

    net START "Central Management Server"

    you can use it for all your servers ,,, like

    net START "Connection Server"net START "Central Management Server"NET START "Destination Job Server"NET START "Web Intelligence Job Server"NET START "Web Intelligence Report Server"

    good luck

    Thanks.

    Have tried that already. But using 'net start' and 'net stop' only start/stop the services. It does not re-initilaise the database and housekeep the folders and objects already created in InfoView. My purpose is to housekeep the InfoView such that 'unused folders and report objects' could be 'removed'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2008 at 05:08 AM

    Post Author: TAZ

    CA Forum: Administration

    Hi Sptong,

    Reinitializing the CMS DB will effectively delete everything, folders, users, groups, and you will be left with a new install basically.

    Is that what you want to do? I can't see how this could possibly be a maintainence task?

    There is no command line way to do this. If that is what you want to do... Then from the CCM you can stop the CMS, right click properties, go to the tab with the connection info on it and modify the connection. There you will see 3 options 1 which will reinitialize the CMS DB. Remember to most customers this would constitute a production down and 100% loss of data. I'd back up your DB first.

    Regards,

    Tim

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2008 at 05:26 AM

    Post Author: sptong

    CA Forum: Administration

    TAZ:

    Hi Sptong,

    Reinitializing the CMS DB will effectively delete everything, folders, users, groups, and you will be left with a new install basically.

    Is that what you want to do? I can't see how this could possibly be a maintainence task?

    There is no command line way to do this. If that is what you want to do... Then from the CCM you can stop the CMS, right click properties, go to the tab with the connection info on it and modify the connection. There you will see 3 options 1 which will reinitialize the CMS DB. Remember to most customers this would constitute a production down and 100% loss of data. I'd back up your DB first.

    Regards,

    Tim

    Yes. That is basically what I wanted.

    For our application, we do not published the report into InfoView. We used the InfoView scheduling facility to 'generate a final PDF file' to a report repository. We store the reports else where. Hence, the InfoView folders will get messy after some period. Hence, we need to housekeep the folders by deleting everything, leaving a new install basically.

    We know the manual steps. Just wonder if there are some command line / scripts that we could use to automate the process.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2008 at 01:08 PM

    Post Author: TAZ

    CA Forum: Administration

    There might be a way via SDK, you may want to post in the DEV-java or DEV.net forums. I don't know a way

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.