Version 1 vs 2
Version 1 vs 2
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"
```
* Step 4.1: Check that all the hosts you want clone responded and no others. **VERY IMPORTANT!!**
* Step 5: using ansible run subscriber script
```
nohup sh udp-receiver-sda.sh &
```
* Step 6: Run the sender script on the machine acting as the server and hit key
to start sending
```
sh udp-sender-sda.sh
```
* Step 7: 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: 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 udp-receiver-sda.sh &
```
* Step 6: Run the sender script on the machine acting as the server and hit key
to start sending
```
sh udp-sender-sda.sh
```
* Step 7: 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: 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"
```
* Step 4.1:IMPORTANT: Check that all the hosts you want clone responded and no others. **VERY IMPORTANT!!**
* Step 5: using ansible run subscriber script
```
nohup sh udp-receiver-sda.sh &
```
* Step 6: Run the sender script on the machine acting as the server and hit key
to start sending
```
sh udp-sender-sda.sh
```
* Step 7: Hit key on server to start sending data