Archive

Author Archive

HMC Commands

January 16th, 2009 ather No comments

5 useful HMC commands to help make managing your p5 systems easier.

1.) All slots configuration – identifies the type of adapter in each slot.

#lssyscfg -r sys -F name | while read mngsys; do lshwres -r io -rsubtype slot -F unit_phys_loc:phys_loc:lpar_name:description -header -m $mngsys | sed “s/^/$mngsys:/”; done

2.) CPU usage by LPAR’s:

#lssyscfg -r sys -F name | while read mngsys; do lshwres -r proc -level lpar -F lpar_name:curr_min_procs:curr_procs:curr_max_procs:pend_min_procs:pend_procs:pend_max_procs:run_procs -header -m $mngsys | sed “s/^/$mngsys:/”; done

3.) Memory usage by LPARs:

#lssyscfg -r sys -F name | while read mngsys; do lshwres -r mem -level lpar -F lpar_name:curr_min_mem:curr_mem:curr_max_mem:pend_min_mem:pend_mem:pend_max_mem:run_min_mem:run_mem -header -m $mngsys | sed “s/^/$mngsys:/”; done

4.) Total CPU configuration on managed P5 systems:

#lssyscfg -r sys -F name | while read mngsys; do lshwres -r proc -level sys -F configurable_sys_proc_units:curr_avail_sys_proc_units:pend_avail_sys_proc_units:installed_sys_proc_units:deconfig_sys_proc_units:min_proc_units_per_virtual_proc:max_virtual_procs_per_lpar -header -m $mngsys | sed “s/^/$mngsys:/”; done

5.) Total memory configuration on managed P5 systems:

#lssyscfg -r sys -F name | while read mngsys; do lshwres -r mem -level sys -F configurable_sys_mem:curr_avail_sys_mem:pend_avail_sys_mem:installed_sys_mem:deconfig_sys_mem:sys_firmware_mem:mem_region_size -header -m $mngsys | sed “s/^/$mngsys:/”; done

Categories: Uncategorized Tags:

How-To Configure Gigabit Etherchannel

January 16th, 2009 ather No comments

How-To Configure Gigabit Etherchannel

What is etherchannel?
Etherchannel is the process of grouping several ethernet ports together to increase the amount of bandwidth. Etherchannel configuration must be performed on the host and the switch. This post covers how to configure etherchannel on your AIX system using 2 gigabit ethernet adapters.


Step #1:
Down and detach the two gigabit ethernet adapters you will be using for the etherchannel. For simplicity this How-To assumes your gigabit adapters are en0 & en1, in reality your adapters may be different but the configuration process is still the same.

#ifconfig en0 down detach
#ifconfig en1 down detach

Step #2:
Use “smitty chinet” to remove existing IP address configurations from en0 & en1 and set the state of en0 & en1 to “detach”.

#smitty chinet

Step #3:
Now that your two ethernet adapters have been deconfigured and set to a detached state, you can create the actual etherchannel. Once the etherchannel is created you will see an additional ethernet adapter “en2″.

#smitty etherchannel

Select: Add an Etherchannel/Link Aggregation
Select: en0 and en1 with the F7 key
Set: Enable Gigabit Ethernet Jumbo Frames to YES

Step #4:
Set speed and duplex settings for your etherchannel adapter en2.

#smitty chgenet
Select: en2 and set the speed to 1000 Full_Duplex

Step #5:
Configure IP address and activate your etherchannel adapter en2. To properly complete this step you will need to have the IP address, netmask and gateway information handy. If you are unsure of this information, consult your network administrator before proceeding.

#smitty tcpip

Select: “Minimum Configuration”
Select: ent2
Input:
IP address, Netmask & Gateway information.

Step #6:
Now that your AIX host is properly configure for etherchannel, it is time to give your network administrator a call to have him configure the switch for etherchannel.

Categories: Uncategorized Tags:

NFS mount shows user and group as “unknown”

January 1st, 2009 ather No comments

The nfs volume was being exported from NetApp filer with NFS version 4 enabled, disabling the option resolved the issue with proper privileges on the mounts.

Categories: Uncategorized Tags:

Use USB flashdrive as RAM

December 27th, 2008 ather No comments

Although memory sticks will be better the using usb flashdrive. You can only do this on a vista computer. When ever you put in a flashdrive it will bring up a menu and select speedup my computer using readyboost.

If you disabled the menu then go to my computer, right click the drive that is the usb flash drive and go to the readyboost tab.

