Thursday, September 29, 2016


Oracleasm installation on RHEL 6.5


Download two RPM files from
http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html
oracleasm-support-2.1.8-1.el6.x86_64.rpm
oracleasmlib-2.0.4-1.el6.x86_64.rpm

Download three more RPM files from
https://access.redhat.com/downloads/content/kmod-oracleasm/2.0.6.rh1-3.el6_5/x86_64/fd431d51/package
kmod-oracleasm-2.0.6.rh1-3.el6_5.x86_64.rpm
oracleasm-2.0.6.rh1-3.el6_5.src.rpm
oracleasm-debuginfo-2.0.6.rh1-3.el6_5.x86_64.rpm

/usr/sbin/oracleasm

Usage: oracleasm [--exec-path=] [ ]
       oracleasm --exec-path
       oracleasm -h
       oracleasm -V

The basic oracleasm commands are:
    configure        Configure the Oracle Linux ASMLib driver
    init             Load and initialize the ASMLib driver
    exit             Stop the ASMLib driver
    scandisks        Scan the system for Oracle ASMLib disks
    status           Display the status of the Oracle ASMLib driver
    listdisks        List known Oracle ASMLib disks
    querydisk        Determine if a disk belongs to Oracle ASMlib
    createdisk       Allocate a device for Oracle ASMLib use
    deletedisk       Return a device to the operating system
    renamedisk       Change the label of an Oracle ASMlib disk
    update-driver    Download the latest ASMLib driver
 


Saturday, January 2, 2016

Using Tar command to backup Live Linux Systems

1. Install Target linux machine with minimum software selection
2. Boot up target machine
3. Login as root
4. Set IP address then restart network service
5. Make sure to turn off "iptables" , "ip6tables", "selinux".
6. Login to source machine
7. touch /tmp/nocopy
boot
proc
sys
mnt
media
dev/shm
8. run following command on source machine to start copy system folders / files structure to target machine.

#cd /;tar zcvpf - -X /tmp/nocopy *|ssh  target machine IP "cd /;tar zxvpf - --numeric-owner"
Quote of the Day