DX NetOps

Expand all | Collapse all

Tech Tip: Stop/Start component Cheat Sheet

  • 1.  Tech Tip: Stop/Start component Cheat Sheet

    Broadcom Employee
    Posted Mar 01, 2013 12:36 PM

    Stopping and restarting Data Aggregator

     

     

    Run the following to stop the Data Aggregator:

     

     

    /etc/init.d/dadaemon stop

     

     

    Polling continues on Data Collector if it is running and polling when Data Aggregator is stopped. Data Collector queues polled data for future delivery to Data Aggregator.

     

     

    Run the following to start the Data Aggregator:

     

     

    /etc/init.d/dadaemon start

     

     

    Data Aggregator starts and synchronizes with CA Performance Center automatically.

     

     

    When Data Aggregator starts, any queued, polled data on the Data Collector host are sent to Data Aggregator. The newest data is discarded if the queued data exceeds a disk space limit that is configured on the Data Collector system. As a result, there is a gap in the polled reporting data.

     


    Stopping and restarting Data Repository

     

     

    Situations can arise when you must stop and restart the data repository. For example, the computer where the data repository is installed can lose power or can lock up. Or, you want to relocate the computer. In this case, stop and restart the data repository. If you want to install an operating system patch or you want to upgrade to a new version of the data repository, stop and restart the data repository.

     

     

    Follow these steps:

     

     

    Log in to the computer where Data Aggregator is installed. Log in as the root user or a sudo user with access to a limited set of commands.

     

     

    Note: For more information about the sudo user, see the Data Aggregator Installation Guide.

     

     

    Open a command prompt and type the following command:

     

     

    /etc/init.d/dadaemon stop

     

     

    Log in to the database server you use for the data repository as the database administrator user, not as the root user.

     

     

    Type the following command:

     

     

    /opt/vertica/bin/adminTools

     


    The Administration Tools dialog opens.

     

     

    Select (4) Stop Database.

     

     

    Press the Space bar next to the database name, select OK, and press Enter.

     

    You are prompted for the database password.

     

     

    Enter the database password and press Enter.

     

    The data repository database stops.

     

     

    Note: If the data repository does not stop, select (2) Stop Vertica on Host from the (7) Advanced Tools Menu.

     

     

    Select Exit and press Enter.

     

     

    Relocate the computer, or perform any other administrative tasks.

     

     

    Log in to the database server you use for the data repository as the database administrator user, not as the root user.

     

     

    Type the following commands:

     

     

    /opt/vertica/bin/adminTools

     

     

    The Administration Tools dialog opens.

     

     

    Select (3) Start Database.

     

     

    Press the Space bar next to the database name, select OK, and press Enter.

     

    You are prompted for the database password.

     

     

    Enter the database password and press Enter.

     

    The data repository database starts.

     

     

    Select (E) Exit and press Enter.

     

     

    Start Data Aggregator by logging in to the computer where Data Aggregator is installed. Log in as the root user or a sudo user with access to a limited set of commands.

     

    If you installed Data Aggregator as the sudo user, you set up a sudo command alias for the /etc/init.d/dadaemon command. Use the sudo command to run the dadaemon start script.

     

     

    Note: For more information about the sudo user, see the Data Aggregator Installation Guide.

     

     

    Open a command prompt and typing the following command:

     

     

    /etc/init.d/dadaemon start

     

     

    The data repository restarts.

     


    Stopping and restarting Data Collector

     

     

    To stop the Data Collector run the following command:

     

     

    /etc/init.d/dcmd stop

     

     

    When Data Collector is stopped, all ongoing polling stops. You cannot run any discoveries.

     

     

    To start the Data Collector run the following command:

     

     

    /etc/init.d/dcmd start

     

     

    When Data Collector is restarted, scheduled polling resumes. You can resume running discoveries. Data Collector resynchronizes with CA Performance Center automatically.

     


    How to stop or start CAPC services

     

     

    Stop all of the CA Performance Center services, using the following commands:

     

     

    /etc/init.d/caperfcenter_eventmanager stop
    /etc/init.d/caperfcenter_devicemanager stop
    /etc/init.d/caperfcenter_sso stop
    /etc/init.d/caperfcenter_console stop

     

     

    Start all of the CA Performance Center services, using the following commands:

     

     

    /etc/init.d/caperfcenter_eventmanager start
    /etc/init.d/caperfcenter_devicemanager start
    /etc/init.d/caperfcenter_sso start
    /etc/init.d/caperfcenter_console start



  • 2.  RE: Stop/Start component Cheat Sheet

    Posted Mar 12, 2013 01:18 PM
    Thanks for sharing.

    Is it possible you forgot the /etc/init.d/spreadd daemon ? Or does it not require restarts ?

    Thanks & Greetings,

    Benjamin


  • 3.  RE: Stop/Start component Cheat Sheet

    Broadcom Employee
    Posted Mar 13, 2013 07:16 AM
    Thanks for sharing this interesting Tips.

    Regards
    Ollivier