How 2 Know
If you can't Google it, You Can Knowing it.

How 2 Know OS Version on alt_inst_rootvg online

September 2nd, 2021

 

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

Continue Reading…

List ALL ASM Disks with header ( AIX )

September 2nd, 2021

Hello ALL,,

 

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

 

Continue Reading…

AIX Duplicate Node ID

December 14th, 2018

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 on storage level, both the original and the cloned rootvg have the same /etc/ct_node_id. This confuses the HMC and communication between LPAR and HMC will only partly work. DLPAR for instance doesn’t work if two LPARs have the same node ID in /etc/ct_node_id.

Continue Reading…

Detect SAN Switch from AIX Side

August 28th, 2018

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 Channel Client Adapter
fcs1       Available 24-T1       Virtual Fibre Channel Client Adapter
# lsattr -El fscsi0 |grep -i scsi_id
scsi_id     0xdf0707  Adapter SCSI ID                       False
# lsattr -El fscsi1 |grep -i scsi_id
scsi_id     0xde0718  Adapter SCSI ID                       False

Continue Reading…

Recursively replacing a string in all files in a directory

April 11th, 2018

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

September 3rd, 2017

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:

Continue Reading…

Shell Script Quick Sheet

September 3rd, 2017

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 redirection
Variable substitution

Continue Reading…

AML

September 3rd, 2017

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 anti-money laundering: transaction monitoring systems, currency transaction reporting (CTR) systems, customer identity management systems and compliance management software.

Continue Reading…

ASM

September 3rd, 2017

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 datafiles, redo logs, backups, controlfiles and spfiles. ASM allows administrators to add and remove disks while the database is on-line and available to users. Data is automatically striped across all disks in a disk group, and is optionally mirrored.

Continue Reading…

ODS

September 3rd, 2017

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 contains years of data.

Continue Reading…