Posts

Showing posts from March, 2021

Restarting Httpd services

Task 11.3 Description :-                                                                                 đź”°  11.3  Restarting HTTPD Service is not idempotence in nature and also consume more resources suggest a way to rectify this challenge in Ansible playbook. Using Handlers: - hosts: web3   vars_files: httpd_var.yml   tasks: - file:       path: "/dvd"       state: directory     ignore_errors: yes - mount:       src: "/dev/cdrom"       path: "/dvd"       fstype: iso9660     ...

Arth Task 7.2

Image
  7.2: Docker Task â—Ź Configuring HTTPD Server on Docker  Container â—Ź Setting up Python Interpreter and running  Python Code on Docker  Container INSTALLING HTTPD USING YUM [root@localhost ~]# docker start -i myos [root@3f22d029a254 /]# yum install httpd Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:01:59 ago on Tue Nov 3 11:57:00 2020. Dependencies resolved. ======================================================================== Package Arch Version Repo Size ======================================================================== Installing: httpd x86_64 2.4.37-21.module_el8.2.0+494+1df74eae AppStream 1.7 M Installing dependencies: apr x86_64 1.6.3-9.el8 AppStream 125 k apr-util x86_64 1.6.1-6.el8 AppStream 105 k brotli x86_64 1.0.6-1.el8 BaseOS 323 k centos-logos-httpd noarch 80.5-2.el8 BaseOS 24 k httpd-filesystem noarch 2.4.37-21.module_el8.2.0+494+1df74eae AppStream 36 k httpd-tools x86_64 2.4.37-21.module_el8.2.0+494+1df74eae Ap...

ARTH task - 7.1

Image
Task 7.1 :-đź”…Increase or Decrease the Size of Static Partition in Linux. Step 1 :-        creating a hard disk of 8 GB and partition it into 5 half and formatting the hard disk or device , then you have to mount the device to the datanode directory and then connect the directory with the Data Node directory.   Now we have to check whether it is added or not :- Now we will be creating partition in the disk /dev/sdb :- Now format the device :- Now we have to mount the to the datanode directory :- mount /dev/sdb4 /dn Step 2 :-           Configure the Name Node and Data Node for Hadoop cluster Prerequisite :-                                               Java(jdk) and hadoop-software           Configuring Name Node :-        ...

Case Study of AWS SQS

Image
  About AWS SQS? 1. Amazon Simple Queue Service is a distributed message queuing service introduced by Amazon.com in late 2004. It supports the programmatic sending of messages via web service applications as a way to communicate over the Internet. 2. Amazon  Simple Queue Service  ( SQS ) is a fully managed message  queuing service  that enables you to decouple and scale microservices, distributed systems, and serverless applications.  SQS  FIFO  queues  are designed to guarantee that messages are processed exactly once, in the exact order that they are sent. 3. Amazon  SQS  is a mes s age queue service  used by  distributed applications to exchange messages through a polling model and can be  used  to decouple sending and receiving components. 4.  SQS  is a queue from which your services pull data, and it only supports exactly-once delivery of messages. If no workers pull  jobs  from  SQ...