tmux cheatsheet
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env bash | |
# | |
# After rebuilding rabbitmq cluster on openstack-ansible following script will help to create queues. | |
# | |
# https://access.redhat.com/articles/1167113 | |
cinder_rabbitmq_password=<blah> | |
nova_rabbitmq_password=<blah> | |
neutron_rabbitmq_password=<blah> | |
heat_rabbitmq_password=<blah> |
========> This is what i did to rebuild RabbitMQ cluster for Openstack-ansible <=============== | |
1. stop all services on 3 rabbitmq containers, if it fail then kill -9 but clean up all the existing process. | |
2. yum remove rabbitmq-server (remove package) | |
3. rm -rf /var/lib/rabbitmq/mnesia/* (remove all dirty files) | |
4. ssh ostack-osa (ansible host) | |
5. cd /opt/openstack-ansible/playbooks/ | |
6. openstack-ansible rabbitmq-install.yml -e rabbitmq_upgrade=true (It will install fresh new cluster) | |
7. After successfully installation verify cluster (rabbitmqctl cluster_status) | |
8. You need to re-create queue for each services (nova, neutron, glance, heat) |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Administrator" PASSWORD="password"> | |
<USER_INFO MODE="write"> | |
<ADD_USER | |
USER_NAME="spatel" | |
USER_LOGIN="spatel" | |
PASSWORD="Secret123"> | |
<ADMIN_PRIV value ="Yes"/> | |
<REMOTE_CONS_PRIV value ="Yes"/> | |
<RESET_SERVER_PRIV value ="Yes"/> |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Administrator" PASSWORD="unknown"> | |
<USER_INFO MODE="write"> | |
<MOD_USER USER_LOGIN="Administrator"> | |
<PASSWORD value="Secret123"/> | |
</MOD_USER> | |
</USER_INFO> | |
</LOGIN> | |
</RIBCL> |
************* Install bind9 DNS in designate container | |
yum install bind bind-utils | |
************* Configure bind9 DNS | |
$ cat /etc/rndc.key | |
key "designate" { | |
algorithm hmac-md5; | |
secret "O3P6S6Y2AmeDAIB98TLrNw=="; | |
}; |
rabbitmqctl add_user test test | |
rabbitmqctl set_user_tags test administrator | |
rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
As configured in my dotfiles.
start new:
tmux
start new with session name:
VMware vSphere 6 Enterprise Plus | |
1C20K-4Z214-H84U1-T92EP-92838 | |
1A2JU-DEH12-48460-CT956-AC84D | |
MC28R-4L006-484D1-VV8NK-C7R58 | |
5C6TK-4C39J-48E00-PH0XH-828Q4 | |
4A4X0-69HE3-M8548-6L1QK-1Y240 | |
VMware vSphere with Operations Management 6 Enterprise | |
4Y2NU-4Z301-085C8-M18EP-2K8M8 | |
1Y48R-0EJEK-084R0-GK9XM-23R52 |