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 […]
Archives for November 2016
CentOS / RHEL 7 : How to open the Firewall port for Samba server using FirewallD
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 […]
How to Install and configure OSWatcher Black Box (OSWbb)
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, […]
Linux / UNIX : Examples of find command to find files with specific sets of permissions
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 […]
CentOS / RHEL 6 : How to Change the Volume Group Name for Root Disk Device
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 […]
CentOS / RHEL : How to remove a mirror with mdadm
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 […]