Version 11 vs 12
Version 11 vs 12
Content Changes
Content Changes
# Multicast
## Steps
* Step 1: Clone a machine in the lab. This will act as the server for the multicast
* Step 2: Netboot the entire lab
* Step 3: Connect to **steamboat.engr.unr.edu** using your netid
```lang=bash
# ssh netID@steamboat.engr.unr.edu
$ ssh igrant@steamboat.engr.unr.edu
```
* Step 4: On **steamboat**, source into your environment to use ansible.
```
cd /srv/ansible/
source python_env/bin/activate
```
IMPORTANT: Check that all the hosts you want to clone have responded and no others.
* Step 5: To check all hosts, run `ansible -i /etc/ansible/hosts -m "shell" -a "hostname" ` with a lab name after.
```lang=bash
# ansible -i /etc/ansible/hosts -m "shell" -a "hostname" LAB -u root
$ ansible -i /etc/ansible/hosts -m "shell" -a "hostname" lab_d -u root
```
* Step 6: Using ansible, run the subscriber script
```
nohup sh /images/multi/udp-receiver-sda.sh &
```
* Step 7: 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 8: Hit key on server to start sending data
# Multicast
## Steps
* Step 1: Clone a machine in the lab. This will act as the server for the multicast
* Step 2: Netboot the entire lab
* Step 3: Connect to **steamboat.engr.unr.edu** using your netid
```lang=bash
# ssh netID@steamboat.engr.unr.edu
$ ssh igrant@steamboat.engr.unr.edu
```
* Step 4: On **steamboat**, source into your environment to use ansible.
```
cd /srv/ansible/
source python_env/bin/activate
```
IMPORTANT: Check that all the hosts you want to clone have responded and no others.
* Step 5: To check all hosts, run `ansible -i /etc/ansible/hosts -m "shell" -a "hostname" ` with a lab name after.
```lang=bash
# ansible -i /etc/ansible/hosts -m "shell" -a "hostname" LAB -u root
$ ansible -i /etc/ansible/hosts -m "shell" -a "hostname" lab_d -u root
```
* Step 6: Using ansible, run the subscriber script
```
nohup sh /images/multi/udp-receiver-sda.sh &
```
* Step 7: 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 8: Hit key on server to start sending data
# Multicast
## Steps
* Step 1: Clone a machine in the lab. This will act as the server for the multicast
* Step 2: Netboot the entire lab
* Step 3: Connect to **steamboat.engr.unr.edu** using your netid
```lang=bash
# ssh netID@steamboat.engr.unr.edu
$ ssh igrant@steamboat.engr.unr.edu
```
* Step 4: On **steamboat**, source into your environment to use ansible.
```
cd /srv/ansible/
source python_env/bin/activate
```
IMPORTANT: Check that all the hosts you want to clone have responded and no others.
* Step 5: To check all hosts, run `ansible -i /etc/ansible/hosts -m "shell" -a "hostname" ` with a lab name after.
```lang=bash
# ansible -i /etc/ansible/hosts -m "shell" -a "hostname" LAB -u root
$ ansible -i /etc/ansible/hosts -m "shell" -a "hostname" lab_d -u root
```
* Step 6: Using ansible, run the subscriber script
```
nohup sh /images/multi/udp-receiver-sda.sh &
```
* Step 7: 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 8: Hit key on server to start sending data