Restarting Platform Agent

Restarting Platform Agent requires that you run a command to restart certain processes and, for other processes, run one command to stop the processes and then run another command to start them again.

Before you begin

Before you stop Platform Agent, warn users to finish their work or stop the processes that they are running.

About this task

To restart Platform Agent, complete the following steps:

Procedure

  1. Stop the Platform Agent processes.
    • If you are running AIX®, type the following command on a command line and press Enter:
      stopsrc -s platform_agent
      Note: Stopping Platform Agent does not also stop the CIM server. If you want to stop the CIM server, type the following command and press Enter:
      stopsrc -s cimsys
    • If you are running Linux, type the following command on a command line and press Enter:
      paservices stop
      Note: Alternatively, you can run the following command to stop and then automatically start the Platform Agent services on Linux:
      paservices restart
    • If you are running Linux with KVM platform agent, type the following commands on a command line and press Enter after each command:
      /etc/init.d/ibmpawatchdogd_x86_64 stop (Platform Agent 6.3 and later only)
      /etc/init.d/tog-pegasus stop
      /etc/init.d/tier1slpinst stop
      /etc/init.d/cim-listener stop
      /etc/init.d/gatherer stop
      /etc/init.d/slpd stop
    • If you are running IBM® i, type the following command on a command line and press Enter:
      ENDTCPSVR SERVER(*CIMOM)
      Note: The IBM i Platform Agent is an IBM i TCP server.
    • If you are running Windows, run the following command:
      paservices.vbs stop
      Note: Alternatively, you can run the following command to stop and then automatically start the Platform Agent services on Windows:
      paservices.vbs restart
  2. Start the Platform Agent processes.
    • If you are running AIX, type the following command on a command line and press Enter:
      startsrc -s platform_agent
      Note: If it is not already running, the CIM server is automatically started by Platform Agent.
    • If you are running Linux, type the following command on a command line and press Enter:
      paservices start
      Note: Alternatively, you can run the following command to stop and then automatically start the Platform Agent services on Linux:
      paservices restart
    • If you are running Linux with KVM platform agent, type the following commands on a command line and press Enter after each command :
      /etc/init.d/slpd start
      /etc/init.d/gatherer start
      /etc/init.d/cim-listener start
      /etc/init.d/tier1slpinst start
      /etc/init.d/tog-pegasus start
      /etc/init.d/ibmpawatchdogd_x86_64 start (Platform Agent 6.3 and later only)
    • If you are running IBM i, type the following command on a command line and press Enter:
      STRTCPSVR SERVER(*CIMOM)
    • If you are running Windows, run the following command:
      paservices.vbs start
      Note: Alternatively, you can run the following command to stop and then automatically start the Platform Agent services on Windows:
      paservices.vbs restart
  3. Obtain the status of Platform Agent to ensure that it started successfully.
    • If you are running AIX, type the following command on a command line and press Enter:
      lssrc -s platform_agent
    • If you are running Windows, go to the Services panel (Start Menu > Settings > Control Panel > Administrative Tools > Services) and ensure that the following services are running:
      • Platform Agent Cimlistener Service
      • Platform Agent SLP SA
      • Platform Agent SLP Attributes Service
      • Platform Agent WMI+A Service
      • Platform Agent Watchdog Service (Platform Agent only)