Open main menu

CDOT Wiki β

Changes

OPS535-vl-lab-nfs

63 bytes added, 15:50, 21 July 2023
m
Protected "OPS535-vl-lab-nfs": OER transfer ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
ssh-copy-id -i ~/.ssh/id_rsa.pub student@rns-ldap
</pre>
* verify and confirm that you can ssh to your VM2, VM3, and VM4 as 'student' with using without password.
=== Task 2: Configure ansible's inventory file ===
rns-ldap.<your dns domain> ansible_host=192.168.xx.4
</pre>
* The following is an example for student with domain name stud14.ops (please do not include '.ops' in the group name) and network number 14:
<pre>
[stud14.ops]
pri-dns.stud14.ops ansible_host=192.168.14.2
co-nfs.stud14.ops ansible_host=192.168.14.3
* update firewalld's internal zone to allow nfs3 server service
* update firewalld's internal zone to allow rpc-bind service
* save the script to ~student/ops535/lab2/scripts/lab2-nfs-setup.bash
=== Task 2 ===
Create an ansible playbook named "config-nfs.yml" to perform the same tasks as mentioned in task 1.
* save the ansible playbook to ~student/ops535/lab2/playbook/config-nfs.yml* Run the playbook and capture the output to a file named lab2_inv3_task2.txt in the directory ~student/ops535/lab2/log/
==Completing the Lab==
Follow the instructions on blackboard to submit the lab by the due date.