Version 4 vs 5
Version 4 vs 5
Content Changes
Content Changes
# Multicast
## Steps
* Step 1: Manually Clone a machine in the lab this will act as the server in the multicast
* Step 1.1: dd the mbr to /tmp/mbr.bin
```
dd if=/dev/sda of=/tmp/mbr.bin bs=512 count=1
```
* Step 2: Netboot the entire lab
* Step 3: Connect to **steamboat.engr.unr.edu** using you netid
* Step 4: On **steamboat** use ansible to connect to all of them
```
cd /srv/ansible/
source python_env/bin/activate
ansible -i /etc/hosts -m shell -a "hostname"
```
IMPORTANT: Check that all the hosts you want clone responded and no others.
* Step 5: using ansible run subscriber script
```
nohup sh /images/multi/udp-receiver-sda.sh &
```
* Step 6: Run the sender script on the machine acting as the server and hit key
to start sending the script is located in /images/multi
```
sh udp-sender-sda.sh
```
* Step 7: Hit key on server to start sending data
# Multicast
## Steps
* Step 1: Netboot the entire lab
* Step 2: Connect to **steamboat.engr.unr.edu** using you netid
* Step 3: On **steamboat** use ansible to connect to all of them
```
cd /srv/ansible/
source python_env/bin/activate
ansible -i /etc/hosts -m shell -a "hostname"
```
IMPORTANT: Check that all the hosts you want clone responded and no others.
* Step 4: using ansible run subscriber script
```
nohup sh /images/multi/udp-receiver-sda.sh &
```
* Step 5: Run the sender script on the machine acting as the server and hit key
to start sending the script is located in /images/multi
```
sh udp-sender-sda.sh
```
* Step 6: Hit key on server to start sending data
# Multicast
## Steps
* Step 1: Manually Clone a machine in the lab this will act as the server in the multicast
* Step 1.1: dd the mbr to /tmp/mbr.bin
```
dd if=/dev/sda of=/tmp/mbr.bin bs=512 count=1
```
* Step 2* Step 1: Netboot the entire lab
* Step 32: Connect to **steamboat.engr.unr.edu** using you netid
* Step 4:3: On **steamboat** use ansible to connect to all of them
```
cd /srv/ansible/
source python_env/bin/activate
ansible -i /etc/hosts -m shell -a "hostname"
```
IMPORTANT: Check that all the hosts you want clone responded and no others.
* Step 5:4: using ansible run subscriber script
```
nohup sh /images/multi/udp-receiver-sda.sh &
```
* Step 6:5: Run the sender script on the machine acting as the server and hit key
to start sending the script is located in /images/multi
```
sh udp-sender-sda.sh
```
* Step 7:6: Hit key on server to start sending data