on one of the ndb_mgmd nodes:
# while true; do j=`ndb_mgm -e show | grep starting |wc -l`; if [ $j -eq 0 ]; then echo "db done starting (or failed completely)" | mail 8005551212@vtext.com; break; fi; sleep 5m; done;
on one of the ndb_mgmd nodes:
# while true; do j=`ndb_mgm -e show | grep starting |wc -l`; if [ $j -eq 0 ]; then echo "db done starting (or failed completely)" | mail 8005551212@vtext.com; break; fi; sleep 5m; done;
# rsync -a -v –sparse –exclude ‘.snapshot’
(also use –sparse for thin provisioned vmdk’s)