Wednesday, July 3, 2013

0516-404 allocp: This system cannot fulfill the allocation


Issue:  volume group mirroring is giving error.

Error :

0516-404 allocp: This system cannot fulfill the allocation  request.    There are not enough free partitions or not enough physical  volumes to keep strictness and satisfy allocation requests.  The command should be retried with different allocation characteristics.  
0516-1517 mklvcopy: Failed to create a valid partition allocation.
0516-842 mklvcopy: Unable to make logical partition copies for logical volume.
0516-1199 mirrorvg: Failed to create logical partition copies for logical  volume volume group.
0516-1200 mirrorvg: Failed to mirror the volume group.

Tuesday, July 2, 2013

AIX 5/L : Command to find VIO server details from VIO client,

Command to find VIO server details from VIO client. - AIX 5.3 servers :-

Most of us know, the command to find the vio server and vhost details of a particular client from the same client lpar itself. If not below is the link where you can get the details.


http://aixdeepdive.blogspot.com/2013/06/command-to-find-vhost-and-vio-server.html

But at the same time we must know that, command provided in the aboce link, works for AIX6.1 version onwards. But to find the similar details for the AIX 5.3 servers, the same KDB utility can be used. Below are the details.

FOR AIX 5.3 servers - To find VIO server details along with vhost info, from VIO client,

Here is the command :

Understanding the test(t) factor.

 Test factor

For an existing volume group in AIX server, if we are adding any disk to it
( Typically extending the vg), on the new disk that we add everytime in a Volume Group there will be

(size of disk in MB )/ (PP Size) = # of PPs. ( desired )

If this number is greater than the 1016 limit we will need to change the t-factor.


If the above condition is met, where you have more than 1016 PP count, then this test or t factor come into picture. Hence we need to first find out the t factor value, that we should use.


Formula for calculating factor in chvg -t:


Power HA migration

powerha migration detailed document

If anyone has any problems or need any help to perform the powerha migration, you can refer to the below document, which clearly illustrates how to perform the migration.

PROCEDURE :


Prework : (atleast 2 days before the actual migration)
(1)Check current version of HACMP is up and the cluster is stable.
# odmget HACMPcluster
# lssrc –ls clstrmgrES | grep state
(2) Verify the existing cluster and correct the problem if any error found
(3) Take the mksysb backup and also the copy of the below important files
     Save a copy of these files:
         /.rhosts
        /etc/hosts
          /etc/exports
        /etc/inittab
    Save a copy of these files
          /usr/es/sbin/cluster/netmon.cf
          /usr/es/sbin/cluster/etc/exports
          /usr/es/sbin/cluster/etc/rhosts
        /tmp/hacmp.log