This demonstrates booting multiple linux machines and shows how to setup an experiment to cause the OS drive to land on SDB1.
-
deploy the templateFile using your CLI or clicking deploy to portal above. Choose one of the multi core machines
-
SSH to the first machine on port 2200 (second machine is on port 2201, 3rd on port 2202, and so on)
-
You need to place your private key in /home/azureuser/.ssh
-
mkdir .ssh
-
cd .ssh
-
vi id_rsa
to edit your file and paste in the contents of your private key -
chmod 600 ~/.ssh/id_rsa
-
paste in the contents of
scandrives.sh
andfindr.sh
into/home/azureuser
-
chmod +x /home/azureuser/scandrives.sh
-
chmod +x /home/azureuser/findr.sh
-
findr.sh
-
wait until the script breaks out with a repro.
-
deploy the templateFile using your CLI or clicking deploy to portal above. Choose one of the multi core machines
-
SSH to the first machine on port 2200 (second machine is on port 2201, 3rd on port 2202, and so on)
-
You need to place your private key in /home/azureuser/.ssh
-
mkdir .ssh
-
cd .ssh
-
vi id_rsa
to edit your file and paste in the contents of your private key -
chmod 600 ~/.ssh/id_rsa
-
paste in the contents of
scandrives.sh
into/home/azureuser
-
chmod +x /home/azureuser/scandrives.sh
-
./scandrives.sh --get-fstab
to see the values in /etc/fstab of all machines, and observe /dev/disk/azure/resource-part1 refers to /mount -
(steps 1-7 must be done within first 10 minutes after cluster has deployed) './scandrives.sh --reboot-nodes' to reboot all machines
-
after 30 seconds
./scandrives.sh --get-fstab
and notice how all /etc/fstab files have been re-written and /dev/sdb1 refers to /mount
-
deploy the templateFile using your CLI or clicking deploy to portal above. Choose at least 20 machines with 16.04.0-LTS.
-
SSH to the first machine on port 2200 (second machine is on port 2201, 3rd on port 2202, and so on)
-
You need to place your private key in /home/azureuser/.ssh
-
mkdir .ssh
-
cd .ssh
-
vi id_rsa
to edit your file and paste in the contents of your private key -
chmod 600 ~/.ssh/id_rsa
-
paste in the contents of
scandrives.sh
andfindr.sh
into/home/azureuser
-
chmod +x /home/azureuser/scandrives.sh
-
./scandrives.sh --get-mounts | grep fuse
- this may show an NTFS mounted drive -
Edit the template to choose a different VM Size, and re-deploy
-
once deployed, run
./scandrives.sh --get-mounts | grep fuse
to show the NTFS mounted drives