dist/common/scripts: improve scylla_setup wording

Fix a few minor typos and improve the user prompt text

Signed-off-by: Tzach Livyatan <tzach@scylladb.com>
Message-Id: <1482918340-19375-1-git-send-email-tzach@scylladb.com>
This commit is contained in:
Tzach Livyatan
2016-12-28 11:45:40 +02:00
committed by Pekka Enberg
parent 436ce7ae49
commit 2bfa7cc086

View File

@@ -233,7 +233,7 @@ if [ $KERNEL_CHECK -eq 1 ]; then
fi
if [ $INTERACTIVE -eq 1 ]; then
interactive_ask_service "Do you verify ScyllaDB packages installed?" "Answer yes to have this script check that ScyllaDB is already installed; answer no to skip this check." "yes" &&:
interactive_ask_service "Do you want to verify ScyllaDB packages installed?" "Answer yes to have this script check that ScyllaDB is already installed; answer no to skip this check." "yes" &&:
VERIFY_PACKAGE=$?
fi
@@ -253,7 +253,7 @@ if [ $ENABLE_SERVICE -eq 1 ]; then
systemctl enable collectd.service
fi
if [ $INTERACTIVE -eq 1 ] && [ ! -f /etc/scylla.d/housekeeping.cfg ]; then
interactive_ask_service "Do you want to enable ScyllaDB version check?" "Answer yes to automatically start Scylla-housekeeping that check for newer version, when the node boots; answer no to skip this step." "yes" &&:
interactive_ask_service "Do you want to enable ScyllaDB version check?" "Answer yes to automatically start Scylla-housekeeping service that check for a newer version periodically; answer no to skip this step." "yes" &&:
ENABLE_CHECK_VERSION=$?
fi
if [ $ENABLE_CHECK_VERSION -eq 1 ]; then
@@ -287,7 +287,7 @@ if [ "$CUR_VERSION" != "" ] && [ "$UUID" != "" ]; then
fi
fi
if [ $INTERACTIVE -eq 1 ]; then
interactive_ask_service "Do you want to disable SELinux?" "Answer yes to disable SELinux; this improves performance; answer no to keep it activated." "yes" &&:
interactive_ask_service "Do you want to disable SELinux?" "Answer yes to disable SELinux and improve performance; answer no to keep it activated." "yes" &&:
SELINUX_SETUP=$?
fi
if [ $SELINUX_SETUP -eq 1 ]; then
@@ -295,7 +295,7 @@ if [ $SELINUX_SETUP -eq 1 ]; then
fi
if [ $INTERACTIVE -eq 1 ]; then
interactive_ask_service "Do you want to setup bootloader options?" "Anwser yes to enable hugepages at boot time; this improve performance. Answer no to skip this step." "yes" &&:
interactive_ask_service "Do you want to setup bootloader options?" "Answer yes to enable hugepages at boot time and improve performance. Answer no to skip this step." "yes" &&:
BOOTPARAM_SETUP=$?
fi
if [ $BOOTPARAM_SETUP -eq 1 ]; then
@@ -315,7 +315,7 @@ if [ $NTP_SETUP -eq 1 ]; then
fi
if [ $INTERACTIVE -eq 1 ]; then
interactive_ask_service "Do you want to setup RAID and XFS?" "It is recommended to use RAID0 and XFS for Scylla data. If you select yes, you will be prompt to choose which disks to use for Scylla data. Selected disks will be formatted in the process." "yes" &&:
interactive_ask_service "Do you want to setup RAID and XFS?" "It is recommended to use RAID0 and XFS for Scylla data. If you select yes, you will be prompt to choose which unmounted disks to use for Scylla data. Selected disks will be formatted in the process." "yes" &&:
RAID_SETUP=$?
if [ $RAID_SETUP -eq 1 ]; then
DEVS=`get_unused_disks`
@@ -327,7 +327,7 @@ if [ $INTERACTIVE -eq 1 ]; then
echo "Please select unmounted disks from the following list: $DEVS"
fi
while [ "$DEVS" != "" ]; do
echo "type 'done' to finish selection. selected: $DISKS"
echo "type 'done' to finish selection. Selected: $DISKS"
echo -n "> "
read dsk
if [ "$dsk" = "done" ]; then
@@ -356,7 +356,7 @@ if [ $RAID_SETUP -eq 1 ]; then
fi
if [ $INTERACTIVE -eq 1 ]; then
interactive_ask_service "Do you want to setup coredump?" "Answer yes to enable core dumps; this allow to do post mortem analysis of Scylla state after a crash. Answer no to do nothing." "yes" &&:
interactive_ask_service "Do you want to setup coredump?" "Answer yes to enable core dumps; this allows to do post-mortem analysis of Scylla state after a crash. Answer no to do nothing." "yes" &&:
COREDUMP_SETUP=$?
fi
if [ $COREDUMP_SETUP -eq 1 ]; then
@@ -389,7 +389,7 @@ if [ $INTERACTIVE -eq 1 ]; then
fi
done
fi
interactive_ask_service "Do you want to optimize NIC queue settings?" "Answer yes to enable network card optimization; this improve performance. Answer no to skip this optimization." "yes" &&:
interactive_ask_service "Do you want to optimize NIC queue settings?" "Answer yes to enable network card optimization and improve performance. Answer no to skip this optimization." "yes" &&:
SET_NIC=$?
fi
fi
@@ -411,7 +411,7 @@ if [ $IO_SETUP -eq 1 ]; then
fi
if [ $INTERACTIVE -eq 1 ]; then
interactive_ask_service "Do you want to install node exporter, that exports prometheus data from the node?" "Answer yes to install it; answer no to skip this installation." "yes" &&:
interactive_ask_service "Do you want to install node exporter and export Prometheus data from the node?" "Answer yes to install it; answer no to skip this installation." "yes" &&:
NODE_EXPORTER=$?
fi