Monday, July 6, 2009

Aix - Logical Partitioning - Maintaining Independent Servers

Aix - Logical Partitioning - Maintaining Independent Servers

Logical isolation of software can be achieved by dedicating a portion of the resources (disk storage unit, processors, memory, and I/O devices) to a partition Software’s which might not run well together on a single machine, can be isolated and run efficiently in separate partitions.Logical partitions also have some hardware fault tolerance.

Friday, July 3, 2009

AIX - A Host Ethernet Adapter (HEA)

A Host Ethernet Adapter (HEA) allows multiple logical partitions to share a single physical Ethernet adapter. Unlike most other types of I/O devices, you can never assign the HEA itself to a logical partition. Instead, multiple logical partitions can connect directly to the HEA and use the HEA resources. This allows these logical partitions to access external networks through the HEA without having to go through an Ethernet bridge on another logical partition.

AIX - Virtual I/O

AIX - Virtual I/O


Allows logical partitions to access and use I/O resources on other logical partitions. For example, virtual Ethernet allows you to create a virtual LAN that connects the logical partitions on your server to each other. If one of the logical partitions on the server has a physical Ethernet adapter that is connected to an external network, you can configure the operating system of that logical partition to connect the virtual LAN with the physical Ethernet adapter. This allows the logical partitions on the server to share a physical Ethernet connection to an external network.

AIX - Dynamic logical partitioning

Dynamic logical partitioning feature allow resources to be moved to, from, and between running logical partitions manually without shutting down or restarting the logical partitions. This allows us to share devices that logical partitions use occasionally. For example, if the logical partitions on your server use an optical drive occasionally, you can assign a single optical drive to multiple logical partitions as a desired device. The optical drive would belong to only one logical partition at a time, but you can use dynamic logical partitioning to move the optical drive between logical partitions as needed. On servers that are managed using the Integrated Virtualization Manager, dynamic logical partitioning is supported only for the management partition. Dynamic logical partitioning is not supported on servers that are managed using the Virtual Partition Manager.

AiX - Logical Partioning - How resources are shared

Following are the ways in which resources are shared

Micro-Partitioning feature allows processor resources to be shared automatically among logical partitions that use the shared processor pool. The shared processor pool includes all processors on the server that are not dedicated to specific logical partitions. Each logical partition that uses the shared processor pool is assigned a specific amount of processor power from the shared processor pool. If the logical partition needs more processor power than its assigned amount, the logical partition is set by default to use the unused processor power in the shared processor pool. The amount of processor power that the logical partition can use is limited only by the virtual processor settings of the logical partition and the amount.

AIX - Advantages of Logical Partitioning

The following are benefits of logical partitioning on a server:

2.1 Consolidating servers

A logically partitioned server reduces the number of servers that are needed in an enterprise. We can consolidate many servers into a single logically partitioned system. This eliminates the use of additional equipment & expenses.

2.2 Sharing resources

The ability to share resources among many logical partitions allows us to increase resource utilization on the server and to move the server resources to where they are needed. We can easily move the hardware resources from one logical partition to another logical partitioning whenever we need.

AIX - Introduction to Logical Partitioning

1. What is logical partitioning?

Logical partitioning is the ability to make a server run as if it were two or more independent servers. When you logically partition a server, you divide the resources on the server into subsets called logical partitions or LPAR We can install different operating system on each logical partition, and each logical partition runs as an independent logical server with independent operating system and the resources that you have allocated to the logical partition. Processors, memory, and input/output devices are examples of resources that you can assign to logical partitions. Following are the Operating systems which can be installed on each independent Logical partition.

AIX,

i5/OS,

Linux operating systems and Virtual I/O Server.

All the Logical partitions partitioned from a single server share a few system attributes, such as the system serial number, system model, and processor feature code. All other system attributes on each Logical partition can vary from one logical partition to another.

Sunday, June 21, 2009

AIX - Dumps Space

AIX - Dumps Space
The system dump facility copies critical information to the dump device when a system crash occurs. This information is critical for determining the cause of the crash.

Sysdumpdev -l -- Shows where the system dump location is currently located.

Sysdumpdev -P -p/dev/hd9 -- Changes the primary dump device to hd9.

Sysdupmdev -e -- Estimates the size of the current dump.

Smitty dump -- Access dump configuration through Smit.

Monday, June 8, 2009

AIX - SMIT

smit:

A lot of the sys admin task in AIX can be done thru smit (or smitty for TUI version). It can accept a parameter to get to a specific menu section right away.


Here are some example:

smit mktcpip # configure network parameters
smit chfs # change file system, eg grow/extend it.
smit lsprt # list printers (don't list all, may need to go thru long menu)
smit installp # Add new software
smit update # add patches
smit update_all # automatic add patches to existing sw, no complain if patch is
not relevant


smitty fastpath:

Action Prefix Device Abbreviation
------ ------ ------ ------------
(add) mk (printer) prt
(change) ch (tty) tty
(list) ls (pty) pty
(remove) rm (disk) dsk
(cdrom) cdr
(diskette) dskt
(tape) tpe
(adapter) adp
lang

Keystrokes:
F3 or ESC, 3 Cancel, go back
F4 or ESC, 4 Provide list of items to choose from
F6 or ESC, 6 Show command that smit will actually run
F10 or ESC, 10 Exit smitty

Saturday, May 30, 2009

Install Oracle in AIX

Install Oracle in AIX

1) For Installing Oracle on AIX. You have to check the necessary packages

bos.adt.base, bos.adt.lib, bos.adt.libm , Installed or not, if not your installation (while linking) fail.so tell your sysadmin that u want these packages.

2) If u r changing any parameter in .PROFILE file, you have to run this command
$ . .profile

Otherwise logout then login your changes will take effect.

3) You have to tell your system admin. Install all CD's of AIX OS

4) Check for this patches these are imp.

AIX 5L release 5.1 ML01+ (IY22854), IY26778, IY28766, IY28949, IY29965, IY30150
if you wont get these packages go to site

http://techsupport.services.ibm.com/server/fixes

5) To determine if a specific patch is installed, enter one of the following commands

$ instfix -a -ivk APAR_number

To check whether an operating systems package is installed, enter following command

$ lslpp -l os_packagename

6) Kernel Parameter Settings for AIX :-
AIX does not require kernel parameter configuration prior to Oracle9i installation.
Means there is no need to change the “system.conf” file.



7) Oracle requires database administration groups to complete installation so tell your Sysadmin that create oracle user and its group.

8) Set permission for file creation:
It is necessary to set the umask parameter to 022 for the oracle user to ensure that group and others have read and execute permissions, but not write permission, on the installed files Check by firing following command
$ umask
If the umask command does not return the value 022, then set it for the Oracle user by adding the following line to the “.profile” file:
umask 022 then save the file then logout and login and check through umask command

9) set all variables like PATH,ORACLE_HOME etc in .profile file

10) Open two windows while installation one is root user and another one is oracle user.

11) through root user file following command

$ export DISPLAY=ipaddressOfServer:0.0

if u r installing on workstation then fire

$ xhost +

12) Inform your sysadmin that mount the cdrom drive

13) Now we are going to start the installation login ORACLE user Fire the following command other than cdrom drive directory

$ /cdrom_mount_point_directory/runInstaller

if you will get Oracle Universal Installer screen then same
as Windows installation but while installation it will ask you to run root.sh file don’t close any window and run root.sh from root prompt.

After follow the steps same like windows installtion.

Now your ORACLE IS ready on AIX………….