Skip to main content

Posts

Showing posts with the label OEL

Conifguration of GFS2 File system on Oracle Linux 9

In this blogpost we will see how we can use the GFS2 (Global File System 2) on Oracle Linux 9 allows multiple cluster nodes to concurrently access a shared block storage device—ideal for highly available applications in a clustered environment (e.g., with KVM, OLVM, or Pacemaker clusters). Prerequisites: System Requirements Oracle Linux 9 with UEK kernel Shared block storage (iSCSI, FC, or shared disk) 1. Cluster infrastructure (Pacemaker/Corosync) Fencing configured (GFS2 requires it) Install Required Packages (on all nodes): bash#dnf install -y gfs2-utils lvm2-cluster pcs fence-agents-all 2. Enable and Start Cluster Services: bash#systemctl enable --now pcsd bash#echo "yourpassword" | passwd --stdin hacluster bash#pcs host auth node1 node2 node3 -u hacluster -p yourpassword bash#pcs cluster setup --name gfscluster node1 node2 node3 bash#pcs cluster start --all bash#pcs cluster enable --all 3. Configure Shared Storage: If using LVM, make sure to enable cluster...

Automate VLAN tagging on KVM using Ansible

 This blogpost will provide details and steps for  automating VLAN-tagged bridge setup on a KVM host using Ansible , and then optionally connect it to OLVM if needed. Use Ansible to: Create a VLAN sub-interface on a physical NIC. Create a Linux bridge attached to that VLAN interface. Ensure the bridge is ready to be used by VMs or OLVM. Prerequisites Ansible installed on a control node. SSH access to the KVM host(s). nmcli or network role availability (for Red Hat-based distros). Ansible Playbook Example Directory Structure: vlan-bridge-setup/ ├── inventory └── vlan_bridge.yml inventory: [kvmhosts] 192.168.125.100 ansible_user=root vlan_bridge.yml: - name: Configure VLAN tagged bridge on KVM host   hosts: kvmhosts   become: yes   tasks:     - name: Create VLAN interface eth0.100       nmcli:         conn_name: vlan100         ifname: eth0         type: vla...

Installation of ZFS rpm's on Oracle Linux 8

In this blog post, we will see how we can install the ZFS rpm packages on Oracle Linux 8 operating system. Install pre-requiste package: [root@localhost ~]# dnf install -y yum-utils Last metadata expiration check: 1:16:13 ago on 25 May 2023 03:34:37 AM EDT. Package yum-utils-4.0.21-19.0.1.el8_8.noarch is already installed. Dependencies resolved. Nothing to do. Complete! [root@localhost ~]# Install the EPEL repository: [root@localhost ~]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Last metadata expiration check: 1:17:42 ago on Wed 31 May 2023 03:34:37 AM EDT. epel-release-latest-8.noarch.rpm 33 kB/s | 25 kB 00:00 Dependencies resolved. ==========================================================================================================================================================...

OLVM: Find virtual disk path attached to VM

 This blogpost will guide you to find out the virtual disk path attached to a virtual machine. - Login to the admin console - Navigate to > Storage > Disk - Click on Disk to copy the ID of the disk. - Now Login to the Any KVM host from command line and use below command to know the exact physical location of the virtual disk. This will give you the details of the file location with storage domain. thanks for reading  :) regards, zaheer

Upgrade Oracle RAC Grid Infrastructure software from 11gR2 to 12cR1

This is a step by step article for upgrading Oracle Grid Infrastructure Software from 11gR2 (11.2.0.4) to 12c (12.1.0) Current Environment details: Node1 => oelracn1 [GI version - 11.2.0.4]  Node2 => oelracn2 [GI version - 11.2.0.4] > These nodes are running on Oracle Enterprise Linux 6.1 - 64 Bit > Database running on these hosts is on version 11.2.0.4 (OELPROD - OELPROD1, OELPROD2) High Level Steps  for upgrading Grid Infrastructure from 11gR2 to 12cR1: 1) Verify all services are up and running from 11gR2 GI Home 2) Perform backup of OCR, voting disk and Database 3) Create new directory structure on both RAC nodes for 12c SW INstallation 4) Run "runcluvfy.sh" to verify errors  5) Install and upgrade GI from 11gR2 to 12cR1 6) Verify upgrade 1) Verify all services are running up and running from 11gR2 GI Home - Verify version of CRS Home: [root@oelracn1 bin]# ./crsctl query crs activeversion Oracle Clusterware active version on t...