Autostart JovianDSS in OpenStor Hyperconverge sulution with VMware
edit /etc/rc.local.d/local.sh
vim-cmd vmsvc/getallvms | grep "JDSS1" | cut -d " " -f 1 | xargs vim-cmd vmsvc/power.on
sleep 240
esxcli storage core adapter rescan --all
# MPIO RR
for i in `esxcfg-scsidevs -c |awk '{print $1}' | grep eui`; do
echo $i;
esxcli storage nmp device set --device $i --psp VMW_PSP_RR;
esxcli storage nmp psp roundrobin deviceconfig set --type=iops --iops=1 --device=$i;
done
/sbin/vmware-autostart.sh start