Wednesday, January 25, 2012

Linux Log Rotation

logrotate  is  designed to ease administration of systems that generate large numbers of log files.  
It allows automatic rotation, compression, removal, and mailing of log files.  Each log file may be handled 
daily,weekly, monthly, or when it grows too large.

File location 

       /var/lib/logrotate.status  Default state file.
       /etc/logrotate.conf        Configuration options.

# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
    monthly
    minsize 1M
    create 0664 root utmp
    rotate 1
}

# sample logrotate configuration file
       compress

       /var/log/messages {
           rotate 5
           weekly
           postrotate
                                     /sbin/killall -HUP syslogd
           endscript
       }

Thursday, January 19, 2012

Siebel AIX 5.3 Kernel Paramter

Siebel AIX 5.3 Kernel Paramter


VMO Parameter Value
       lru_file_repage  1
     lru_poll_interval  10
            maxclient%  80
               maxfree  1088
              maxperm%  80
               minfree  960
              minperm%  20
      strict_maxclient  1
        strict_maxperm  0
IO Parameter 
j2_nBufferPerPagerDevice  512
                      numclust  1
                     numfsbufs  196
            sync_release_ilock  0
NO Parameter 
                  rfc1323  0
                  rfc2414  1
                   sb_max  1048576
          tcp_init_window  0
          tcp_nagle_limit  65535
           tcp_nodelayack  0
            tcp_recvspace  16384
            tcp_sendspace  16384
                 use_isno  1

Thursday, January 5, 2012


AIX 7.1 features 

  • Workload partitions (WPARs)—software-based virtualization
  • Live Application Mobility (LAM) with the IBM Workload Partitions Manager for AIX
  • 64-bit kernel for higher scalability and performance
  • Dynamic logical partitioning and IBM Micro-Partitioning™ support
    • Automated load balancing
    • Online addition or removal of processors, memory, and I/O resources
  • Support for dedicated and shared processor LPAR groups
  • Trusted AIX: Multi-level, compartmentalized security
  • Integrated role based access control
  • Encrypting enhanced journaled file system (JFS2)
  • Exploitation of IBM POWER7 storage keys with enhanced protection and reliability
  • Concurrent AIX kernel updates, which can reduce need for planned outages
  • Dynamic tracing with ProbeVue
  • Designed to comply with the Open Group SUSv4 standard
  • Robust journaled file system and Logical Volume Manager (LVM) software, including integrated file system snapshot
  • Tools for managing your systems environment—SMIT and the IBM Systems Director Console for AIX

Do you have workloads that still run on AIX 5.2? AIX 5.2 Workload Partitions for AIX 7 is a new product supported on AIX 7.1 for POWER7 servers. AIX 7 allows you to create a WPAR that provides an AIX V5.2 TL10 SP8 runtime environment for the workload running in the WPAR. To give you a simple POWER7 migration path for an AIX V5.2 workload running on older hardware, all you have to do is create a mksysb image of the AIX V5.2 system. Then, you provide this image when you create the WPAR on AIX V7.1 running on POWER7 hardware. In addition, you also have LAM support for the AIX V5.2 WPAR between POWER7 systems running AIX V7.1. LAM requires the purchase of IBM PowerVM™ Workload Partitions Manager for AIX or the purchase of AIX V7 Enterprise Edition, which includes IBM PowerVM Workload Partitions Manager for AIX.
With this release of AIX, vSCSI disks are now supported in a WPAR the same way as fibre channel disks. VIO SCSI disks configured in the global partition can be exported to a WPAR for use as a data disk or as the rootvg for the WPAR. You can export any disk type supported by the Virtual I/O Server (VIOS) to a WPAR. In addition, LAM is supported for a rootvg WPAR on vSCSI disks as long as the source and target logical partitions (LPARs) are both clients of VIOS instances with access to the disks.



AIX V7.1 provides support for accessing the POWER7 Barrier Synchronous Register (BSR) using shared memory interfaces from the user space, which allows you to use the BSR without requiring a kernel extension to be loaded.
CPU interrupt disablement
AIX V7.1 includes the ability to disable external interrupts on a specific set of CPUs where a workload is deployed. When enabled, this feature will route certain hardware level interrupts to other CPUs, thereby resulting in less interruption to the workload.
By default, AIX V7.1 pins kernel memory and includes support to allow applications to pin their kernel stack. Pinning kernel memory and the kernel stack for applications with real-time requirements can provide performance improvements by ensuring that the kernel memory and kernel stack for an application is not paged out.
AIX V7.1 includes enhanced support in the AIX Logical Volume Manager (LVM) and JFS2 for solid state disks (SSDs). This includes the capability for LVM to restrict a volume group (VG) to only contain SSDs and the ability to report that a VG only contains SSDs. JFS2 has been enhanced with the capability to capture and report per-file statistics related to hot-file detection that you can use to determine if a file should be placed on an SSD. These capabilities allow for applications to monitor and determine optimal file placement.
The Network Time Protocol (NTP) implementation is updated to xntp V4.2.1. The xntp V4.2.1 includes support for IPv6, new server discovery schemes, orphan mode and other improvements.
AIX V7.1 enhances EtherChannel support for the 802.3AD protocol and ensures that a link is Link Aggregation Control Protocol (LACP) ready before sending data packets.
AIX V7.1 provides you with Internet Wide Area RDMA Protocol (iWARP RDMA) over the 10 Gigabit Ethernet-CX4 PCI Express and 10 Gigabit Ethernet-SR PCI Express Adapters. This support includes the porting to AIX of the Open Fabrics 1.4 iWARP stack for Ethernet and provides the framework in allowing for future exploitation of RDMA over Ethernet.