• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for November 2016

How to create password file for Database on 12c ASM diskgroup

By admin

The compatible.asm disk group attribute must be set to 12.1 or higher for the disk group where the password is to be placed. Steps 1. Create the password file using the following command. Go to the asmcmd command prompt and run : $ asmcmd ASMCMD> pwcreate --dbuniquename [dbuniquename] [file_path] [sys-password] Here, The --dbuniquename string option identifies the database unique name associated with the password file. The file_path value identifies the location where the password … [Read more...] about How to create password file for Database on 12c ASM diskgroup

Filed Under: oracle 12c

CentOS / RHEL 7 : How to open the Firewall port for Samba server using FirewallD

By admin

Question : I cannot reach my Samba server after starting the service. How do I open the port to be able to connect to my Samba server? Solution : If running FirewallD, it is mandatory to open the ports used by the Samba server in order for it to properly accept clients. To begin with check the firewalld status using the systemctl command : # systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; … [Read more...] about CentOS / RHEL 7 : How to open the Firewall port for Samba server using FirewallD

Filed Under: CentOS/RHEL 7

How to Install and configure OSWatcher Black Box (OSWbb)

By admin

The Oracle OSWatcher Black Box (OSWbb) product is a collection of shell scripts intended to collect and archive operating system and network metrics to aid in diagnosing performance issues. OSWbb operates as a set of background processes on the server and gathers data on a regular basis, invoking such UNIX utilities as vmstat, netstat, iostat, top, and others. Beginning with release 4.0.0, OSWbb includes a built-in analyzer called OSWbba, which analyzes the data that OSWbb collects. It … [Read more...] about How to Install and configure OSWatcher Black Box (OSWbb)

Filed Under: oracle

Linux / UNIX : Examples of find command to find files with specific sets of permissions

By admin

Sometimes, for security audit purposes it might be required to find files with specific permissions. find command comes handy to achieve this kind of requirements. The post describes few examples of find command used to find files with specific sets of permissions. Before we dive into the examples, here are few basics on the permission bits 4 - Read Permission (r) 2 - Write Permission (w) 1 - Executable Permission (x) So if a file has "rwx" it will have 4+2+1=7 or if a file has "rx" it … [Read more...] about Linux / UNIX : Examples of find command to find files with specific sets of permissions

Filed Under: Linux

CentOS / RHEL 6 : How to Change the Volume Group Name for Root Disk Device

By admin

The post describes the renaming of the volume group (vg) being used for the root file system. For example purpose we will be renaming the disk group from vg_old to vg_new. Steps 1. Rename the Volume Group from vg_old to vg_new : # vgs VG #PV #LV #SN Attr VSize VFree vg_old 1 2 0 wz--n- 7.88G 0 # vgrename vg_old vg_new Volume group "vg_old" successfully renamed to "vg_new" # vgs VG #PV #LV #SN Attr VSize VFree vg_new 1 2 0 wz--n- … [Read more...] about CentOS / RHEL 6 : How to Change the Volume Group Name for Root Disk Device

Filed Under: Linux

CentOS / RHEL : How to remove a mirror with mdadm

By admin

The post describes the procedure to remove the mirror with mdadm. The example used here has RAID1 created with devices /dev/sdb and /dev/sdc. We are going to remove the device /dev/sdb. To start with lest create the RAID1 mirror first. Steps 1. Create a raid1 device with the disks /dev/sdb and /dv/sdc : # mdadm -Cv /dev/md0 -l1 -n2 /dev/sdb /dev/sdc mdadm: /dev/sdb appears to contain an ext2fs file system size=2097152K mtime=Wed May 8 12:39:49 2013 mdadm: Note: this array has … [Read more...] about CentOS / RHEL : How to remove a mirror with mdadm

Filed Under: Linux

Primary Sidebar

Recent Posts

  • How to disable ICMP redirects on CentOS/RHEL
  • What are Oracle Key Vault Roles
  • What Is Oracle Key Vault
  • Auditing with Oracle Database Vault Reports
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary