About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Tuesday, 14 February 2012

Calculate the Efficiency of your Logical Volume in AIX

# lslv -l hd2 : Command to view the LV fragmenation.

hd2:/usr
PV                COPIES      IN BAND        DISTRIBUTION
hdisk0        114:000:000        22%           000:042:026:000:046

COPIES: 114:000:000

114 : No.of LP's in the first copy.
000 : NO LP's,so no secound copy.
000 : NO LP's,so no third copy.

Therefore the LV is not mirrored.

IN BAND : Shows how well the Intrapolicy and the attribute of the LV is followed.

22%, higher the percentage, the better the allocation efficiency.

Each logical volume has its own intrapolicy. If the operating system cannot meet this requirement, it chooses the best way to meet the requirements.

DISTRIBUTION : edge : middle : center : inner-middle : inner-edge

               000     042       026         000         046            -----> 114 LP.
Since the LV was created with the intra allocation policy "Center"----------->No.of LP's at the center is "26"--->So, 26/(0+42+26+0+46) = 0.2280 * 100 = 22 %

HACMP 2 Node Cluster Steps- Part II

Resource Configuration:

# smitty hacmp --> Extended Configuration --> Extended Resource Configuration --> HACMP Extended Resource Configuration--> Configure HACMP Application and Configure HACMP Service IP Labels and IP Address.

In this wizard we select the option "Configure HACMP Application" to create an Application Server and provide the "Startup" and "Stop" scrip.

We select the "Configure HACMP Service IP Lables and IP Address" to add the "Service IP" to the cluster Network which we created.

So, from "Configure HACMP Service IP Labels and IP Address" --> "Add a Service IP Label/Address"
and select "Configurable on Multiple Nodes" and select the network which we created "net_ether_##" and select the service ip and press "Enter".

The above process binds the "Service IP" with the "Cluster Network".

Next we proceed with Resource Group Configuration:

# smitty hacmp --> Extended Configuration --> Extended Resource Configuration --> HACMP Extended Resource Group Configuration --> Add a Reource Group.

Enter the Resource Group Name, Participating Nodes (Node 1 and Node 2 and set the cluster policy and "Enter".

# smitty hacmp --> Extended Configuration --> Extended Resource Configuration --> HACMP Extended Resource Group Configuration --> Change/Show the attributes of Resource Group.

Select the "RG" which you have selected. In this window you have select the "Service IP" and "Application Server" which we configured earlier.

Now do a "Discovery of cluster"

Next we see configuration of Volume Group:

The resource group which hold the resource should be placed in the shared volume group in terms of a shared file system via shared logica volume. So that the application which binds to the service ip will be available across all the nodes on the cluster.

# smitty hacmp --> System Management (C-SPOC) --> Hacmp Logical Volume Management --> Shared Volume Group --> Create a Shared Volume Group --> Select the node ( Node1and Node2) --> Select the PV ID--> Enter the Volume Group Name / Major Number and Enter the size of PP and Enter.

Create Shared Logical Volume:

# smitty hacmp --> System Management (C-SPOC) --> Hacmp Logical Volume Management --> Shared Logical Volume --> Add a Shared Logical Volume --> Select the Volume Group Name --> Select the Physica Volume --> Enter the Logical Volume Name and No.of LP's and Enter.

Create Shared File System:

# smitty hacmp --> System Management (C-SPOC) --> Hacmp Logical Volume Management --> Shared File System --> Journal File System --> Add a Journal Filesystem on a Previously Defined Logical Volume -->Add a standard Journaled File System --> Select the Shared Logical Volume -->Enter the Mount Point and Enter.

We are good to go now.

Finally, perform Verification and Syncronization:

# smitty hacmp --> Extended Configuration --> Extended Verification and Syncronization.

Verify and Syncronize on both the nodes ( Node1 and 2) and Enter.

Cluster Configuration is Over.