Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Wednesday 13 August 2014

VIO BASICS


VIO
IT IS ALSO ONE LPAR, IT ALLOWS SHARING OF PHYSICAL RESOURCES BETWEEN LPARS(AIX)
MAX FOR M.M ARE 4

MIMIMUM REQUIREMENTS TO CREATE A LPAR
·                     cpu
·                     memory 
·                     i/o devices
PHYSICAL RESOURCES
predefined resources(inbuilt)
SHARED RESOURCES
resources used by several lpars
DEDICATED RESOURCES
entire processor is allocated for single lpar
VIRTUAL RESOURCES
it tells to o.s howmany physical processors it thinks it has.
LOGICAL RESOURCES
logical processor count is based on smt enable/disable
HMC
it is a linux based software to allocate resources between lpars
each hmc can support for 48 manage machines
MANAGE MACHINE
it contains the sources(cpu,memory,i/o)
it is connected to one or two hmcs
POWER HYPERVISER
it is a service proGRAM which is used to allocate resources between lpars
NVRAM
it is a part of manage machine it contains lpar configuration information.power hypervisor use this information to allocate resources.
FSP
manage machine and hmc are connected to it through adapter
SMT
two or more hardware threads run simultaneously on a single processor at a time
Partition profile 
each partition is having atleast one profile.it contains information about resources 
System profile
collection of partition profiles is called s.p
Partition activation
·                     through partition profile
·                     through system profile
Manage machine activation
·                     partition standby
·                     system profile 
·                     partition auto start 
·                     hardware discovery

dlpar

using this we can add/remove/move the resources
DEMONS:
IBM.DSRM
IBM.DRM
CTRMC
LSPARTITION -DLPAR

LUN MAPPING:

WE NEED CREATE ONE VIRTUAL SERVER SCSI ADAPTER IN SERVER SIDE,IT IS CREATED AS VHOSTN
WE NEED CREATE ONE VIRTUAL CLIENT SCSI ADAPTER IN CLIENT SIDE ,IT IS CREATED AS VSCSIN
AFTER THAT WE NEED TO EXECUTE COMMAND CFGMGR
AFTER THAT BY CHECKING DISK AVAILABILITY WE NEED ALLOCATE A DISK FOR CLIENT
MKVDEV =VDEV DEVICENAME -VADAPTER VIRTUAL SERVER SCSI ADAPTER -DEV VTDNAME 
SEA
it acts as a bridge between physical and virtual networks
vio version 1.2 onwards
requires power hyperviser and advanced power virtualization feature
Pvid and vlanid
SINGLE NETWORK IS DIVIDED INTO MULTI NETWORKS LOGICALLY
PVID:IT IS DEFAULT VLANID

ether channel

two or more physical adapters grouped together to act as an logical adapter to provide fault tolerance and to increase high speed links between switches and networks
HEA
JUST LIKE SEA IN VIO  IN P6 MANAGE MACHINE
IVE
JUST LIKE SEA IN VIO IN P5 MANAGE MACHINE


asmi:
 THROUGH ASMI WE CAN CHANGE MANAGE MACHINE NAME
 WE CAN POWER ON AND POWEROFF MANAGE MACHINE
 WE CAN CHANGE LMB SIZE
 WE CAN GET RESOURCES INFORMATION(CPU,MEMORY) 
WE CAN CHANGE THE FIRMWARE LEVEL
we can see errlog info
vpd and fsp info
we can know deconfigured cpu&memory
we can change the m.m ip address

STEPS TO CONFIGURE CLUSTER


Ø  Define a cluster
Ø  Configure hacmp nodes
Ø  Configure hacmp networks
Ø  Configure hacmp communication interfaces
Ø  Give persistent ip address
Ø  Add on application
Ø  Add a serviceip address
Ø  Create an RG
Ø  Add RG attributes
Ø  Sync the cluster info of node1 to node2
Ø  Start cluster services

CLUSTER MAIN POINTS




TYPES OF CLUSTERS
Active-passive
Active-active
Concurrent multiactive

SERVICE IP
It acts as a alias ip

BOOT IP
Original ip on the interface

PERSISTENT IP
Used for administration purpose

RG POLICIES
Startup
Fail over
Fall back

IP ADDRESS TAKEOVER
Ipat via aliasing
Ipat via replacement

