command-line-murders/i-062f0628104026e4e
by SadServersMore by SadServers
nvme2n1 259:2 0 1G 0 disk admin@i-02780e50ec753e2bd:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-02780e50ec753e2bd:~$ sudo vgcreate dd /dev/nvme1n1 /dev/nvme2n1 Volume group "dd" successfully created admin@i-02780e50ec753e2bd:~$ sudo lvcreate -l 100%FREE -n app dd Logical volume "app" created. admin@i-02780e50ec753e2bd:~$ lvs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02780e50ec753e2bd:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert app dd -wi-a----- 1.99g admin@i-02780e50ec753e2bd:~$ mksfs
kihei/i-02780e50ec753e2bd 03:46
by SadServers✔ Container rabbitmq-cluster-docker-master-haproxy-1 Removed ✔ Container rabbitmq-cluster-docker-master-rabbitmq3-1 Removed ✔ Container rabbitmq-cluster-docker-master-rabbitmq2-1 Removed ✔ Container rabbitmq-cluster-docker-master-rabbitmq1-1 Removed ✔ Network rabbitmq-cluster-docker-master_default Removed admin@i-0963eaf70c751a286:~/rabbitmq-cluster-docker-master$ less ~/consumer.py admin@i-0963eaf70c751a286:~/rabbitmq-cluster-docker-master$ nano cluster-entrypoadmin@i-0963eaf70c751a286:~/rabbitmq-cluster-docker-master$ docker compose up -d[+] Running 5/5 ✔ Network rabbitmq-cluster-docker-master_default Created ✔ Container rabbitmq-cluster-docker-master-rabbitmq1-1 Started ✔ Container rabbitmq-cluster-docker-master-rabbitmq3-1 Started ✔ Container rabbitmq-cluster-docker-master-rabbitmq2-1 Started ✔ Container rabbitmq-cluster-docker-master-haproxy-1 Started (reverse-i-search)`log': docker compose logs -f