Strawberry Group | Topic Two, Bright Part
T2, Bright Part ( 3 )
INTRODUCING KVM VIRTUALIZATION
KVM (Kernel-based Virtual Machine) প্রযুক্তি Red Hat-এর সব ধরনের পণ্যেই ব্যবহৃত হয়, যেমন — Red Hat Enterprise Linux (RHEL) থেকে শুরু করে Red Hat OpenStack Platform (RHOSP) পর্যন্ত।
Red Hat Enterprise Linux (RHEL): এটি ফিজিক্যাল হার্ডওয়্যারে ইনস্টল করে ভার্চুয়াল মেশিন চালানোর জন্য ব্যবহার করা হয়। এটি একটি “থিক হোস্ট” হিসেবে কাজ করে, অর্থাৎ এটি ভার্চুয়াল মেশিন চালানোর পাশাপাশি স্থানীয় ও নেটওয়ার্ক পরিষেবা, অ্যাপ্লিকেশন এবং ম্যানেজমেন্ট ফাংশনও প্রদান করে।
Thick Host বলতে এমন একটি সিস্টেম বোঝানো হয় যা ভার্চুয়াল মেশিন (VM) চালানোর পাশাপাশি নিজেই আরও অনেক ধরনের কাজ করতে পারে। এটি শুধু হাইপারভাইজার নয়, বরং একটি পূর্ণাঙ্গ অপারেটিং সিস্টেম (যেমন: Red Hat Enterprise Linux) যা ভার্চুয়ালাইজেশন ছাড়াও অন্যান্য সার্ভিস ও অ্যাপ্লিকেশন চালাতে পারে।
উদাহরণস্বরূপ:
Red Hat Enterprise Linux যদি কোনো ফিজিক্যাল সার্ভারে ইনস্টল করা থাকে এবং সেই সার্ভার থেকে ভার্চুয়াল মেশিন চালানো হয়, একই সাথে সেখানে ওয়েব সার্ভার, ডেটাবেস সার্ভার বা অন্য কোনো নেটওয়ার্ক সার্ভিস চালানো হয় — তাহলে সেটিকে Thick Host বলা হয়।
Thick Host-এর বৈশিষ্ট্য:
- একটি পূর্ণাঙ্গ OS চালায় (যেমন RHEL)
- ভার্চুয়াল মেশিন চালাতে পারে
- অন্য সার্ভিস ও অ্যাপ্লিকেশনও চালাতে পারে
- ব্যবস্থাপনা ও মনিটরিং টুল থাকে
এর বিপরীতে থাকে Thin Host বা Hypervisor-Only Host, যেখানে শুধু হাইপারভাইজার থাকে এবং অন্য কোনো অতিরিক্ত সার্ভিস চালানো হয় না। যেমন: Red Hat Virtualization Hypervisor (RHV-H)
Red Hat Virtualization (RHV): এটি একটি ওয়েব ভিত্তিক কেন্দ্রীয় ব্যবস্থাপনা প্ল্যাটফর্ম, যা পুরো ভার্চুয়াল অবকাঠামো পরিচালনা করতে সহায়তা করে। এতে KVM মাইগ্রেশন, রিডানডেন্সি ও হাই অ্যাভেইলেবিলিটির মতো উন্নত ফিচার রয়েছে। RHV হাইপারভাইজার হলো RHEL-এর একটি বিশেষ সংস্করণ, যা কেবলমাত্র ভার্চুয়াল মেশিন চালানোর জন্য টিউন করা। Red Hat OpenStack Platform (RHOSP): এটি একটি ক্লাউড পরিবেশ তৈরি, চালু ও স্কেল করার ভিত্তি সরবরাহ করে, যা প্রাইভেট বা পাবলিক ক্লাউড উভয়ই হতে পারে।
Note:
- Command: virsh
virsh হলো একটি কমান্ড-লাইন টুল যা KVM/QEMU virtual machines (VM) ব্যবস্থাপনার জন্য ব্যবহৃত হয়। এটি libvirt লাইব্রেরির সাথে কাজ করে এবং VM তৈরি, চালানো, বন্ধ করা, snapshot নেওয়া, ইত্যাদি কাজ করতে পারে।
Alternative way হিসাবে GUI টুল চাইলে:
virt-manager (Linux GUI)
অথবা
Cockpit (Web UI – port 9090) ব্যবহার করে পারেন।
CONFIGURING A RED HAT ENTERPRISE LINUX PHYSICAL SYSTEM AS A VIRTUALIZATION HOST
Administrators can configure a Red Hat Enterprise Linux system as a virtualization host, appropriate for development, testing, training, or when needing to work in multiple operating systems at the same time.
Installing Virtualization Tools
Installing the Virtualization Tools: Install the virt Yum module to prepare a system to become a virtualization host.
# yum module list virt
Note:
yum module list virt
এখানে virt module এর লিস্ট খোঁজা হচ্ছে।
virt-host-validate verifies that your system supports virtualization?
Cockpit from your browser:
Localhost.domain:9090
Verifying the System Requirements
To verify your hardware and check the system requirements, use the virt-host-validate command.
MANAGING VIRTUAL MACHINES WITH COCKPIT
The virt Yum module provides the virsh command to manage your virtual machines. The Cockpit tool provides a web console interface for KVM management and virtual machine creation.
Install the cockpit-machines package to add the Virtual Machines menu to Cockpit.
[root@host ~]# yum install cockpit-machines
If Cockpit is not already running, start and enable it.
[root@host ~]# systemctl enable –now cockpit.socket
Thank you ! You have completed all sessions on this topic.
Strawberry Group | Topic Two, Bright Part
NEXT, Topic Three >> Controlling the Boot Process
STRAWBERRY GROUP
- Topic One | Getting Started with Red Hat Enterprise Linux
- Topic Two | Installing Red Hat Enterprise Linux
- Topic Three | Controlling the Boot Process
- Topic Four | Getting Help in Red Hat Enterprise Linux
- Topic Five | Accessing the Command Line
- Topic Six | Managing Files from the Command Line
- Topic Seven | Accessing Linux File Systems
BLUEBEERY GROUP
- Topic Eight | Creating, Viewing, and Editing Text Files
- Topic Nine | Archiving and Transferring Files
- Topic Ten | Managing Local Users and Groups
- Topic Eleven | Controlling Access to Files
- Topic Twelve | Controlling Access to Files with ACLs
- Topic Thirteen | Managing Networking
- Topic Fourteen | Installing and Updating Software Packages
MULBERRY GROUP
- Topic Fifteen | Configuring and Securing SSH
- Topic Sixteen | Managing Basic Storage
- Topic Seventeen | Controlling Services and Daemons
- Topic Eighteen | Scheduling Future Tasks
- Topic Nineteen | Tuning System Performance
- Topic Twenty | Monitoring and Managing Linux Processes
- Topic Twenty One | Analyzing and Storing Logs
GOOSEBERRY GROUP
- Topic Twenty Two | Analyzing Servers and Getting Support
- Topic Twenty Three | Improving Command-line Productivity
- Topic Twenty Four | Managing Logical Volumes
- Topic Twenty Five |Implementing Advanced Storage Features
- Topic Twenty Six | Accessing Network-Attached Storage
- Topic Twenty Seven | Managing SELinux Security
- Topic Twenty Eight | Managing Network Security
- Topic Twenty Nine | Comprehensive Review
- Topic Thirty | Comprehensive Review
- Topic Special Thirty One | Run Containers
