Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Stop Katello/Satellite services
- katello-service stop
- # block all inbound connections to 5647/443
- CERT=/etc/pki/katello/certs/katello-apache.crt
- KEY=/etc/pki/katello/private/katello-apache.key
- # start qpidd
- service qpidd start
- #delete exchange
- qpid-config --ssl-certificate $CERT --ssl-key $KEY -b "amqps://localhost:5671" del exchange event --durable
- #create exchange:
- qpid-config --ssl-certificate $CERT --ssl-key $KEY -b "amqps://localhost:5671" add exchange topic event --durable
- #view exchange:
- qpid-config --ssl-certificate $CERT --ssl-key $KEY -b "amqps://localhost:5671" exchanges
- #delete queue
- qpid-config --ssl-certificate $CERT --ssl-key $KEY -b 'amqps://localhost:5671' del queue katello_event_queue --force
- #create queue:
- qpid-config --ssl-certificate $CERT --ssl-key $KEY -b 'amqps://localhost:5671' add queue katello_event_queue --durable
- #view queue:
- qpid-config --ssl-certificate $CERT --ssl-key $KEY -b "amqps://localhost:5671" queues katello_event_queue
- #bind queue to exchange:
- qpid-config --ssl-certificate $CERT --ssl-key $KEY -b "amqps://localhost:5671" bind event katello_event_queue '*.*'
- # Start up services
- katello-service start
- Run the following command to monitor the katello event queue:
- qpid-stat -q --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671
- # If 0 messages are coming in then unblock port access 5647/443 to a test client and do a few register/unregister and see if the webui/rhsm cli refreshes messages go from in -> out and get processed. If so then unblock all of 443 and see if the traffic/queue jumps up, if it does then the clients running rhsm commands need to be looked into.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement