############# run separately ############sudosu-root# mount disk# Make sure that the disk will be mount is not system OS disk, e.g. /dev/vdbmkdir/datamkfs-text4/dev/vdbmount/dev/vdb/dataecho"/dev/vdb /data ext4 defaults 0 0">>/etc/fstab
#login diamond hostsudosu-root############################################################### Copy installer package to /data folder here and unzip here.##############################################################cd/datatar-zxvfSenseLinkGE-EnterprisePro-2.3.1.20200602.tar.gz#install_package_path is where senselink install packageinstall_package_path=/data/SenseLinkGE-EnterprisePro-2.3.1.20200602# copy to other hosts, exclude diamond host.chmod600 $install_package_path/diamond/assets/ssh-keys/diamond.key# create user `ubuntu` with account `root`, make sure the hosts can be logined with the Account `root` by using password or public key file.
#using password$install_package_path/diamond/diamondctl lwp -u root -p $root_password -t ubuntu -i 10.10.10.1,10.10.10.2,10.10.10.3,10.10.10.4
#using public key file$install_package_path/diamond/diamondctl lwp -u root -p $root_password -t ubuntu -i 10.10.10.1,10.10.10.2,10.10.10.3,10.10.10.4
$install_package_path/diamond/diamondctl lwp -u root -k $root_key_file_path -t ubuntu -i 10.10.10.1,10.10.10.2,10.10.10.3,10.10.10.4
sudochown-Rubuntu:ubuntu/data
############# run separately ############sudosu-rootchown-Rubuntu:ubuntu/data