Author Archives: UNIX Admin

How 2 Know OS Version on alt_inst_rootvg online

  There is a helpful command to check the OS Release on the Alternative Disk in AIX without booting from it or wakeup   /usr/lpp/bosinst/blvset -d /dev/hdisk0 -g level

List ALL ASM Disks with header ( AIX )

Hello ALL,,   Below is script Tested on AIX Environments to List ALL ASM Disks ( Oracle ASM ) with SN , Header of DIsk , Major and Minor ,,  

AIX Duplicate Node ID

This small article describes how to change the ct_node_id in case two LPARs have the same. 1. Duplicate Node ID after LPAR Cloning When you clone an LPAR by splitting up a copy of the rootvg of an existing LPAR … Continue reading

Detect SAN Switch from AIX Side

Sometimes AIX Admin need to be sure that the System is connected to different SAN Switch for more redundancy and stability. Follow below steps to check SAN Switches from AIX Side: # lsdev |grep fc fcs0 Available 24-T1 Virtual Fibre … Continue reading

Recursively replacing a string in all files in a directory

You can use the following command to change Specific string on all files under specific directory: find /u01/directory -type f | xargs perl -pi~ -e ‘s/oldtext/newtext/g;’ Tested on Linux & AIX Ref: https://blogs.oracle.com/rammenon/recursively-replacing-a-string-in-all-files-in-a-directory-linux

Solaris Quick Start

You can download the following PDF which you can use it for a quick start on Solaris: solaris-quicksheet the PDF file taking about the following outlines:

Shell Script Quick Sheet

The following link containing a quick sheet to start on Shell Script: shell-quicksheet The Sheet has the following outline: Variables Relational operators Pattern matching Functions Shell math Test conditions Flow control Sample snippets Special variables Conditional commands Trapping signals Output … Continue reading

AML

Anti-money laundering software is software used in the finance and legal industries to meet the legal requirements for financial institutions and other regulated entities to prevent or report money laundering activities. There are four basic types of software that address … Continue reading

ASM

Automatic Storage Management (ASM) is an Oracle database feature that provides DBAs with a simple storage management interface that is consistent across all server and storage platforms. ASM is an integrated volume manager for storing Oracle database files – including … Continue reading

ODS

ODS (Operational Data Store) is an integrated database of operational data. Its sources include legacy systems and it contains current or near term data. A typical ODS may contain 30 to 60 days of information, while a data warehouse typically … Continue reading