Forked from jlsherrill/regenerate_subscription_queues.txt
Created
November 13, 2017 16:46
-
-
Save johnpmitsch/e225934740df7a7a482a804a5852db6c to your computer and use it in GitHub Desktop.
Re-generate candlepin event queues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CERT=/etc/pki/katello/certs/katello-apache.crt | |
KEY=/etc/pki/katello/private/katello-apache.key | |
#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 | |
#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 '*.*' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment