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, 10 May 2011

Global Command Log in VIOS

This posts explains the GCL (Global Command Log) command in VIOS.

$ lsgcl - Displays the list of command executed by all the users in the machine. It alos contains the date, time, username and what command executed by that user.

GCL can be cleared by padmin user by using the command,

$ cleargcl

Saturday, 7 May 2011

Redirecting Error Logs To Different Server

In some instances there is a need to re-direct the logs to a different server.

Step1:

$ oem_setup_env

Login as padmin. Create a file called /tmp/syslog.add

Step2:

Edit the content of the /tmp/syslog.add with,

errnotify:
en_pid = 0
en_name = "syslog"
en_persistenceflg = 1
en_method = "/usr/bin/errpt -a -l $1 |/usr/bin/fgrep -v 'ERROR_ID TIMESTAMP'|
/usr/bin/logger -t ERRDEMON -p local1.warn"

Step3:

# odmadd /tmp/syslog.add /* Updating the changes in the ODM */

Step4:

Edit the /etc/syslogd.conf file to re-direct the logs to a different server.

*.debug           @10.0.0.1 <IP address of a different server */

Step5:

Restart the demon.

# stopsrc –s syslogd

# startstc –s syslogd

Trouble Shooting Error Logs in VIOS

This post explains the scenario where your errologs are corrupted and how to restore the error demon.

1) $ oem_setup_env /* Get into AIX Environment */

2) # /usr/lib/errstop /* Stop the errorlog demon */

3) # mv /var/adm/ras/errorlog /var/adm/ras/errlog.back /* Take a backup of the error log file */

4) # /usr/lib/errdemon  /* Start the errorlog demon */

Sunday, 1 May 2011

IBM AIX Interview Questions with Answers

• What is the command to view the active vg?
 
# lsvg -o

• How do you configure the Disk?
 
# cfgmgr
 
-l : Device
-v : Verbose
-i : Location of the installation medium of the drivers

• Tell me Steps to configure the VG?
 
# mkvg -y <VG Name> -s <PP Size> <Physical Volumes>

• How do u add a new disk in VG?

# extendvg <VG Name> <New Hdisk>

• What are the Attibutes of LVM?

Attributes if LVM includes Volume Group, Logica Volume, Physival Volume, Physical Partition, Logical Partition, Filesystem and Paging Space.
 
• How do u find the fix is installed?
 
# instfix -i -k <APAR Number> /* Look for a specific fix */
 
# instfix -i -v /* Lsit all the fixes installed in the machine */

• How to u extend the FS?
 
# chfs -a size=+New Size <File System>
 
• Attributes of FS?
 
Attributes include file system type, mount point, logical voume, mount options, logs.
• List all the LV in system?
 
# lslv
• How do u find the PP size of the VG?

# lsvg vgname
 
• How do u create the pp size of 32 MB in VG?

# mkvg -y <VG Name> -s 32 <Physical Volumes>
 
• How do u disable the paging space?
 
# swapoff  <Paging Device>

• What is LPAR?
 
Logical Partition, a system built based on the concept of Virtualization.

• How will you mirror a volume and how will you find if a volume is mirrored ? lsvg รข€“l (vol gp name)

# extendvg vgname hdisk0
# mirrorvg vgname hdisk0
# lsvg -l vgname /* 1 LP = 2 PP's to check mirroring has been done or not*/