CLUSTER FILESETS
Mentioned in other place

C-SPOC
Provides facility for performing common cluster admin tasks from any node with in cluster

VG ,LV,FS CREATION
Smitty c-spoc

VG TYPES
Nonconcurrent
Concurrent
Enhanced concurrent

CLUSTER SHUTDOWN TYPES
Graceful
Graceful with takeover
Force

RG STATES
Online
Offline
Releasing
Acquiring

Resource group types
Cascading
Rotating
Concurrent

CLUSTER LOG FILES
Hacmp.out
Cluster.log
Cluster.cspoc
Clverify.log
Clcomd.log

CLUSTER DEMONS
clcomdES
clinfoES
clstrmgrES
ctrmc


Dms:
    It is kernel extension which alts the node when enter into the hung state,that extends beyond a certain time limit. It enables the another node in the cluster to acquire the hung node resource in a orderly fashion
Reasons:
·                     Clstrmgr may be starved of cpu
·                     Excessive i/o traffic on a disk
·                     Excessive tcpip traffic over on a interface


Dare:
    Using this we can change the cluster configuration dynamically


Can:
·                     We can add/remove node
·                     We can add/remove interface
·                     We can add/removbe network

Can’t


·                     Changing the cluster name
·                     Changing cluster nodename
·                     Changing rg name

·                     Changing apps server name

DIFFERENCES BETWEEN AIX 5.3 AND 6.1


5.3                                                                              6.1

1.             Default filesysytem type is jfs                               1. Default filesystem type is jfs2
2.             It doesnot contain /admin filesystem                   2. It contains /admin filesystem
3.             Default kernal is 32bit                                             3.default kernal is 64bit
4.             It doesnot support for lpm                                    4.it supports fopr lpm feature
5.             It contains ML mechanisem                                  5. It doesn't contain ML mechanisem
6.             Recent TL is 12                                                       6. Recent TL is 9
7.             We need install nmon feature                              7. Nmon is a default feature init


VIO ACRONYMS


VIO                              :       VIRTUAL INPUT OUTPUT SERVER

LPAR                           :       LOGICAL PARTITION

PPAR                          :       PHYSICAL PARTITION

HMC                            :       HARDWARE MANAGEMENT CONSOLE

DLPAR                        :       DYNAMIC LOGICAL PARTITION

SEA                             :       SHARED ETHERNET ADAPTER

MPIO                           :       MULTI PATH INPUT OUTPUT SERVER

NPIV                            :       NETWORK PORT ID VIRTUALIZATION

LPM                             :       LIVE PARTITION MOBILITY

VLAN                           :       VIRTUAL LOCAL AREA NETWORK

PVID                            :       PORT VLAN ID

FC                               :       FIBER CHANNEL

FSP                             :       FLEXIBLE SERVICE PROCESSOR

SMT                             :       SIMULTAENOUS MULTI THREADING

NVRAM                        :        NON VOLATILE RAM

HEA                             :        HOST ETHERNET ADAPTER

IVE                               :        INTEGRATED VIRTUAL ETHERNET ADAPTER

HA                               :        HIGH AVAILABILITY

CMP                            :        CLUSTER MULTI PROCESSING

C-SPOC                     :        CLUSTER SINGLE POINT OF CONTACT

DMS                            :         DEAD MAN SWITCH

DARE                          :         DYNAMIC AUTOMATIC RECONFIGURATION

DR                               :         DISASTER RECOVERY

ASMI                            :         ADVANCED SYSTEM MANAGEMENT INTERFACE
API                               :         APPLICATION PROGRAMMING INTERFACE
SAN                             :           STORAGE AREA NETWORK
VPD                             :           VITAL PRODUCT DATA
IDE                              :           INTEGRATED DEVICE ELECTRONICS
IPAT                            :           IP ADDRESS TAKEOVER
LUN                             :            LOGICAL UNIT NUMBER
LDAP                           :            LIGHTWEIGHT DIRECT ACCESS PROTOCOL
LED                             :           LIGHT EMITTING DIODE
LMB                             :           LOGICAL MEMORY BLOCK
RDAC                          :           REDUNDANT DISK ARRAY CONTROLLER
RAID                            :           REDUNDANT ARRAY OF INDEPENDENT DISKS
VTD                            :           VIRTUAL TARGET DEVICE