Categories: General Tags:

Watch restricted websites

December 27th, 2008 ather No comments

http://proxy.org allows you to browse websites which are restricted in your country.

Another good anonymous proxy URL would be www.ghostingweb.com

Categories: General, Uncategorized Tags:

Public key authentication over SSH

December 27th, 2008 ather No comments

Setting up public key authentication over SSH

Generate key on local machine

ssh-keygen -t rsa

It will ask you for a password but you can leave it blank.

Note you could also pick -t dsa if you prefer.
Ensure that the remote server has a .ssh directory

Make sure the server your connecting to has a .ssh directory in your home directory. If it doesn’t exist you can run the ssh-keygen command above, and it will create one with the correct permissions.
Copy your local public key to the remote server

If your remote server doesn’t have a file called ~/.ssh/authorized_keys2 then we can create it. If that file already exists, you need to append to it instead of overwriting it, which the command below would do:

scp ~/.ssh/id_rsa.pub remote.server.com:.ssh/authorized_keys2

Now ssh to the remote server

Now you can ssh to the remote server without entering your password.
Security

Now keep in mind that all someone needs to login to the remote server, is the file on your local machine ~/.ssh/id_rsa, so make sure it is secure.

Categories: Uncategorized Tags:

Listen to Hindi Old/New Songs

December 27th, 2008 ather No comments

http://www.Dhingana.com is a very good website which offers it’s users to create smart playlists. A lot of playlists are already in place which contains a collection of very cool songs.

It’s very simple and doesn’t have any popups either.

Categories: Uncategorized Tags:

Speed up Windows XP

December 27th, 2008 ather No comments

Tips to speed up Windows XP. Needs to be done atleast once a month to tweak windows xp performance….

1. De-Fragmenting
Over time, the data on your hard drive gets scattered. Defragmenting your hard drive puts your data back into sequential order, making it easier for Windows to access it. As a result, the performance of your computer will improve.
a) Right click of C Disk.
b) Click properties.
c) Click tools tab.
d) Click “Defragment now”.
e) Click Defragment.

2. Uninstall Unneeded Programs
Removing programs that you no longer use can free up space on your computer and speed up your system’s performance. However, you need to uninstall the programs properly to see much improvement; deleting them is not enough. To do this, go to Control Panel and remove the unneeded programs from Add/Remove Programs list.

3. Stop Programs from starting on Windows boot
One way you can speed up your computer is to prevent programs from launching themselves at start-up. Not only do the unwanted programs delay the start of Windows, they also continue to slow down your computer since they use system resources.
a) Open your Start menu.
b) Click Run
c) In the command screen type “msconfig.exe”
d) In the “system configuration utility”, click either “service” or “startup” tab
e) Uncheck all programs that you are no longer using.
f) Click “OK”

4. Check for Spyware and Adware
Spyware is software that allows companies to monitor what websites you visit or even access your computer. Adware is software that displays advertisements. Both use system resources and slow your computer down. Detecting and removing the programs will improve system performance. Using Spybot and Adware can help remove spyware from the machine.

Clean your Registry
Microsoft Registry Problems = Slow Computer!
Microsoft Registry cleaner can be used to clean unwanted or obsolete registry items. It can be found at the following link: http://www.download.com/Registry-Cleaner/3000-2094_4-10471676.html?tag=dl.4

Categories: Uncategorized Tags:

Hide network and local drives on windows machine

December 24th, 2008 ather No comments

To disable the display of local or networked drives when you click My Computer.

1.Go to start->run.Type regedit

2) Go to HKEY_CURRENT_USER\Software\M*cro$oft\Windows\CurrentVersion\Policies\Explorer

In the right pane create a new DWORD item and name it NoDrives (it is case sensitive). Now modify it’s value and set it to 3FFFFFF (Hexadecimal) . Restart your computer. My Computer will display no drives.

To enable display of drives in My Computer, delete the DWORD item that you created.

Restart your computer.You can now see all the drives again. :)

Categories: Uncategorized Tags:

Make Firefox 10 times faster — No Software needed

December 23rd, 2008 ather 1 comment


1. Type “about:config” into the address bar and hit enter. Scroll down and look for the following entries:

2. Alter the entries as follows:

Set “network.http.pipelining” to “true
Set “network.http.proxy.pipelining” to “true

set “network.http.pipelining.maxrequests” to some number like 50. This means it will make 50 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0“. This value is the amount of time the browser waits before it acts on information it recieves.

Categories: Uncategorized Tags: