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


Sunday, June 16, 2013

how to increase the queue depth on the vio client


To change the queue_depth on the hdisk device:

To change the queue depth values, the hdisk should be free from I/O operataions. So


Script to perform FTP in background


Usually to transfer files from Fix Central to the servers, while downloading to your server it takes lot of time, so during this period we should make sure your network not to disconnect.

To avoid this problem, we can use a script to run this file transfer in background so that, there will be no need for us to be attentive towards the ftp transfer.


Here is the scripttttt


How to delete a file using inode

If the part of file name has some invalid charecters then we may face difficulty in deleting that file, so the best option to delete the file would be using inode number.

Below is the command for the same:

 # find /directory -inum [inode-number] -exec rm -i {} \;


 


dlpar not working between from hmc


Usually, if DLPAR fails due to below reason, its always problem with the rmc connection, which depends on RSCT daemons.

Error :

"A RMC network connection to the partition is not present. Verify the network settings on the partition and the HMC. If you select OK you will have to restart the partition for the resource changes to take effect."


find oslevel of the clone rootvg


We usually know how to find the oslevel of a server, but if we want to find the oslevel of the cloned rootvg that exists in the disk, then its very simple.

Using the below blvset command, you can find the oslevel in the clone vg/disk.


How to list files in alphabetical order in a directory


We know how to list the files by sorting with time, and using long list options, but anyone knows how to list based on the alphabetical order.

Here is the simple command to do that :


Saturday, June 15, 2013

B700F120 LED server hung


AIX server migrated from AIX5.3 to AIX6.1 on 9117-mmb frame and the server hangs at the LED B700F120


B700F120

B700F120

Explanation

Platform firmware detected an error

 

Response

The platform is unable to support the requested architecture options requested by the operating system via ibm,client-architecture-support interface.

 

Solution

6100-01 is not supported on a 9117-mmb. So if installing the AIX operating

IBM Tivoli Storage Manager (TSM)

  TSM downloads and TSM commands
 All the TSM client downloads can be performed using the below IBM link:

http://www-01.ibm.com/support/docview.wss?uid=swg24027432

SSA storage picture AIX


Below you can see the SSA disks that are attached to the P series server.


Friday, June 14, 2013

Command to find vhost and vio server name from the client server


In order to find the VIO server name and the vhost details of a particular client from the client server itself, below command can be helpful.


# echo cvai | kdb | grep -i vscsi


Perform NIM operation without booting nim client machine to SMS mode:

Perform NIM operation without booting machine to SMS mode:

If you have any confusion or problem in finding out the ethernet adapter to select during the migration or any operation where you need to select the adapter for performing ping test or to start the installation through network, you can use the below command.