C:\Windows\system32\config\systemprofile\.erlang.cookie
If there are any authentication issues when running rabbitmqctl, copy cookie from above to %USERPROFILE%.
| node gulp.js --tasks |
| nslookup HOSTNAME |
| # Enable remoting on server where RPC will run in | |
| Enable-PSRemoting -Force | |
| # Check if WinRM is running on remote server | |
| Test-WsMan QUERY_NODE1_HOSTNAME | |
| $username = "corp\myuser" | |
| $password = ConvertTo-SecureString -String "mypswd" -AsPlainText -Force | |
| $cred = [pscredential]::new($username,$password) |
C:\Windows\system32\config\systemprofile\.erlang.cookie
If there are any authentication issues when running rabbitmqctl, copy cookie from above to %USERPROFILE%.
rabbitmqctl forget_cluster_node $node
rabbitmqctl list_queues name consumers
| grep -E '[[:space:]]0' queue_statusQ* |
| #!/bin/bash | |
| # Ping only once | |
| ping 10.10.10.0 -c 1 |
| #!/bin/bash | |
| # If iplist.txt contains a list of IPs in each line: | |
| # 192.168.1.1 | |
| # 192.168.1.2 | |
| # ... | |
| # & runs each ping in different thread | |
| for ip in $(cat iplist.txt): do ping $ip & done |