How to stop/start/restart services on an external Satellite 6 Capsule server?

Solution Verified - Updated

Environment

  • Red Hat Satellite 6 Capsule server

Issue

  • How do I stop, start, or restart Satellite 6 Capsule Server services?

Resolution

  • Following commands can be used to stop, start, or restart Satellite 6 Capsule Server services.

    # satellite-maintain service status
    

OR

# foreman-maintain service status
  • In some instances it is necessary to manually stop and then restart the Capsule services.
    One method is to reboot the Capsule
    You may also individually stop, start, or restart the services using;

    service <service name> stop | start | restart
    
  • The affected services include;

    • dhcpd
    • dns
    • httpd
    • pulp_celerybeat
    • pulp_workers
    • pulp_resource_manager
    • foreman_proxy
  • To restart the pulp, foreman-proxy, and puppet master portions:

    for i in pulp_celerybeat pulp_resource_manager pulp_workers httpd foreman-proxy; do service $i stop; done
    for i in pulp_celerybeat pulp_resource_manager pulp_workers httpd foreman-proxy; do service $i start; done
    
  • if using the dns feature or dhcp feature, simply restart their respective services:

    service named restart
    service dhcpd restart
    
SBR
Product(s)
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.