SIMULATION
Prevent Mary from performing user configuration tasks in your system.
A.
SIMULATION
Shutdown the /root/cdrom.iso under /opt/data and set as boot automatically mount.
A.
SIMULATION
Configure the web server, which can be accessed by http://station.domain30.example.com.
A.
SIMULATION
Download file from http://ip/dir/restircted.html, and the local user harry can access it by http:// station.domain30.example.com/restircted.html, and cannot be accessed by t3gg.com.
A.
SIMULATION
You are working as an Administrator. There is a common data shared (/data) from 192.168.0.254 to all users in your local LAN. When user's system start, shared data should automatically mount on /common directory.
A.
SIMULATION
There are Mail servers, Web Servers, DNS Servers and Log Server. Log Server is already configured. You should configure the mail server, web server and dns server to send the logs to log server.
A.
Create Logical volumes with lvm.yml in all nodes according to following
requirements.
*
Create a new Logical volume named as 'data'
*
LV should be the member of 'research' Volume Group
*
LV size should be 1500M
*
It should be formatted with ext4 file-system.
--> If Volume Group does not exist then it should print the message "VG Not found"
--> If the VG can not accommodate 1500M size then it should print "LV Can not be
created with
following size", then the LV should be created with 800M of size.
--> Do not perform any mounting for this LV.
A. Answer: See the for complete Solution below.
Install the RHEL system roles package and create a playbook called timesync.yml that: --> Runs over all managed hosts.
--> Uses the timesync role.
--> Configures the role to use the time server 192.168.10.254 ( Hear in redhat lab
use "classroom.example.com" )
--> Configures the role to set the iburst parameter as enabled.
A. Answer: See the for complete Solution below.
Create a file called requirements.yml in /home/sandy/ansible/roles a file called role.yml in /home/sandy/ansible/. The haproxy-role should be used on the proxy host. And when you curl http://node3.example.com it should display "Welcome to node4.example.com" and when you curl again "Welcome to node5.example.com" The php-role should be used on the prod host.
A. Answer: See the for complete Solution below.
Create a playbook /home/bob /ansible/motd.yml that runs on all inventory hosts and docs the following: The playbook should replaee any existing content of/etc/motd in the following text. Use ansible facts to display the FQDN of each host
On hosts in the dev host group the line should be "Welcome to Dev Server FQDN".
On hosts in the webserver host group the line should be "Welcome to Apache Server FQDN".
On hosts in the database host group the line should be "Welcome to MySQL Server FQDN".
A. Answer: See the for complete Solution below.
Configure the samba server, share /common, which can be browsed. The user harry can only read it. If it is needed, the password for harry is harryuser.
A. Answer: See the for complete Solution below.
Configure the kernel parameters: rhelblq=1, and it is requested that your kernel parameters can be verified through /proc/cmdline.
A. Answer: See the for complete Solution below.
You are working as an Administrator. There is a common data shared (/data) from 192.168.0.254 to all users in your local LAN. When user's system start, shared data should automatically mount on /common directory.
A. Answer: See the for complete Solution below.
Whoever creates the files/directories on /storage group owner should be automatically should be the same group owner of /storage.
A. Answer: See the for complete Solution below.