sudo growpart /dev/nvme0n1 1
POST /_cluster/voting_config_exclusions?node_names=odfe-node-0
GET /_cluster/state?filter_path=metadata.cluster_coordination.voting_config_exclusions
DELETE /_cluster/voting_config_exclusions
Above works with Elasticsearch 7.8, see
watch -n1 grep MHz /proc/cpuinfo
sudo cat /proc/<pid>/environ | tr '\0' '\n'
curl -XPUT --header "X-Nomad-Token: $NOMAD_TOKEN" "$NOMAD_ADDR/v1/system/gc"
consul members | grep failed | cut -d' ' -f1 | while read -r node; do
echo "force-leave $node"
consul force-leave $node
done
For more info, see:
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
#!/bin/bash | |
set -e | |
function print_usage { | |
echo | |
echo "Usage: docker-sslocal.sh [OPTIONS]" | |
echo | |
echo "This script is to configure the Docker daemon to use ss-local as HTTP/HTTPS proxy." | |
echo |
NewerOlder