<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8891924952565720560</id><updated>2012-02-16T07:29:32.105-08:00</updated><title type='text'>SAN</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-571777997368662816</id><published>2009-07-08T11:45:00.000-07:00</published><updated>2009-07-09T00:39:53.786-07:00</updated><title type='text'>Oracle 10g RAC</title><content type='html'>&lt;h1&gt;Oracle 10g RAC On Linux Using NFS&lt;/h1&gt; http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php&lt;br /&gt;&lt;br /&gt;This article describes the installation of Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux 4.5) using NFS to provide the shared storage.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#download_software"&gt;Download Software&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#os_installation"&gt;Operating System Installation&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#oracle_installation_prerequisites"&gt;Oracle Installation Prerequisites&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#create_shared_disks"&gt;Create Shared Disks&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#install_clusterware"&gt;Install the Clusterware Software&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#install_db_software"&gt;Install the Database Software&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#create_db_using_dbca"&gt;Create a Database using the DBCA&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#tns_config"&gt;TNS Configuration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#check_status_of_rac"&gt;Check the Status of the RAC&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinuxUsingNFS.php#direct_and_asynchronous_io"&gt;Direct and Asynchronous I/O&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;   &lt;h2&gt;Introduction&lt;/h2&gt; NFS is an abbreviation of Network File System, a platform independent technology created by Sun Microsystems that allows shared access to files stored on computers via an interface called the Virtual File System (VFS) that runs on top of TCP/IP. Computers that share files are considered NFS servers, while those that access shared files are considered NFS clients. An individual computer can be either an NFS server, a NFS client or both.&lt;br /&gt;&lt;br /&gt;We can use NFS to provide shared storage for a RAC installation. In a production environment we would expect the NFS server to be a NAS, but for testing it can just as easily be another server, or even one of the RAC nodes itself.&lt;br /&gt;&lt;br /&gt;To cut costs, this articles uses one of the RAC nodes as the source of the shared storage. Obviously, this means if that node goes down the whole database is lost, so it's not a sensible idea to do this if you are testing high availability. If you have access to a NAS or a third server you can easily use that for the shared storage, making the whole solution much more resilient. Whichever route you take, the fundamentals of the installation are the same.&lt;br /&gt;&lt;br /&gt;This article was inspired by the blog postings of &lt;a href="http://kevinclosson.wordpress.com/"&gt;Kevin Closson&lt;/a&gt;.&lt;br /&gt;&lt;h2&gt;Download Software&lt;/h2&gt;  Download the following software.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://edelivery.oracle.com/linux"&gt;Oracle Enterprise Linux&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle.com/technology/software/products/database/oracle10g/index.html"&gt;Oracle 10g (10.2.0.1) CRS and DB software&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;   &lt;h2&gt;Operating System Installation&lt;/h2&gt; This article uses Oracle Enterprise Linux 4.5, but it will work equally well on CentOS 4 or Red Hat Enterprise Linux (RHEL) 4. A general pictorial guide to the operating system installation can be found &lt;a href="http://www.oracle-base.com/articles/linux/OracleEnterpriseLinux4Installation.php"&gt;here&lt;/a&gt;. More specifically, it should be a server installation with a minimum of 2G swap, firewall and secure Linux disabled and the following package groups installed: &lt;ul&gt;&lt;li&gt;X Window System&lt;/li&gt;&lt;li&gt;GNOME Desktop Environment&lt;/li&gt;&lt;li&gt;Editors&lt;/li&gt;&lt;li&gt;Graphical Internet&lt;/li&gt;&lt;li&gt;Server Configuration Tools&lt;/li&gt;&lt;li&gt;FTP Server&lt;/li&gt;&lt;li&gt;Development Tools&lt;/li&gt;&lt;li&gt;Legacy Software Development&lt;/li&gt;&lt;li&gt;Administration Tools&lt;/li&gt;&lt;li&gt;System Tools&lt;/li&gt;&lt;/ul&gt;  To be consistent with the rest of the article, the following information should be set during the installation:&lt;br /&gt;&lt;br /&gt;RAC1:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;hostname: rac1.localdomain&lt;/li&gt;&lt;li&gt;IP Address eth0: 192.168.2.101 (public address)&lt;/li&gt;&lt;li&gt;Default Gateway eth0: 192.168.2.1 (public address)&lt;/li&gt;&lt;li&gt;IP Address eth1: 192.168.0.101 (private address)&lt;/li&gt;&lt;li&gt;Default Gateway eth1: none&lt;/li&gt;&lt;/ul&gt;  RAC2:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;hostname: rac2.localdomain&lt;/li&gt;&lt;li&gt;IP Address eth0: 192.168.2.102 (public address)&lt;/li&gt;&lt;li&gt;Default Gateway eth0: 192.168.2.1 (public address)&lt;/li&gt;&lt;li&gt;IP Address eth1: 192.168.0.102 (private address)&lt;/li&gt;&lt;li&gt;Default Gateway eth1: none&lt;/li&gt;&lt;/ul&gt;You are free to change the IP addresses to suit your network, but remember to stay consistent with those adjustments throughout the rest of the article.&lt;br /&gt;&lt;br /&gt;Once the basic installation is complete, install the following packages whilst logged in as the root user.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;# From Oracle Enterprise Linux 4.5 Disk 1&lt;br /&gt;cd /media/cdrecorder/CentOS/RPMS&lt;br /&gt;rpm -Uvh setarch-1*&lt;br /&gt;rpm -Uvh compat-libstdc++-33-3*&lt;br /&gt;rpm -Uvh make-3*&lt;br /&gt;rpm -Uvh glibc-2*&lt;br /&gt;cd /&lt;br /&gt;eject&lt;br /&gt;&lt;br /&gt;# From Oracle Enterprise Linux 4.5 Disk 2&lt;br /&gt;cd /media/cdrecorder/CentOS/RPMS&lt;br /&gt;rpm -Uvh openmotif-2*&lt;br /&gt;rpm -Uvh compat-db-4*&lt;br /&gt;rpm -Uvh gcc-3*&lt;br /&gt;cd /&lt;br /&gt;eject&lt;br /&gt;&lt;br /&gt;# From Oracle Enterprise Linux 4.5 Disk 3&lt;br /&gt;cd /media/cdrecorder/CentOS/RPMS&lt;br /&gt;rpm -Uvh libaio-0*&lt;br /&gt;rpm -Uvh rsh-*&lt;br /&gt;rpm -Uvh compat-gcc-32-3*&lt;br /&gt;rpm -Uvh compat-gcc-32-c++-3*&lt;br /&gt;rpm -Uvh openmotif21*&lt;br /&gt;cd /&lt;br /&gt;eject&lt;/pre&gt;&lt;/blockquote&gt;   &lt;h2&gt;Oracle Installation Prerequisites&lt;/h2&gt;  Perform the following steps whilst logged into the RAC1 virtual machine as the root user.&lt;br /&gt;&lt;br /&gt;The /etc/hosts file must contain the following information.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;127.0.0.1       localhost.localdomain   localhost&lt;br /&gt;# Public&lt;br /&gt;192.168.2.101   rac1.localdomain        rac1&lt;br /&gt;192.168.2.102   rac2.localdomain        rac2&lt;br /&gt;#Private&lt;br /&gt;192.168.0.101   rac1-priv.localdomain   rac1-priv&lt;br /&gt;192.168.0.102   rac2-priv.localdomain   rac2-priv&lt;br /&gt;#Virtual&lt;br /&gt;192.168.2.111   rac1-vip.localdomain    rac1-vip&lt;br /&gt;192.168.2.112   rac2-vip.localdomain    rac2-vip&lt;br /&gt;#NAS&lt;br /&gt;192.168.2.101   nas1.localdomain        nas1&lt;/pre&gt;&lt;/blockquote&gt; Notice that the NAS1 entry is actually pointing to the RAC1 node. If you are using a real NAS or a third server to provide your shared storage put the correct IP address into the file.&lt;br /&gt;&lt;br /&gt;Add the following lines to the /etc/sysctl.conf file.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;kernel.shmall = 2097152&lt;br /&gt;kernel.shmmax = 2147483648&lt;br /&gt;kernel.shmmni = 4096&lt;br /&gt;# semaphores: semmsl, semmns, semopm, semmni&lt;br /&gt;kernel.sem = 250 32000 100 128&lt;br /&gt;#fs.file-max = 65536&lt;br /&gt;net.ipv4.ip_local_port_range = 1024 65000&lt;br /&gt;#net.core.rmem_default=262144&lt;br /&gt;#net.core.rmem_max=262144&lt;br /&gt;#net.core.wmem_default=262144&lt;br /&gt;#net.core.wmem_max=262144&lt;br /&gt;&lt;br /&gt;# Additional and amended parameters suggested by Kevin Closson&lt;br /&gt;net.core.rmem_default = 524288&lt;br /&gt;net.core.wmem_default = 524288&lt;br /&gt;net.core.rmem_max = 16777216&lt;br /&gt;net.core.wmem_max = 16777216&lt;br /&gt;net.ipv4.ipfrag_high_thresh=524288&lt;br /&gt;net.ipv4.ipfrag_low_thresh=393216&lt;br /&gt;net.ipv4.tcp_rmem=4096 524288 16777216&lt;br /&gt;net.ipv4.tcp_wmem=4096 524288 16777216&lt;br /&gt;net.ipv4.tcp_timestamps=0&lt;br /&gt;net.ipv4.tcp_sack=0&lt;br /&gt;net.ipv4.tcp_window_scaling=1&lt;br /&gt;net.core.optmem_max=524287&lt;br /&gt;net.core.netdev_max_backlog=2500&lt;br /&gt;sunrpc.tcp_slot_table_entries=128&lt;br /&gt;sunrpc.udp_slot_table_entries=128&lt;br /&gt;net.ipv4.tcp_mem=16384 16384 16384&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;  Run the following command to change the current kernel parameters.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;/sbin/sysctl -p&lt;/pre&gt;&lt;/blockquote&gt;   Add the following lines to the /etc/security/limits.conf file.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;*               soft    nproc   2047&lt;br /&gt;*               hard    nproc   16384&lt;br /&gt;*               soft    nofile  1024&lt;br /&gt;*               hard    nofile  65536&lt;/pre&gt;&lt;/blockquote&gt;  Add the following line to the /etc/pam.d/login file, if it does not already exist.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;session    required     /lib/security/pam_limits.so&lt;/pre&gt;&lt;/blockquote&gt;   Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;SELINUX=disabled&lt;/pre&gt;&lt;/blockquote&gt; Alternatively, this alteration can be done using the GUI tool (Applications &gt; System Settings &gt; Security Level). Click on the SELinux tab and disable the feature.&lt;br /&gt;&lt;br /&gt;Set the hangcheck kernel module parameters by adding the following line to the /etc/modprobe.conf file.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;options hangcheck-timer hangcheck_tick=30 hangcheck_margin=180&lt;/pre&gt;&lt;/blockquote&gt;  To load the module immediately, execute "modprobe -v hangcheck-timer".&lt;br /&gt;&lt;br /&gt;Create the new groups and users.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;groupadd oinstall&lt;br /&gt;groupadd dba&lt;br /&gt;groupadd oper&lt;br /&gt;&lt;br /&gt;useradd -g oinstall -G dba oracle&lt;br /&gt;passwd oracle&lt;/pre&gt;&lt;/blockquote&gt;  During the installation, both RSH and RSH-Server were installed. Enable remote shell and rlogin by doing the following.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;chkconfig rsh on&lt;br /&gt;chkconfig rlogin on&lt;br /&gt;service xinetd reload&lt;/pre&gt;&lt;/blockquote&gt;  Create the /etc/hosts.equiv file as the root user.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;touch /etc/hosts.equiv&lt;br /&gt;chmod 600 /etc/hosts.equiv&lt;br /&gt;chown root:root /etc/hosts.equiv&lt;/pre&gt;&lt;/blockquote&gt;  Edit the /etc/hosts.equiv file to include all the RAC nodes:  &lt;blockquote&gt;&lt;pre&gt;+rac1 oracle&lt;br /&gt;+rac2 oracle&lt;br /&gt;+rac1-priv oracle&lt;br /&gt;+rac2-priv oracle&lt;/pre&gt;&lt;/blockquote&gt;  Login as the oracle user and add the following lines at the end of the .bash_profile file.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;# Oracle Settings&lt;br /&gt;TMP=/tmp; export TMP&lt;br /&gt;TMPDIR=$TMP; export TMPDIR&lt;br /&gt;&lt;br /&gt;ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE&lt;br /&gt;ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME&lt;br /&gt;ORACLE_SID=RAC1; export ORACLE_SID&lt;br /&gt;ORACLE_TERM=xterm; export ORACLE_TERM&lt;br /&gt;PATH=/usr/sbin:$PATH; export PATH&lt;br /&gt;PATH=$ORACLE_HOME/bin:$PATH; export PATH&lt;br /&gt;&lt;br /&gt;LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH&lt;br /&gt;CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH&lt;br /&gt;&lt;br /&gt;if [ $USER = "oracle" ]; then&lt;br /&gt;if [ $SHELL = "/bin/ksh" ]; then&lt;br /&gt; ulimit -p 16384&lt;br /&gt; ulimit -n 65536&lt;br /&gt;else&lt;br /&gt; ulimit -u 16384 -n 65536&lt;br /&gt;fi&lt;br /&gt;fi&lt;/pre&gt;&lt;/blockquote&gt;  Remember to set the ORACLE_SID to RAC2 on the second node.&lt;br /&gt;&lt;h2&gt;Create Shared Disks&lt;/h2&gt; First we need to set up some NFS shares. In this case we will do this on the RAC1 node, but you can do the on a NAS or a third server if you have one available. On the RAC1 node create the following directories.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;mkdir /share1&lt;br /&gt;mkdir /share2&lt;/pre&gt;&lt;/blockquote&gt;  Add the following lines to the /etc/exports file.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;/share1                  *(rw,sync,no_wdelay,insecure_locks,no_root_squash)&lt;br /&gt;/share2                  *(rw,sync,no_wdelay,insecure_locks,no_root_squash)&lt;/pre&gt;&lt;/blockquote&gt;  Run the following command to export the NFS shares.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;chkconfig nfs on&lt;br /&gt;service nfs restart&lt;/pre&gt;&lt;/blockquote&gt;  On both RAC1 and RAC2 create some mount points to mount the NFS shares to.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;mkdir /u01&lt;br /&gt;mkdir /u02&lt;/pre&gt;&lt;/blockquote&gt;  Add the following lines to the "/etc/fstab" file. The mount options are suggestions from Kevin Closson.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;nas1:/share1  /u01  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0&lt;br /&gt;nas1:/share2  /u02  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0&lt;/pre&gt;&lt;/blockquote&gt;  Mount the NFS shares on both servers.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;mount /u01&lt;br /&gt;mount /u02&lt;/pre&gt;&lt;/blockquote&gt;  Create the shared CRS Configuration and Voting Disk files.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;touch /u01/crs_configuration&lt;br /&gt;touch /u01/voting_disk&lt;/pre&gt;&lt;/blockquote&gt;  Create the directories in which the Oracle software will be installed.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;mkdir -p /u01/crs/oracle/product/10.2.0/crs&lt;br /&gt;mkdir -p /u01/app/oracle/product/10.2.0/db_1&lt;br /&gt;mkdir -p /u01/oradata&lt;br /&gt;chown -R oracle:oinstall /u01 /u02&lt;/pre&gt;&lt;/blockquote&gt;   &lt;h2&gt;Install the Clusterware Software&lt;/h2&gt;  Place the clusterware and database software in the /u02 directory and unzip it.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;cd /u02&lt;br /&gt;unzip 10201_clusterware_linux32.zip&lt;br /&gt;unzip 10201_database_linux32.zip&lt;/pre&gt;&lt;/blockquote&gt;  Login to RAC1 as the oracle user and start the Oracle installer.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;cd /u02/clusterware&lt;br /&gt;./runInstaller&lt;/pre&gt;&lt;/blockquote&gt;  On the "Welcome" screen, click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/01-ClusterwareWelcome.jpg" alt="Clusterware Welcome" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the default inventory location by clicking the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/02-ClusterwareInventory.jpg" alt="Clusterware Inventory" /&gt;&lt;br /&gt;&lt;br /&gt;Enter the appropriate name and path for the Oracle Home and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/03-ClusterwareOracleHome.jpg" alt="Clusterware Oracle Home" /&gt;&lt;br /&gt;&lt;br /&gt;Wait while the prerequisite checks are done. If you have any failures correct them and retry the tests before clicking the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/04-ClusterwarePrerequisites.jpg" alt="Clusterware Prerequisites" /&gt;&lt;br /&gt;&lt;br /&gt;The "Specify Cluster Configuration" screen shows only the RAC1 node in the cluster. Click the "Add" button to continue.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/05-ClusterwareClusterConfig.jpg" alt="Clusterware Cluster Config" /&gt;&lt;br /&gt;&lt;br /&gt;Enter the details for the RAC2 node and click the "OK" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/06-ClusterwareClusterConfigAdd.jpg" alt="Clusterware Cluster Config Add" /&gt;&lt;br /&gt;&lt;br /&gt;Click the "Next" button to continue.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/07-ClusterwareClusterConfig.jpg" alt="Clusterware Cluster Config" /&gt;&lt;br /&gt;&lt;br /&gt;The "Specific Network Interface Usage" screen defines how each network interface will be used. Highlight the "eth0" interface and click the "Edit" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/08-ClusterwareNetworkInterfaceUsage.jpg" alt="Clusterware Network Interface Usage" /&gt;&lt;br /&gt;&lt;br /&gt;Set the "eht0" interface type to "Public" and click the "OK" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/09-ClusterwareNetworkInterfaceEth0Type.jpg" alt="Clusterware Network Interface Eth0 Type" /&gt;&lt;br /&gt;&lt;br /&gt;Leave the "eth1" interface as private and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/10-ClusterwareNetworkInterfaceUsage.jpg" alt="Clusterware Network Interface Usage" /&gt;&lt;br /&gt;&lt;br /&gt;Click the "External Redundancy" option, enter "/u01/ocr_configuration" as the OCR Location and click the "Next" button. To have greater redundancy we would need to define another shared disk for an alternate location.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/11-ClusterwareOCRLocation.jpg" alt="Clusterware OCR Location" /&gt;&lt;br /&gt;&lt;br /&gt;Click the "External Redundancy" option, enter "/u01/voting_disk" as the Voting Disk Location and click the "Next" button. To have greater redundancy we would need to define another shared disk for an alternate location.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/12-ClusterwareVotingDiskLocation.jpg" alt="Clusterware Voting Disk Location" /&gt;&lt;br /&gt;&lt;br /&gt;On the "Summary" screen, click the "Install" button to continue.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/13-ClusterwareSummary.jpg" alt="Clusterware Summary" /&gt;&lt;br /&gt;&lt;br /&gt;Wait while the installation takes place.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/14-ClusterwareInstall.jpg" alt="Clusterware Install" /&gt;&lt;br /&gt;&lt;br /&gt;Once the install is complete, run the orainstRoot.sh and root.sh scripts on both nodes as directed on the following screen.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/15-ClusterwarePostInstallScripts.jpg" alt="Clusterware Post Install Scripts" /&gt;&lt;br /&gt;&lt;br /&gt;The output from the orainstRoot.sh file should look something like that listed below.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;# cd /u01/app/oracle/oraInventory&lt;br /&gt;# ./orainstRoot.sh&lt;br /&gt;Changing permissions of /u01/app/oracle/oraInventory to 770.&lt;br /&gt;Changing groupname of /u01/app/oracle/oraInventory to oinstall.&lt;br /&gt;The execution of the script is complete&lt;br /&gt;#&lt;/pre&gt;&lt;/blockquote&gt; The output of the root.sh will vary a little depending on the node it is run on. The following text is the output from the RAC1 node.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;# cd /u01/crs/oracle/product/10.2.0/crs&lt;br /&gt;# ./root.sh&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs' is not owned by root&lt;br /&gt;WARNING: directory '/u01' is not owned by root&lt;br /&gt;Checking to see if Oracle CRS stack is already configured&lt;br /&gt;/etc/oracle does not exist. Creating it now.&lt;br /&gt;&lt;br /&gt;Setting the permissions on OCR backup directory&lt;br /&gt;Setting up NS directories&lt;br /&gt;Oracle Cluster Registry configuration upgraded successfully&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs' is not owned by root&lt;br /&gt;WARNING: directory '/u01' is not owned by root&lt;br /&gt;assigning default hostname rac1 for node 1.&lt;br /&gt;assigning default hostname rac2 for node 2.&lt;br /&gt;Successfully accumulated necessary OCR keys.&lt;br /&gt;Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.&lt;br /&gt;node &lt;nodenumber&gt;: &lt;nodename&gt; &lt;private&gt; &lt;hostname&gt;&lt;br /&gt;node 1: rac1 rac1-priv rac1&lt;br /&gt;node 2: rac2 rac2-priv rac2&lt;br /&gt;Creating OCR keys for user 'root', privgrp 'root'..&lt;br /&gt;Operation successful.&lt;br /&gt;Now formatting voting device: /u01/voting_disk&lt;br /&gt;Format of 1 voting devices complete.&lt;br /&gt;Startup will be queued to init within 90 seconds.&lt;br /&gt;Adding daemons to inittab&lt;br /&gt;Expecting the CRS daemons to be up within 600 seconds.&lt;br /&gt;CSS is active on these nodes.&lt;br /&gt;     rac1&lt;br /&gt;CSS is inactive on these nodes.&lt;br /&gt;     rac2&lt;br /&gt;Local node checking complete.&lt;br /&gt;Run root.sh on remaining nodes to start CRS daemons.&lt;br /&gt;#&lt;/hostname&gt;&lt;/private&gt;&lt;/nodename&gt;&lt;/nodenumber&gt;&lt;/pre&gt;&lt;/blockquote&gt; Ignore the directory ownership warnings. We should really use a separate directory structure for the clusterware so it can be owned by the root user, but it has little effect on the finished results.&lt;br /&gt;&lt;br /&gt;The output from the RAC2 node is listed below.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;# /u01/crs/oracle/product/10.2.0/crs&lt;br /&gt;# ./root.sh&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs' is not owned by root&lt;br /&gt;WARNING: directory '/u01' is not owned by root&lt;br /&gt;Checking to see if Oracle CRS stack is already configured&lt;br /&gt;/etc/oracle does not exist. Creating it now.&lt;br /&gt;&lt;br /&gt;Setting the permissions on OCR backup directory&lt;br /&gt;Setting up NS directories&lt;br /&gt;Oracle Cluster Registry configuration upgraded successfully&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle/product' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs/oracle' is not owned by root&lt;br /&gt;WARNING: directory '/u01/crs' is not owned by root&lt;br /&gt;WARNING: directory '/u01' is not owned by root&lt;br /&gt;clscfg: EXISTING configuration version 3 detected.&lt;br /&gt;clscfg: version 3 is 10G Release 2.&lt;br /&gt;assigning default hostname rac1 for node 1.&lt;br /&gt;assigning default hostname rac2 for node 2.&lt;br /&gt;Successfully accumulated necessary OCR keys.&lt;br /&gt;Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.&lt;br /&gt;node &lt;nodenumber&gt;: &lt;nodename&gt; &lt;private&gt; &lt;hostname&gt;&lt;br /&gt;node 1: rac1 rac1-priv rac1&lt;br /&gt;node 2: rac2 rac2-priv rac2&lt;br /&gt;clscfg: Arguments check out successfully.&lt;br /&gt;&lt;br /&gt;NO KEYS WERE WRITTEN. Supply -force parameter to override.&lt;br /&gt;-force is destructive and will destroy any previous cluster&lt;br /&gt;configuration.&lt;br /&gt;Oracle Cluster Registry for cluster has already been initialized&lt;br /&gt;Startup will be queued to init within 90 seconds.&lt;br /&gt;Adding daemons to inittab&lt;br /&gt;Expecting the CRS daemons to be up within 600 seconds.&lt;br /&gt;CSS is active on these nodes.&lt;br /&gt;     rac1&lt;br /&gt;     rac2&lt;br /&gt;CSS is active on all nodes.&lt;br /&gt;Waiting for the Oracle CRSD and EVMD to start&lt;br /&gt;Waiting for the Oracle CRSD and EVMD to start&lt;br /&gt;Waiting for the Oracle CRSD and EVMD to start&lt;br /&gt;Waiting for the Oracle CRSD and EVMD to start&lt;br /&gt;Waiting for the Oracle CRSD and EVMD to start&lt;br /&gt;Waiting for the Oracle CRSD and EVMD to start&lt;br /&gt;Waiting for the Oracle CRSD and EVMD to start&lt;br /&gt;Oracle CRS stack installed and running under init(1M)&lt;br /&gt;Running vipca(silent) for configuring nodeapps&lt;br /&gt;The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.&lt;br /&gt;#&lt;/hostname&gt;&lt;/private&gt;&lt;/nodename&gt;&lt;/nodenumber&gt;&lt;/pre&gt;&lt;/blockquote&gt; Here you can see that some of the configuration steps are omitted as they were done by the first node. In addition, the final part of the script ran the Virtual IP Configuration Assistant (VIPCA) in silent mode, but it failed. This is because my public IP addresses are actually within the "192.168.255.255" range which is a private IP range. If you were using "legal" IP addresses you would not see this and you could ignore the following VIPCA steps.&lt;br /&gt;&lt;br /&gt;Run the VIPCA manually as the root user on the RAC2 node using the following command.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;# cd /u01/crs/oracle/product/10.2.0/crs/bin&lt;br /&gt;# ./vipca&lt;/pre&gt;&lt;/blockquote&gt;  Click the "Next" button on the VIPCA welcome screen.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/16-ClusterwareVipcaWelcome.jpg" alt="Clusterware VIPCA Welcome" /&gt;&lt;br /&gt;&lt;br /&gt;Highlight the "eth0" interface and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/17-ClusterwareVipcaInterfaces.jpg" alt="Clusterware VIPCA Interfaces" /&gt;&lt;br /&gt;&lt;br /&gt;Enter the vitual IP alias and address for each node. Once you enter the first alias, the remaining values should default automatically. Click the "Next" button to continue.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/18-ClusterwareVipcaVip.jpg" alt="Clusterware VIPCA Virtual IPs" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the summary information by clicking the "Finish" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/19-ClusterwareVipcaSummary.jpg" alt="Clusterware VIPCA Summary" /&gt;&lt;br /&gt;&lt;br /&gt;Wait until the configuration is complete, then click the "OK" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/20-ClusterwareVipcaComplete.jpg" alt="Clusterware VIPCA Complete" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the VIPCA results by clicking the "Exit" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/21-ClusterwareVipcaResults.jpg" alt="Clusterware VIPCA Results" /&gt;&lt;br /&gt;&lt;br /&gt;You should now return to the "Execute Configuration Scripts" screen on RAC1 and click the "OK" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/15-ClusterwarePostInstallScripts.jpg" alt="Clusterware Post Install Scripts" /&gt;&lt;br /&gt;&lt;br /&gt;Wait for the configuration assistants to complete.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/22-ClusterwareConfigAssistants.jpg" alt="Clusterware Config Assistants" /&gt;&lt;br /&gt;&lt;br /&gt;When the installation is complete, click the "Exit" button to leave the installer.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/23-ClusterwareComplete.jpg" alt="Clusterware Complete" /&gt;&lt;br /&gt;&lt;br /&gt;The clusterware installation is now complete.&lt;br /&gt;&lt;h2&gt;Install the Database Software&lt;/h2&gt;  Login to RAC1 as the oracle user and start the Oracle installer.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;cd /u02/database&lt;br /&gt;./runInstaller&lt;/pre&gt;&lt;/blockquote&gt;  On the "Welcome" screen, click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/24-DatabaseWelcome.jpg" alt="Database Welcome" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Enterprise Edition" option and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/25-DatabaseInstallationType.jpg" alt="Database Installation Type" /&gt;&lt;br /&gt;&lt;br /&gt;Enter the name and path for the Oracle Home and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/26-DatabaseSpecifyHome.jpg" alt="Database Specify Home" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Cluster Install" option and make sure both RAC nodes are selected, the click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/27-DatabaseClusterInstallation.jpg" alt="Database Cluster Installation" /&gt;&lt;br /&gt;&lt;br /&gt;Wait while the prerequisite checks are done. If you have any failures correct them and retry the tests before clicking the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/28-DatabasePrerequisites.jpg" alt="Database Prerequisites" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Install database Software only" option, then click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/29-DatabaseConfigurationOption.jpg" alt="Database Configuration Option" /&gt;&lt;br /&gt;&lt;br /&gt;On the "Summary" screen, click the "Install" button to continue.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/30-DatabaseSummary.jpg" alt="Database Summary" /&gt;&lt;br /&gt;&lt;br /&gt;Wait while the database software installs.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/31-DatabaseInstall.jpg" alt="Database Install" /&gt;&lt;br /&gt;&lt;br /&gt;Once the installation is complete, wait while the configuration assistants run.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/32-DatabaseConfigurationAssistants.jpg" alt="Database Configuration Asistants" /&gt;&lt;br /&gt;&lt;br /&gt;Execute the "root.sh" scripts on both nodes, as instructed on the "Execute Configuration scripts" screen, then click the "OK" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/33-DatabasePostInstallScripts.jpg" alt="Database Post Install Scripts" /&gt;&lt;br /&gt;&lt;br /&gt;When the installation is complete, click the "Exit" button to leave the installer.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/34-DatabaseComplete.jpg" alt="Database Complete" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Create a Database using the DBCA&lt;/h2&gt;  Login to RAC1 as the oracle user and start the Database Configuration Assistant.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;dbca&lt;/pre&gt;&lt;/blockquote&gt;  On the "Welcome" screen, select the "Oracle Real Application Clusters database" option and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/35-DbcaWelcome.jpg" alt="DBCA Welcome" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Create a Database" option and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/36-DbcaCreateDatabase.jpg" alt="DBCA Create Database" /&gt;&lt;br /&gt;&lt;br /&gt;Highlight both RAC nodes and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/37-DbcaNodeSelection.jpg" alt="DBCA Node Selection" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Custom Database" option and click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/38-DbcaCustomDatabase.jpg" alt="DBCA CustomDatabase" /&gt;&lt;br /&gt;&lt;br /&gt;Enter the values "RAC.WORLD" and "RAC" for the Global Database Name and SID Prefix respectively, then click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/39-DbcaDatabaseID.jpg" alt="DBCA Database ID" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the management options by clicking the "Next" button. If you are attempting the installation on a server with limited memory, you may prefer not to configure Enterprise Manager at this time.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/40-DbcaManagementOptions.jpg" alt="DBCA Management Options" /&gt;&lt;br /&gt;&lt;br /&gt;Enter database passwords then click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/41-DbcaDatabaseCredentials.jpg" alt="DBCA Database Credentials" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Cluster File System" option, then click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/42-DbcaCFS.jpg" alt="DBCA CFS" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Use Oracle-Managed Files" option and enter "/u01/oradata/" as the database location, then click the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/43-DbcaDatabaseLocation.jpg" alt="DBCA Database Location" /&gt;&lt;br /&gt;&lt;br /&gt;Check the "Specify Flash Recovery Area" option and accept the default location by clicking the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/44-DbcaRecoveryConfig.jpg" alt="DBCA Recovery Config" /&gt;&lt;br /&gt;&lt;br /&gt;Uncheck all but the "Enterprise Manager Repository" option, then click the "Standard Database Components..." button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/45-DbcaDatabaseContent.jpg" alt="DBCA Database Content" /&gt;&lt;br /&gt;&lt;br /&gt;Uncheck all but the "Oracle JVM" option, then click the "OK" button, followed by the "Next" button on the previous screen. If you are attempting the installation on a server with limited memory, you may prefer not to install the JVM at this time.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/46-DbcaStandardDBComponents.jpg" alt="DBCA Standard DB Components" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the current database services configuration by clicking the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/47-DbcaServices.jpg" alt="DBCA Services" /&gt;&lt;br /&gt;&lt;br /&gt;Select the "Custom" memory management option and accept the default settings by clicking the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/48-DbcaParameters.jpg" alt="DBCA Parameters" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the database storage settings by clicking the "Next" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/49-DbcaStorage.jpg" alt="DBCA Storage" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the database creation options by clicking the "Finish" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/50-DbcaCreationOptions.jpg" alt="DBCA Creation Options" /&gt;&lt;br /&gt;&lt;br /&gt;Accept the summary information by clicking the "OK" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/51-DbcaSummary.jpg" alt="DBCA Summary" /&gt;&lt;br /&gt;&lt;br /&gt;Wait while the database is created.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/52-DbcaCreation.jpg" alt="DBCA Creation" /&gt;&lt;br /&gt;&lt;br /&gt;Once the database creation is complete you are presented with the following screen. Make a note of the information on the screen and click the "Exit" button.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/53-DbcaComplete.jpg" alt="DBCA Complete" /&gt;&lt;br /&gt;&lt;br /&gt;The RAC database creation is now complete.&lt;br /&gt;&lt;h2&gt;TNS Configuration&lt;/h2&gt; Once the installation is complete, the "$ORACLE_HOME/network/admin/listener.ora" file in the shared $ORACLE_HOME will contain the following entries.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;LISTENER_RAC2 =&lt;br /&gt;(DESCRIPTION_LIST =&lt;br /&gt; (DESCRIPTION =&lt;br /&gt;   (ADDRESS_LIST =&lt;br /&gt;     (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.lynx.co.uk)(PORT = 1521)(IP = FIRST))&lt;br /&gt;   )&lt;br /&gt;   (ADDRESS_LIST =&lt;br /&gt;     (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.102)(PORT = 1521)(IP = FIRST))&lt;br /&gt;   )&lt;br /&gt;   (ADDRESS_LIST =&lt;br /&gt;     (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))&lt;br /&gt;   )&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;LISTENER_RAC1 =&lt;br /&gt;(DESCRIPTION_LIST =&lt;br /&gt; (DESCRIPTION =&lt;br /&gt;   (ADDRESS_LIST =&lt;br /&gt;     (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.lynx.co.uk)(PORT = 1521)(IP = FIRST))&lt;br /&gt;   )&lt;br /&gt;   (ADDRESS_LIST =&lt;br /&gt;     (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.101)(PORT = 1521)(IP = FIRST))&lt;br /&gt;   )&lt;br /&gt;   (ADDRESS_LIST =&lt;br /&gt;     (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))&lt;br /&gt;   )&lt;br /&gt; )&lt;br /&gt;)&lt;/pre&gt;&lt;/blockquote&gt;  The shared "$ORACLE_HOME/network/admin/tnsnames.ora" file will contain the following entries.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;RAC =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.lynx.co.uk)(PORT = 1521))&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.lynx.co.uk)(PORT = 1521))&lt;br /&gt; (LOAD_BALANCE = yes)&lt;br /&gt; (CONNECT_DATA =&lt;br /&gt;   (SERVER = DEDICATED)&lt;br /&gt;   (SERVICE_NAME = RAC.WORLD)&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;LISTENERS_RAC =&lt;br /&gt;(ADDRESS_LIST =&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.lynx.co.uk)(PORT = 1521))&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.lynx.co.uk)(PORT = 1521))&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;RAC2 =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.lynx.co.uk)(PORT = 1521))&lt;br /&gt; (CONNECT_DATA =&lt;br /&gt;   (SERVER = DEDICATED)&lt;br /&gt;   (SERVICE_NAME = RAC.WORLD)&lt;br /&gt;   (INSTANCE_NAME = RAC2)&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;RAC1 =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.lynx.co.uk)(PORT = 1521))&lt;br /&gt; (CONNECT_DATA =&lt;br /&gt;   (SERVER = DEDICATED)&lt;br /&gt;   (SERVICE_NAME = RAC.WORLD)&lt;br /&gt;   (INSTANCE_NAME = RAC1)&lt;br /&gt; )&lt;br /&gt;)&lt;/pre&gt;&lt;/blockquote&gt;  This configuration allows direct connections to specific instance, or using a load balanced connection to the main service.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;$ sqlplus / as sysdba&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 18 12:27:11 2006&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Connected to:&lt;br /&gt;Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production&lt;br /&gt;With the Partitioning, Real Application Clusters, OLAP and Data Mining options&lt;br /&gt;&lt;br /&gt;SQL&gt; CONN sys/password@rac1 AS SYSDBA&lt;br /&gt;Connected.&lt;br /&gt;SQL&gt; SELECT instance_name, host_name FROM v$instance;&lt;br /&gt;&lt;br /&gt;INSTANCE_NAME    HOST_NAME&lt;br /&gt;---------------- ----------------------------------------------------------------&lt;br /&gt;RAC1             rac1.localdomain&lt;br /&gt;&lt;br /&gt;SQL&gt; CONN sys/password@rac2 AS SYSDBA&lt;br /&gt;Connected.&lt;br /&gt;SQL&gt; SELECT instance_name, host_name FROM v$instance;&lt;br /&gt;&lt;br /&gt;INSTANCE_NAME    HOST_NAME&lt;br /&gt;---------------- ----------------------------------------------------------------&lt;br /&gt;RAC2             rac2.localdomain&lt;br /&gt;&lt;br /&gt;SQL&gt; CONN sys/password@rac AS SYSDBA&lt;br /&gt;Connected.&lt;br /&gt;SQL&gt; SELECT instance_name, host_name FROM v$instance;&lt;br /&gt;&lt;br /&gt;INSTANCE_NAME    HOST_NAME&lt;br /&gt;---------------- ----------------------------------------------------------------&lt;br /&gt;RAC1             rac1.localdomain&lt;br /&gt;&lt;br /&gt;SQL&gt;&lt;/pre&gt;&lt;/blockquote&gt;   &lt;h2&gt;Check the Status of the RAC&lt;/h2&gt;  There are several ways to check the status of the RAC. The &lt;code&gt;srvctl&lt;/code&gt; utility shows the current configuration and status of the RAC database.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;$ srvctl config database -d RAC&lt;br /&gt;rac1 RAC1 /u01/app/oracle/product/10.2.0/db_1&lt;br /&gt;rac2 RAC2 /u01/app/oracle/product/10.2.0/db_1&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;$ srvctl status database -d RAC&lt;br /&gt;Instance RAC1 is running on node rac1&lt;br /&gt;Instance RAC2 is running on node rac2&lt;br /&gt;$&lt;/pre&gt;&lt;/blockquote&gt;  The &lt;code&gt;V$ACTIVE_INSTANCES&lt;/code&gt; view can also display the current status of the instances.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;$ sqlplus / as sysdba&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 18 12:15:15 2006&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Connected to:&lt;br /&gt;Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production&lt;br /&gt;With the Partitioning, Real Application Clusters, OLAP and Data Mining options&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT * FROM v$active_instances;&lt;br /&gt;&lt;br /&gt;INST_NUMBER INST_NAME&lt;br /&gt;----------- ------------------------------------------------------------&lt;br /&gt;       1 rac1.localdomain:RAC1&lt;br /&gt;       2 rac2.localdomain:RAC2&lt;br /&gt;&lt;br /&gt;SQL&gt;&lt;/pre&gt;&lt;/blockquote&gt;  Finally, the &lt;code&gt;GV$&lt;/code&gt; allow you to display global information for the whole RAC.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;SQL&gt; SELECT inst_id, username, sid, serial# FROM gv$session WHERE username IS NOT NULL;&lt;br /&gt;&lt;br /&gt;INST_ID USERNAME                              SID    SERIAL#&lt;br /&gt;---------- ------------------------------ ---------- ----------&lt;br /&gt;      1 SYS                                   127          2&lt;br /&gt;      1 SYS                                   128         28&lt;br /&gt;      1 SYS                                   130         10&lt;br /&gt;      1 SYS                                   131          4&lt;br /&gt;      1 SYS                                   133          9&lt;br /&gt;      1 DBSNMP                                134         27&lt;br /&gt;      1 DBSNMP                                135          1&lt;br /&gt;      1 SYS                                   153        122&lt;br /&gt;      2 SYSMAN                                120        243&lt;br /&gt;      2 DBSNMP                                122         37&lt;br /&gt;      2 DBSNMP                                124         93&lt;br /&gt;&lt;br /&gt;INST_ID USERNAME                              SID    SERIAL#&lt;br /&gt;---------- ------------------------------ ---------- ----------&lt;br /&gt;      2 SYSMAN                                125          2&lt;br /&gt;      2 SYSMAN                                127          6&lt;br /&gt;      2 SYS                                   128         26&lt;br /&gt;      2 SYS                                   129         30&lt;br /&gt;      2 SYS                                   130          3&lt;br /&gt;      2 SYS                                   133        149&lt;br /&gt;      2 SYSMAN                                134         58&lt;br /&gt;      2 SYS                                   136         32&lt;br /&gt;&lt;br /&gt;19 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&gt;&lt;/pre&gt;&lt;/blockquote&gt;  If you have configured Enterprise Manager, it can be used to view the configuration and current status of the database.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.oracle-base.com/articles/10g/images/10gRACNFS/54-OEM.jpg" alt="Oracle Enterprise Manager" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Direct and Asynchronous I/O&lt;/h2&gt; Remember to use direct I/O and asynchronous I/O to improve performance. Direct I/O has been supported over NFS for some time, but support for asynchronous I/O over NFS was only introduced in RHEL 4 Update 3 (and its clones), so you need to use an up to date version of your Linux distribution to take advantage of this feature.&lt;br /&gt;&lt;br /&gt;You can get details about this &lt;a href="http://www.oracle-base.com/articles/misc/DirectAndAsynchronousIO.php"&gt;Direct and Asynchronous I/O&lt;/a&gt; by following the link.&lt;br /&gt;&lt;br /&gt;For more information see:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php"&gt;Oracle 10g RAC On Linux Using VMware Server&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnWindows2003UsingVMware.php"&gt;Oracle Database 10g Release 2 (10.2.0.1) RAC Installation On Windows 2003 Using VMware Server&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle.com/technology/pub/articles/hunter_rac10gr2.html"&gt;Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and FireWire&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b14203/toc.htm"&gt;Installation Guide for Linux x86 (10.2)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15660/toc.htm"&gt;Oracle Clusterware and Oracle Real Application Clusters Installation Guide for Linux (10.2)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle-base.com/articles/misc/DirectAndAsynchronousIO.php"&gt;Direct and Asynchronous I/O&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-571777997368662816?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/571777997368662816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=571777997368662816' title='40 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/571777997368662816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/571777997368662816'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2009/07/oracle-10g-rac.html' title='Oracle 10g RAC'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>40</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-628888664883506749</id><published>2009-06-05T12:54:00.000-07:00</published><updated>2009-06-09T00:11:26.162-07:00</updated><title type='text'>Solaris iSCSI Initiator Setup</title><content type='html'>root@s01# svcs -a | grep iscsi&lt;br /&gt;disabled       19:16:32 svc:/network/iscsi_initiator:default&lt;br /&gt;disabled       19:17:41 svc:/system/iscsitgt:default&lt;br /&gt;&lt;br /&gt;root@s01# svcadm enable network/iscsi_initiator&lt;br /&gt;root@s01# svcs -a | grep iscsi&lt;br /&gt;disabled       19:17:41 svc:/system/iscsitgt:default&lt;br /&gt;online         19:29:26 svc:/network/iscsi_initiator:default&lt;br /&gt;&lt;br /&gt;root@s01# iscsiadm add discovery-address 192.168.2.2:3260&lt;br /&gt;&lt;br /&gt;root@s01# iscsiadm modify discovery -t enable&lt;br /&gt;root@s01# format&lt;br /&gt;Searching for disks...&lt;br /&gt;&lt;br /&gt;For more info see this&lt;br /&gt;&lt;a href="http://docs.sun.com/app/docs/doc/819-2723/fmvcd?a=view"&gt;&lt;br /&gt;http://docs.sun.com/app/docs/doc/819-2723/fmvcd?a=view&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://docs.sun.com/app/docs/doc/819-2723/fmvcd?a=view"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-628888664883506749?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/628888664883506749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=628888664883506749' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/628888664883506749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/628888664883506749'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2009/06/solaris-iscsi-initiator-setup.html' title='Solaris iSCSI Initiator Setup'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-1786582273499719403</id><published>2009-01-20T21:01:00.000-08:00</published><updated>2009-01-22T11:14:31.117-08:00</updated><title type='text'>SAP Installation</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qG-NxfmwPvY/SXjFhx4NUtI/AAAAAAAACn0/hI7waVBiKKQ/s1600-h/sap.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_qG-NxfmwPvY/SXjFhx4NUtI/AAAAAAAACn0/hI7waVBiKKQ/s320/sap.bmp" alt="" id="BLOGGER_PHOTO_ID_5294198546089464530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 153);"&gt;SAP installation on Linux&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;please check "sysctl -a" output, especially&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;kernel.sem = 1250 256000 100 1024&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;kernel.msgmnb = 65536&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;kernel.msgmni = 1024&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;kernel.msgmax = 65536&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;kernel.shmmni = 4096&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;kernel.shmall = 4294967296&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;kernel.shmmax = 68719476736&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;Enter above  values in &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt; /etc/sysctl.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;and run  "sysctl -p" and "sysctl -a"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;strong&gt;Increase swap  space&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;dd  if=/dev/zero of=swapfile bs=1024 count=132207&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;chmod 600  swapfile&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkswap  swapfile&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;swapon  swapfile&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;/etc/security/limits.conf ( add below  lines)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;@sapsys     hard    nofile    32800&lt;br /&gt;@sapsys    soft    nofile    32800&lt;br /&gt;@dba        hard    nofile    32800&lt;br /&gt;@dba       soft    nofile     32800&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;oracle           soft    nproc    2047&lt;br /&gt;oracle           hard    nproc   16384&lt;br /&gt;oracle           soft     nofile  1024&lt;br /&gt;oracle           hard    nofile   65536&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;export  TEMP=/tmp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;umask 022  /tmp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;chmod 777  /tmp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size:0;"&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;br /&gt;[root@broad ~]# rsh mosel -l root:   vol status | grep broad&lt;br /&gt;broad_sapdata online     raid_dp, flex      nosnap=on, nosnapdir=on,&lt;br /&gt;&lt;span class="444592707-03092008"&gt; &lt;/span&gt;broad_sapmirrorlog online     raid_dp, flex      nosnap=on, nosnapdir=on&lt;br /&gt;&lt;span class="444592707-03092008"&gt; &lt;/span&gt;broad_saplog  online     raid_dp, flex     nosnap=on, nosnapdir=on&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="038060609-15012009"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="038060609-15012009"&gt; &lt;/span&gt;[root@broad ~]# rsh mosel -l root:  vol size  broad_sapdata&lt;span class="038060609-15012009"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;vol size: Flexible volume 'broad_sapdata' has  size 130g.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:0;"&gt; &lt;/span&gt;&lt;div&gt;&lt;span style="font-size:0;"&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;[root@broad ~]# rsh mosel -l root:  vol size  broad_saplog&lt;br /&gt;vol size: Flexible volume 'broad_saplog' has size  140g.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="038060609-15012009"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="038060609-15012009"&gt; &lt;/span&gt;[root@broad ~]# rsh mosel -l root:  vol size  broad_sapmirrorlog&lt;br /&gt;vol size: Flexible volume 'broad_sapmirrorlog' has size  5g.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:0;"&gt; &lt;/span&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;DG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;strong&gt;snapdrive storage create -dg CER_oracledg  -lunsize 60g -lun   mosel:/vol/broad_saplog/oracledglun&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;[root@broad  ~]# cat fs.sh&lt;br /&gt;lvcreate -L7g -noracle_stage CER_oracledg&lt;br /&gt;lvcreate -L3g  -noracle_client CER_oracledg&lt;br /&gt;lvcreate -L10g -noracle_102_64  CER_oracledg&lt;br /&gt;lvcreate -L5g -noracle_origlogA CER_oracledg&lt;br /&gt;lvcreate -L5g  -noracle_origlogB CER_oracledg&lt;br /&gt;lvcreate -L10g -noracle_oraarch  CER_oracledg&lt;br /&gt;lvcreate -L5g -noracle_sapreorg  CER_oracledg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkfs -t ext3  /dev/CER_oracledg/oracle_stage&lt;br /&gt;mkfs -t ext3  /dev/CER_oracledg/oracle_client&lt;br /&gt;mkfs -t ext3  /dev/CER_oracledg/oracle_102_64&lt;br /&gt;mkfs -t ext3  /dev/CER_oracledg/oracle_origlogA&lt;br /&gt;mkfs -t ext3  /dev/CER_oracledg/oracle_origlogB&lt;br /&gt;mkfs -t ext3  /dev/CER_oracledg/oracle_oraarch&lt;br /&gt;mkfs -t ext3  /dev/CER_oracledg/oracle_sapreorg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkdir -p  /oracle/client&lt;br /&gt;mkdir -p /oracle/stage&lt;br /&gt;mkdir -p /oracle/CER/102_64&lt;br /&gt;mkdir  -p /oracle/CER/origlogA&lt;br /&gt;mkdir -p /oracle/CER/origlogB&lt;br /&gt;mkdir -p  /oracle/CER/oraarch&lt;br /&gt;mkdir -p /oracle/CER/sapreorg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mount -t ext3  /dev/CER_oracledg/oracle_stage /oracle/stage&lt;br /&gt;mount -t ext3  /dev/CER_oracledg/oracle_client /oracle/client&lt;br /&gt;mount -t ext3  /dev/CER_oracledg/oracle_102_64 /oracle/CER/102_64&lt;br /&gt;mount -t ext3  /dev/CER_oracledg/oracle_origlogA /oracle/CER/origlogA&lt;br /&gt;mount -t ext3  /dev/CER_oracledg/oracle_origlogB /oracle/CER/origlogB&lt;br /&gt;mount -t ext3  /dev/CER_oracledg/oracle_oraarch /oracle/CER/oraarch&lt;br /&gt;mount -t ext3  /dev/CER_oracledg/oracle_sapreorg  /oracle/CER/sapreorg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;[root@broad ~]# vi /etc/fstab&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;/dev/mapper/CER_oracledg-oracle          /oracle          ext3 (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_CER      /oracle/CER      ext3 (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_stage    /oracle/stage    ext3 (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_client   /oracle/client   ext3 (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_102_64   /oracle/CER/102_64       ext3  (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_origlogA        /oracle/CER/origlogA      ext3 (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_origlogB          /oracle/CER/origlogB    ext3  (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_oraarch          /oracle/CER/oraarch      ext3 (rw)&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_sapreorg          /oracle/CER/sapreorg    ext3 (rw)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;DG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;strong&gt;snapdrive storage create  -dg CER_sapdatadg  -lun mosel:/vol/broad_sapdata/saplun -lunsize  103g&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;[root@broad  ~]# cat sapfs.sh&lt;br /&gt;lvcreate -L25g -nsapdata1       CER_sapdatadg&lt;br /&gt;lvcreate  -L25g -nsapdata2       CER_sapdatadg&lt;br /&gt;lvcreate -L25g -nsapdata3        CER_sapdatadg&lt;br /&gt;lvcreate -L25g -nsapdata4        CER_sapdatadg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkfs -t ext3  /dev/CER_sapdatadg/sapdata1&lt;br /&gt;mkfs -t ext3 /dev/CER_sapdatadg/sapdata2&lt;br /&gt;mkfs  -t ext3 /dev/CER_sapdatadg/sapdata3&lt;br /&gt;mkfs -t ext3  /dev/CER_sapdatadg/sapdata4&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkdir -p  /oracle/CER/sapdata1&lt;br /&gt;mkdir -p /oracle/CER/sapdata2&lt;br /&gt;mkdir -p  /oracle/CER/sapdata3&lt;br /&gt;mkdir -p /oracle/CER/sapdata4&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mount -t ext3  /dev/CER_sapdatadg/sapdata1       /oracle/CER/sapdata1&lt;br /&gt;mount -t ext3  /dev/CER_sapdatadg/sapdata2       /oracle/CER/sapdata2&lt;br /&gt;mount -t ext3  /dev/CER_sapdatadg/sapdata3       /oracle/CER/sapdata3&lt;br /&gt;mount -t ext3  /dev/CER_sapdatadg/sapdata4        /oracle/CER/sapdata4&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;[root@broad  ~]# mount | grep sapdata&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata1 on  /oracle/CER/sapdata1 type ext3 (rw)&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata2 on  /oracle/CER/sapdata2 type ext3 (rw)&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata3 on  /oracle/CER/sapdata3 type ext3 (rw)&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata4 on  /oracle/CER/sapdata4 type ext3 (rw)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;DG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;strong&gt;snapdrive storage create  -dg CER_sapdg -lun  mosel:/vol/broad_saplog/sapbinarylun -lunsize  10g&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;lvcreate -L3g  -nsaptrans        CER_sapdg&lt;br /&gt;lvcreate -L3g -nsapmnt           CER_sapdg&lt;br /&gt;lvcreate -L3g -nusrsap           CER_sapdg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkfs -t ext3  /dev/CER_sapdg/saptrans&lt;br /&gt;mkfs -t ext3 /dev/CER_sapdg/sapmnt&lt;br /&gt;mkfs -t ext3  /dev/CER_sapdg/usrsap&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkdir -p  /usr/sap/trans&lt;br /&gt;mkdir -p /usr/sap/CER&lt;br /&gt;mkdir -p  /sapmnt/CER&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mount -t ext3  /dev/CER_sapdg/saptrans   /usr/sap/trans&lt;br /&gt;mount -t ext3  /dev/CER_sapdg/sapmnt     /sapmnt/CER&lt;br /&gt;mount -t ext3 /dev/CER_sapdg/usrsap      /usr/sap/CER&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;/etc/fstab&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;/dev/mapper/CER_sapdg-saptrans  /usr/sap/trans  ext3  (rw)&lt;br /&gt;/dev/mapper/CER_sapdg-usrsap  /usr/sap/CER  ext3  (rw)&lt;br /&gt;/dev/mapper/CER_sapdg-sapmnt  /sapmnt/CER  ext3  (rw)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;DG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;strong&gt;snapdrive storage create -dg CER_mirrorlog  -lunsize 3g -lun   mosel:/vol/broad_sapmirrorlog/mirrorloglun&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;lvcreate -L1g  -nmirrorlogA      CER_mirrorlog&lt;br /&gt;lvcreate -L1g -nmirrorlogB       CER_mirrorlog&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkfs -t ext3  /dev/CER_mirrorlog/mirrorlogA&lt;br /&gt;mkfs -t ext3  /dev/CER_mirrorlog/mirrorlogB&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mkdir -p  /oracle/CER/mirrlogA&lt;br /&gt;mkdir -p /oracle/CER/mirrlogB&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;mount -t ext3  /dev/CER_mirrorlog/mirrorlogA     /oracle/CER/mirrlogA&lt;br /&gt;mount -t ext3  /dev/CER_mirrorlog/mirrorlogB      /oracle/CER/mirrlogB&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;[root@broad  ~]# mount | grep mirr&lt;br /&gt;/dev/mapper/CER_mirrorlog-mirrorlogA on  /oracle/CER/mirrlogA type ext3 (rw)&lt;br /&gt;/dev/mapper/CER_mirrorlog-mirrorlogB on  /oracle/CER/mirrlogB type ext3 (rw)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;/etc/fstab&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;/dev/mapper/CER_mirrorlog-mirrorlogA   /oracle/CER/mirrlogA  ext3 (rw)&lt;br /&gt;/dev/mapper/CER_mirrorlog-mirrorlogB   /oracle/CER/mirrlogB  ext3 (rw)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;After installation&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;[root@broad  ~]# df -kh&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted  on&lt;br /&gt;/dev/sda3              66G  9.0G   53G  15% /&lt;br /&gt;/dev/sda1               99M   15M   79M  16% /boot&lt;br /&gt;none                 1004M  106M  899M  11%  /dev/shm&lt;br /&gt;rtpinf02.rtp.netapp.com:/vol/local/i386-linux2.0&lt;br /&gt;                   287G  158G  129G  56%  /usr/local&lt;br /&gt;rtpinf02.rtp.netapp.com:/vol/local/share&lt;br /&gt;                   287G  158G  129G  56%  /usr/local/share&lt;br /&gt;rtpinf01.rtp.netapp.com:/vol/software/arch/i386-redhat-linux8.0&lt;br /&gt;                   410G  192G  219G  47%  /usr/software&lt;br /&gt;/dev/mapper/CER_oracledg-oracle&lt;br /&gt;                  3.0G    38M  2.8G   2%  /oracle&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_CER&lt;br /&gt;                  3.0G    38M  2.8G   2%  /oracle/CER&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_stage&lt;br /&gt;                   6.9G  2.7G  3.9G  42%  /oracle/stage&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_client&lt;br /&gt;                   3.0G  132M  2.7G   5%  /oracle/client&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_102_64&lt;br /&gt;                   9.9G  1.7G  7.7G  18%  /oracle/CER/102_64&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_origlogA&lt;br /&gt;                   5.0G  155M  4.6G   4%  /oracle/CER/origlogA&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_origlogB&lt;br /&gt;                   5.0G  155M  4.6G   4%  /oracle/CER/origlogB&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_oraarch&lt;br /&gt;                   9.9G  821M  8.6G   9%  /oracle/CER/oraarch&lt;br /&gt;/dev/mapper/CER_oracledg-oracle_sapreorg&lt;br /&gt;                   5.0G   43M  4.7G   1%  /oracle/CER/sapreorg&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata1&lt;br /&gt;                    25G  2.7G   21G  12%  /oracle/CER/sapdata1&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata2&lt;br /&gt;                    25G  7.9G   16G  34%  /oracle/CER/sapdata2&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata3&lt;br /&gt;                    25G  7.9G   16G  34%  /oracle/CER/sapdata3&lt;br /&gt;/dev/mapper/CER_sapdatadg-sapdata4&lt;br /&gt;                    25G  5.0G   19G  22%  /oracle/CER/sapdata4&lt;br /&gt;/dev/mapper/CER_sapdg-saptrans&lt;br /&gt;                   3.0G   37M  2.8G   2%  /usr/sap/trans&lt;br /&gt;/dev/mapper/CER_sapdg-sapmnt&lt;br /&gt;                  3.0G   592M  2.3G  21%  /sapmnt/CER&lt;br /&gt;/dev/mapper/CER_sapdg-usrsap&lt;br /&gt;                  3.0G  2.5G   370M  88%  /usr/sap/CER&lt;br /&gt;/dev/mapper/CER_mirrorlog-mirrorlogA&lt;br /&gt;                  1008M  134M  824M  14%  /oracle/CER/mirrlogA&lt;br /&gt;/dev/mapper/CER_mirrorlog-mirrorlogB&lt;br /&gt;                  1008M  134M  824M  14%  /oracle/CER/mirrlogB&lt;br /&gt;10.61.162.28:/vol/software&lt;br /&gt;                   400G  246G  155G  62%  /SAP&lt;br /&gt;triggerfish:/vol/sap_inst_sources&lt;br /&gt;                   32G   26G   6.1G  82% /mnt/oracle10g_for_sap_64bit&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;[root@broad  ~]# ps -ef | grep ora&lt;br /&gt;oracer   19870     1  0 05:33 ?        00:00:09  /oracle/CER/102_64/jdk/bin/java -Djava.awt.headless=true  -Doracle.oc4j.localhome=/oracle/CER/102_64/sqlplus  -Djava.security.properties=/oracle/CER/102_64/oc4j/j2ee/home/config/jazn.security.props  -jar /oracle/CER/102_64/oc4j/j2ee/home/oc4j.jar -config  /oracle/CER/102_64/oc4j/j2ee/isqlplus/config/server.xml&lt;br /&gt;oracer   20192     1   0 05:38 ?        00:00:01 /oracle/CER/102_64/bin/tnslsnr LISTENER  -inherit&lt;br /&gt;oracer   23627     1  0 06:31 ?        00:00:00  ora_pmon_CER&lt;br /&gt;oracer   23629     1  0 06:31 ?        00:00:00  ora_psp0_CER&lt;br /&gt;oracer   23631     1  0 06:31 ?        00:00:00  ora_mman_CER&lt;br /&gt;oracer   23633     1  0 06:31 ?        00:00:04  ora_dbw0_CER&lt;br /&gt;oracer   23635     1  0 06:31 ?        00:00:27  ora_lgwr_CER&lt;br /&gt;oracer   23637     1  0 06:31 ?        00:00:00  ora_ckpt_CER&lt;br /&gt;oracer   23639     1  0 06:31 ?        00:00:01  ora_smon_CER&lt;br /&gt;oracer   23641     1  0 06:31 ?        00:00:00  ora_reco_CER&lt;br /&gt;oracer   23643     1  0 06:31 ?        00:00:00  ora_cjq0_CER&lt;br /&gt;oracer   23645     1  0 06:31 ?        00:00:00  ora_mmon_CER&lt;br /&gt;oracer   23647     1  0 06:31 ?        00:00:00  ora_mmnl_CER&lt;br /&gt;oracer   23652     1  0 06:31 ?        00:00:03  ora_arc0_CER&lt;br /&gt;oracer   23654     1  0 06:31 ?        00:00:03  ora_arc1_CER&lt;br /&gt;oracer   23658     1  0 06:31 ?        00:00:00  ora_qmnc_CER&lt;br /&gt;oracer   23809     1  0 06:31 ?        00:00:00  ora_q000_CER&lt;br /&gt;oracer   23812     1  0 06:32 ?        00:00:00  ora_q001_CER&lt;br /&gt;oracer   27973     1  0 06:47 ?        00:00:13 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27975     1  0 06:47 ?        00:00:19 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27977     1  0 06:47 ?        00:00:18 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27979     1  0 06:47 ?        00:00:16 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27981     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27983     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27985     1  0 06:47 ?        00:00:03 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27987     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27989     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27991     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27993     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27995     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;oracer   27997     1  0 06:47 ?        00:00:00 oracleCER  (LOCAL=NO)&lt;br /&gt;root      1474 32419  0 07:45 pts/2    00:00:00 grep  ora&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;[root@broad  ~]# ps -ef | grep sap&lt;br /&gt;root     26068     1  0 06:45 ?        00:00:11  /usr/sap/CER/SYS/exe/run/saposcol&lt;br /&gt;ceradm   26121     1  0 06:45 ?         00:00:00 /usr/sap/CER/SCS01/exe/sapstartsrv  pf=/usr/sap/CER/SYS/profile/START_SCS01_broad -D&lt;br /&gt;ceradm   26125     1  0  06:45 ?        00:00:00 /usr/sap/CER/SCS01/exe/sapstart  pf=/usr/sap/CER/SYS/profile/START_SCS01_broad&lt;br /&gt;ceradm   26138 26125  0 06:45  ?        00:00:00 ms.sapCER_SCS01  pf=/usr/sap/CER/SYS/profile/CER_SCS01_broad&lt;br /&gt;ceradm   26139 26125  0 06:45  ?        00:00:01 en.sapCER_SCS01  pf=/usr/sap/CER/SYS/profile/CER_SCS01_broad&lt;br /&gt;ceradm   27902     1  0 06:47  ?        00:00:00 /usr/sap/CER/DVEBMGS00/exe/sapstartsrv  pf=/usr/sap/CER/SYS/profile/START_DVEBMGS00_broad -D&lt;br /&gt;ceradm   27906     1  0  06:47 ?        00:00:00 /usr/sap/CER/DVEBMGS00/exe/sapstart  pf=/usr/sap/CER/SYS/profile/START_DVEBMGS00_broad&lt;br /&gt;ceradm   27933 27906  0  06:47 ?        00:00:00 ms.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27934 27906  0 06:47  ?        00:00:02 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27935 27906  0 06:47  ?        00:00:00 co.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad -F&lt;br /&gt;ceradm   27936 27906  0  06:47 ?        00:00:00 se.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad -F&lt;br /&gt;ceradm   27937 27906  0  06:47 ?        00:00:00 ig.sapCER_DVEBMGS00 -mode=profile  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27938 27937  0 06:47  ?        00:00:00 /usr/sap/CER/DVEBMGS00/exe/igsmux_mt -mode=profile  -restartcount=0 pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm    27939 27937  0 06:47 ?        00:00:00 /usr/sap/CER/DVEBMGS00/exe/igspw_mt  -mode=profile -no=0 -restartcount=0  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27940 27937  0 06:47  ?        00:00:00 /usr/sap/CER/DVEBMGS00/exe/igspw_mt -mode=profile -no=1  -restartcount=0 pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm    27957 27934  0 06:47 ?        00:00:01 gwrd -dp  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27958 27934  0 06:47  ?        00:00:01 icman -attach  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27959 27934  2 06:47  ?        00:01:15 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27960 27934  1 06:47  ?        00:01:02 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27961 27934  1 06:47  ?        00:00:40 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27962 27934  1 06:47  ?        00:00:44 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27963 27934  0 06:47  ?        00:00:10 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27964 27934  0 06:47  ?        00:00:02 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27965 27934  0 06:47  ?        00:00:00 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27966 27934  0 06:47  ?        00:00:00 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27967 27934  0 06:47  ?        00:00:00 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27968 27934  0 06:47  ?        00:00:00 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27969 27934  0 06:47  ?        00:00:00 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27970 27934  0 06:47  ?        00:00:00 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm   27971 27934  0 06:47  ?        00:00:00 dw.sapCER_DVEBMGS00  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad&lt;br /&gt;ceradm     972 27934  0 07:18  ?        00:00:00 jcontrol pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad  -DSAPSTART=1 -DCONNECT_PORT=39692 -DSAPSYSTEM=00 -DSAPSYSTEMNAME=CER  -DSAPMYNAME=broad_CER_00  -DSAPPROFILE=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad -DFRFC_FALLBACK=ON  -DFRFC_FALLBACK_HOST=localhost&lt;br /&gt;ceradm    1055   972  0 07:18 ?         00:00:06 /usr/sap/CER/DVEBMGS00/exe/jlaunch  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad -DSAPINFO=CER_00_sdm -nodeId=2  -file=/usr/sap/CER/DVEBMGS00/SDM/program/config/sdm_jstartup.properties  -syncSem=3702869 -nodeName=sdm  -jvmOutFile=/usr/sap/CER/DVEBMGS00/work/jvm_sdm.out  -stdOutFile=/usr/sap/CER/DVEBMGS00/work/std_sdm.out  -locOutFile=/usr/sap/CER/DVEBMGS00/work/dev_sdm -mode=JCONTROL  pf=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad -DSAPSTART=1  -DCONNECT_PORT=39693 -DSAPSYSTEM=00 -DSAPSYSTEMNAME=CER -DSAPMYNAME=broad_CER_00  -DSAPPROFILE=/usr/sap/CER/SYS/profile/CER_DVEBMGS00_broad -DFRFC_FALLBACK=ON  -DFRFC_FALLBACK_HOST=localhost&lt;br /&gt;root      1476 32419  0 07:45 pts/2     00:00:00 grep sap&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="444592707-03092008"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-1786582273499719403?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/1786582273499719403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=1786582273499719403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/1786582273499719403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/1786582273499719403'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2009/01/sap-installation.html' title='SAP Installation'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qG-NxfmwPvY/SXjFhx4NUtI/AAAAAAAACn0/hI7waVBiKKQ/s72-c/sap.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-4438419096840764601</id><published>2009-01-20T20:59:00.000-08:00</published><updated>2009-02-14T09:13:05.229-08:00</updated><title type='text'>Linux</title><content type='html'>Linux iSCSI discovery&lt;br /&gt;[root@boxhole-vm2 ~]# iscsiadm -m discovery -t st -p 10.60.231.19&lt;br /&gt;&lt;br /&gt;Linux : how to increase fs on lvm volume&lt;br /&gt;&lt;div&gt;&lt;span class="220424103-14022009"&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;Increase FS on  linux&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span class="220424103-14022009"&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt; lvextend --size  +10g /dev/CER_sapdatadg/sapdata3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span class="220424103-14022009"&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;resize2fs  /dev/mapper/CER_sapdatadg-sapdata3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-4438419096840764601?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/4438419096840764601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=4438419096840764601' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/4438419096840764601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/4438419096840764601'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2009/01/linux.html' title='Linux'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-7934025766981711039</id><published>2009-01-16T09:21:00.000-08:00</published><updated>2009-01-16T09:28:50.373-08:00</updated><title type='text'>ORACLE</title><content type='html'>&lt;h1&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="SECTION001210000000000000000"&gt;Enabling ARCHIVELOG Mode&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;pre&gt;SQL&gt; SELECT LOG_MODE FROM SYS.V$DATABASE;&lt;br /&gt;&lt;br /&gt;LOG_MODE&lt;br /&gt;------------&lt;br /&gt;NOARCHIVELOG&lt;br /&gt;&lt;br /&gt;Edit the pfile in either $ORACLE_BASE/admin/SID/pfile&lt;br /&gt;or $ORACLE_HOME/admin/SID/pfile&lt;br /&gt;&lt;br /&gt;############################&lt;br /&gt;# Archive Log Destinations -benr(10/15/04)&lt;br /&gt;############################&lt;br /&gt;log_archive_dest_1='location=/u02/oradata/cuddle/archive'&lt;br /&gt;log_archive_start=TRUE&lt;br /&gt;&lt;br /&gt;You can specify as many as 10 diffrent archive log destinations&lt;br /&gt;by using the paramters log_archive_dest_1 through log_archive_dest_10.&lt;br /&gt;Remember, if you run out of space in your archive log destination the&lt;br /&gt;database will &lt;i&gt;shut down&lt;/i&gt;!  &lt;br /&gt;&lt;br /&gt;SQL&gt; startup mount&lt;br /&gt;&lt;br /&gt;SQL&gt; alter database archivelog;&lt;br /&gt;&lt;br /&gt;SQL&gt; alter database open;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;To view the archive log location&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;SQL&gt; select name from v$archived_log;&lt;br /&gt;&lt;br /&gt;NAME&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;/u01/app/oracle/dbs/arch1_8_676141561.dbf&lt;br /&gt;&lt;br /&gt;Also , you can use.&lt;br /&gt;ALTER SYSTEM SET log_archive_dest_1='LOCATION=&lt;your&gt;';&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;h1&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="SECTION001210000000000000000"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-7934025766981711039?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/7934025766981711039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=7934025766981711039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/7934025766981711039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/7934025766981711039'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2009/01/oracle.html' title='ORACLE'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-7691980167673796639</id><published>2009-01-13T06:14:00.000-08:00</published><updated>2009-01-13T06:24:08.598-08:00</updated><title type='text'>AIX</title><content type='html'>&lt;h3 style="text-align: center;"&gt;Logical Volume Manager (LVM) Commands for AIX&lt;/h3&gt;(Increase FS size in AIX with native LVM )&lt;br /&gt;"&lt;span style="font-weight: bold;"&gt;chfs -a size= +4194304&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;&lt;mount_point&gt;"&lt;/span&gt; to grow the filesystem by 2 GB (4194304=2*1024*1024*1024/512)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://networktechnologist.com/tips-aix-lvm.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3 style="text-align: center;"&gt; Logical Volume Manager (LVM) Commands for AIX&lt;/h3&gt;&lt;br /&gt;&lt;h3&gt;Glossary&lt;/h3&gt; &lt;table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"&gt;   &lt;tbody&gt;     &lt;tr&gt;       &lt;th style="vertical-align: top; text-align: center; width: 30%;"&gt;Term&lt;br /&gt;      &lt;/th&gt;       &lt;th style="vertical-align: top; text-align: center;"&gt;Definition&lt;br /&gt;      &lt;/th&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;Journaled File System (JFS)&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;File system that uses a journaled log for faster, more reliable data recovery&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;Logical Partition (LP)&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;The LV is made up of LPs.  The LP corresponds to 1 or more (in the case of mirroring) PPs.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;Logical Volume (LV)&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;The VG is subdivided into logical volumes and each LV can have  a file system on it.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;Physical Partition (PP)&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;All physical volumes are subdivided into pps.  PPs are all the same size.&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;Physical Volume (PV)&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Disk that is being managed by LVM.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;Rootvg&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Default volume group created during installation.  The vg holds the OS filesystems ( /,/usr, /home, /proc /opt,  /tmp,  /var and swap space )&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;Volume Group (VG)&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Area of storage that consists of one or more PVs&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Command Summary&lt;/h3&gt; &lt;table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"&gt;   &lt;tbody&gt;     &lt;tr&gt;       &lt;th style="vertical-align: top; text-align: center; width: 30%;"&gt;Command&lt;br /&gt;      &lt;/th&gt;       &lt;th style="vertical-align: top; text-align: center;"&gt;Definition&lt;br /&gt;      &lt;/th&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top; width: 35%;"&gt; chfs -a size=&lt;#512 byte blocks&gt; &lt;file&gt;&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Increases the size of a journaled file system to the total number of  512 byte blocks specified&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; chfs -a size=&lt;+512 byte blocks&gt; &lt;mount&gt;&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Increases the size of a journaled file system by the addional number of 512 byte blocks specified.  For example "&lt;span style="font-weight: bold;"&gt;chfs -a size=+393216 /usr&lt;/span&gt;"&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; chlv -n &lt;newname&gt; &lt;oldname&gt;&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Change the name of a logical volume (it must be inactive)&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;crfs -v jfs -m &lt;mount&gt; -g &lt;volume&gt; -a size=&lt;# of 512 byte blocks&gt;&lt;br /&gt;     &lt;br /&gt;crfs -v jfs -m &lt;mount&gt; -d &lt;logical&gt; &lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;This command makes a logical volume, mount point with a journaled file system:&lt;br /&gt;     &lt;br /&gt;     &lt;br /&gt;creates a jfs file system on a logical volume&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;df -k&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Shows the disk usage of logical volumes on the server.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;exportvg &lt;volume&gt; &lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;removes a volume group from a machine&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; extendvg &lt;volume&gt; &lt;physical&gt;&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Adds a new physical volume to an existing volume group&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;importvg -y &lt;volume&gt; &lt;physical&gt; &lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;add a volume group to another machine&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;lslv &lt;logical&gt; [-l, m]&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Lists information about the logical volumes.  The -l option lists the disks in the logical volume.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;lspv &lt;physical&gt; [-l, M, p]&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Lists the disks on the server, including the physical volume will give details about that disk.  The -l option will list the details of how the filesystems are distributed on the disk.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;lsvg &lt;volume&gt; [-l]&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Lists the volume groups on the server, including the volume group name will give details about that vg. The -l option will list the logical volumes in the volume group.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;lsvpcfg&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Lists each vpath and the hdisks that make up the vpath&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; mklv -y &lt;new&gt; &lt;vg&gt;&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Makes a logical volume in a volume group&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;mksysb -l -f &lt;device&gt;  &lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;makes a bootable backup of rootvg&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; mkvg -y &lt;volume&gt; &lt;physical&gt;  . . . &lt;physical&gt;&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Makes a volume group out of one or more physical volumes&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; mount &lt;logical&gt; &lt;file&gt;   or&lt;br /&gt;mount &lt;filesystem&gt;  if it is already in /etc/filesystems&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Mounts the file system for use.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; reducevg &lt;volume&gt; &lt;physical&gt;&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt; Removes a physical volume from a volume group&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;rmfs &lt;file&gt;  &lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;removes a file system and it's logical volume&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; rmlv &lt;lv&gt;&lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Removes a logical volume (it must be inactive)&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt;savevg -l -f &lt;device&gt; &lt;volume&gt; &lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;makes a backup copy of another volume group&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td style="vertical-align: top;"&gt; umount &lt;file&gt;  dismount the file system&lt;br /&gt;      &lt;/td&gt;       &lt;td style="vertical-align: top;"&gt;Unmounts the filesystem.&lt;br /&gt;      &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Sample LVM Procedures:&lt;/h3&gt; &lt;h3&gt;Filesystem Procedures&lt;/h3&gt; &lt;span style="font-weight: bold;"&gt;Procedure to create a filesystem using JFS:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;See below the procedure for creating a logical volume and a filesystem using JFS:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Procedure to extend the size of filesystem using JFS:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;"&lt;span style="font-weight: bold;"&gt;df&lt;/span&gt;" to see the filesystem, it's current size, % utilization and the name of it's logical volume&lt;/li&gt;&lt;li&gt;"&lt;span style="font-weight: bold;"&gt;lslv &lt;logical_volume&gt;&lt;/span&gt;" to show information about the logical volume including it's volume group name.&lt;/li&gt;&lt;li&gt;"&lt;span style="font-weight: bold;"&gt;lsvg &lt;volume_group&gt;&lt;/span&gt;" to show information about the volume group, including number of free pp's and the pp size&lt;/li&gt;&lt;li&gt;If there are not enough free pp's then see below for procedure to add a disk to a volume group.&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;"&lt;span style="font-weight: bold;"&gt;chfs -a size= +4194304&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;&lt;mount_point&gt;"&lt;/span&gt; to grow the filesystem by 2 GB (4194304=2*1024*1024*1024/512)&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;NOTE: &lt;/span&gt; Growing the file system will automatically grow the logical volume&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;df&lt;/span&gt;" shows the file system's current size is 2 GB more than before.&lt;/li&gt;&lt;/ol&gt; &lt;span style="font-weight: bold;"&gt;Troubleshooting extending the size of a filesystem using JFS:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Error Message:  0516-787 extendlv: Maximum allocation for logical volume &lt;lv_name&gt; is 512.&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Maximum number of LPs for the logical volume has been exceeded - must increase the allocation&lt;/li&gt;&lt;li&gt;Calculate the number of LPs needed = LV Size in MB / LP size in MB&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;chlv -x &lt;new_max_lps&gt; &lt;logical_volume&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;span style="font-weight: bold;"&gt;Procedure to remove a file system&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Unmount the filesystem&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;Remove the logical volume "rmlv &lt;lv_name&gt;"&lt;/li&gt;&lt;li&gt;Remove the filesystem information from /etc/filesystems&lt;/li&gt;&lt;/ol&gt; &lt;span style="font-weight: bold;"&gt; Procedure to reduce the size of a file system - shareold is 8mb and needs to be reduced to 4mb&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create the file system&lt;/li&gt;&lt;ol&gt;&lt;li&gt;crfs -v jfs -m /usr/sharenew -g rootvg -a size=8192&lt;/li&gt;&lt;li&gt;this makes a logical volume in the root volume group of 4MB that uses jfs&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Mount the volume&lt;/li&gt;&lt;ol&gt;&lt;li&gt;mount /usr/sharenew&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Move the files from the old file system (/usr/shareold)&lt;/li&gt;&lt;ol&gt;&lt;li&gt;cd /usr/shareold&lt;/li&gt;&lt;li&gt;tar cf - | (cd /usr/sharenew; tar xvf -)&lt;/li&gt;&lt;li&gt;cd&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Unmount the file systems&lt;/li&gt;&lt;ol&gt;&lt;li&gt;umount /usr/sharenew&lt;/li&gt;&lt;li&gt;umount /usr/shareold&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Remove the old file system and it's logical volume&lt;/li&gt;&lt;ol&gt;&lt;li&gt;rmfs /usr/shareold&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;  &lt;/li&gt;&lt;ol&gt;&lt;li&gt;chfs -m /usr/shareold /usr/sharenew&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Mount the new filesystem&lt;/li&gt;&lt;ol&gt;&lt;li&gt;mount /usr/shareold&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Delete the temporary mount point&lt;/li&gt;&lt;ol&gt;&lt;li&gt;rmdir /usr/share&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h3&gt;Logical Volume Procedures&lt;br /&gt;&lt;/h3&gt; &lt;span style="font-weight: bold;"&gt;Procedure to create a logical volume and filesystem in a volume group using JFS:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;lsvg &lt;/span&gt;to determine the size of the PP&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;lslv &lt;/span&gt;in similar logical volumes to determine if mirroring is in effect&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;Calculate the number of PPs needed for the logical volume&lt;br /&gt;  &lt;/li&gt;&lt;ol&gt;&lt;li style="font-weight: bold;"&gt;bc&lt;/li&gt;&lt;li style="font-weight: bold;"&gt;scale=2&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;size&gt;/&lt;size&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;quit&lt;br /&gt;      &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;mklv -y  "&lt;lv_name&gt;" &lt;vg_name&gt; &lt;# of LPS&gt;&lt;/span&gt;  --&gt; creates the logical volume&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;crfs -v jfs -d &lt;lv_name&gt; -m /&lt;mountpoint&gt; -A yes&lt;/span&gt;   --&gt; makes the filesystem, creates the mountpoint and puts it in /etc/filesystems&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;mount /&lt;mountpoint&gt;&lt;/span&gt;  --&gt; mounts the new fileystem&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;df /&lt;mountpoint&gt;&lt;/span&gt;  --&gt; verifies the mount and the size of the new filesystem&lt;/li&gt;&lt;li&gt;Check the ownership and permissions of the new mount point&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;ls -ld&lt;/span&gt; &lt;mountpoint&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;chown &lt;/span&gt;owner:group &lt;mountpoint&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;chmod &lt;/span&gt;XXX &lt;mountpoint&gt;&lt;br /&gt;    &lt;/li&gt;&lt;/ul&gt;&lt;li&gt;If mirroring is in effect, then mirror this logical volume to another disk (original and 1 mirror):&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;mklvcopy -s y &lt;lv_name&gt; 2&lt;/span&gt;&lt;br /&gt;    &lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Check to see if  all of the logical volumes in a volume group are mirrored&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;lsvg -l &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Mirror a logical volume after the fact&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; mklvcopy -s y &lt;lv_name&gt; 2&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Volume Group Procedures&lt;br /&gt;&lt;/h3&gt; &lt;span style="font-weight: bold;"&gt;Procedure to create a volume group:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;lsdev -C -c disk &lt;/span&gt; -&gt; lists available disks (and the hdisk#) on the server&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;mkvg -y "&lt;vg_name&gt;" hdisk#&lt;/span&gt;  --&gt; creates the volume group on the named hard disk&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;varyonvg &lt;vg_name&gt;&lt;/span&gt;  --&gt; activates the volume group&lt;/li&gt;&lt;/ol&gt; &lt;span style="font-weight: bold;"&gt;Procedure to add a disk to a volume group (extend the volume group)&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;extendvg &lt;vg&gt; &lt;disk#&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Verify the disk has been successfully added to the vg&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;lsvg -p &lt;vg&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Procedure to mirror the rootvg:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;lspv&lt;/span&gt;  --&gt; determine the hdisk#&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;extendvg rootvg hdisk&lt;number&gt;&lt;/span&gt;  --&gt; add the hdisk to the volume group&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;lspv&lt;/span&gt;  --&gt;  verify that the hdisk has been successfully added to the volume group&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;chvg -Q 'n' rootvg&lt;/span&gt;  --&gt;  change the quorum so that the vg will stay active if one of the mirrors fail&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;mirrorvg -S -c 2 rootvg&lt;/span&gt;  --&gt; mirror all of the logical volumes in the volume group&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;lsvg -l rootvg&lt;/span&gt;  --&gt; verify successful mirroring (pps will appear "stale" until synchronization is complete).&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;bosboot -a &lt;/span&gt; --&gt;  update the boot image information&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;bootlist -m normal -o hdisk0 hdisk1&lt;/span&gt;  --&gt; create a new bootlist&lt;br /&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;bootlist -m normal -o &lt;/span&gt; --&gt; verify the bootlist is correct&lt;br /&gt;  &lt;/li&gt;&lt;/ol&gt; &lt;span style="font-weight: bold;"&gt;Procedure to increase the number of LP's available&lt;/span&gt;&lt;br /&gt;Assume we receive an error that the maximum number of LP's had been exceeded, and the maximum number of LP's defined was 1100:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;"&lt;span style="font-weight: bold;"&gt;lsvg &lt;volume_group&gt;&lt;/span&gt;" to show the total PP's available in the volume group =1250&lt;/li&gt;&lt;li&gt;"&lt;span style="font-weight: bold;"&gt;lsvg -l &lt;volume_group&gt;&lt;/span&gt;" to show the total PP's used in all logical volumes in that volume group (showed sys1log, the jfs log was using 2 PP's)&lt;/li&gt;&lt;li&gt;"&lt;span style="font-weight: bold;"&gt;chlv -x 1248 &lt;logical_volume&gt;&lt;/span&gt;" to change the maximum number of LP's from 1100 to 1248 (1250 PP's in the volume group - 2 PP's used by the jfs log  = 1248 available)&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Physical Disk Procedures&lt;br /&gt;&lt;/h3&gt; &lt;span style="font-weight: bold;"&gt;Procedure to find disks/vpaths that are unallocated&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;lsvpcfg&lt;/li&gt;&lt;ul&gt;&lt;li&gt;This will show disks/vpaths and the volume group they are allocated to&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;lspv|grep None&lt;/li&gt;&lt;ul&gt;&lt;li&gt;This will show pvs and whether they are asssociated with a volume group&lt;/li&gt;&lt;li&gt;Note:  For vpaths, the hdisks will show as none, but they may be allocated to a vpath - you must grep each hdisk with the lsvpcfg&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Procedure to make a new lun available to AIX&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Allocate the new lun on the SAN&lt;/li&gt;&lt;li&gt;Run "&lt;span style="font-weight: bold;"&gt;cfgmgr&lt;/span&gt;"&lt;/li&gt;&lt;li&gt;Verify the new vpatch/hdisk by running "&lt;span style="font-weight: bold;"&gt;lsvpcfg&lt;/span&gt;"&lt;/li&gt;&lt;ul&gt;&lt;li&gt;There should be a new vpath and it should be available with no volume group - if not, rerun cfgmgr&lt;br /&gt;    &lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Procedure to list the PVs in a volume group:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;lsvg -p &lt;volume&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-7691980167673796639?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/7691980167673796639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=7691980167673796639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/7691980167673796639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/7691980167673796639'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2009/01/aix.html' title='AIX'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-3077827247874367558</id><published>2008-11-17T08:00:00.001-08:00</published><updated>2008-11-17T09:08:02.422-08:00</updated><title type='text'>VCS / SFRAC</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(153, 51, 153);font-family:verdana;" &gt;VCS &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 153);font-family:verdana;" &gt; Veritas Cluster &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;LLT and GRAB&lt;br /&gt;&lt;br /&gt;VCS uses two components, LLT and GAB to share data over the private networks among systems.&lt;br /&gt;These components provide the performance and reliability required by VCS.&lt;br /&gt;LLT LLT (Low Latency Transport) provides fast, kernel-to-kernel comms and monitors network connections. The system admin configures the LLT by creating a configuration file (llttab) that describes the systems in the cluster and private network links among them. The LLT runs in layer 2 of the network stack&lt;br /&gt;GAB GAB (Group membership and Atomic Broadcast) provides the global message order required to maintain a synchronised state among the systems, and monitors disk comms such as that required by the VCS heartbeat utility. The system admin configures GAB driver by creating a configuration file ( gabtab).&lt;br /&gt;&lt;br /&gt;LLT and GAB files&lt;br /&gt;&lt;br /&gt;/etc/llthosts&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The file is a database, containing one entry per system, that links the LLT system ID with the hosts name. The file is identical on each server in the cluster.&lt;br /&gt;&lt;br /&gt;/etc/llttab&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The file contains information that is derived during installation and is used by the utility lltconfig.&lt;br /&gt;&lt;br /&gt;/etc/gabtab&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The file contains the information needed to configure the GAB driver. This file is used by the gabconfig utility.&lt;br /&gt;&lt;br /&gt;/etc/VRTSvcs/conf/config/main.cf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The VCS configuration file. The file contains the information that defines the cluster and its systems.&lt;br /&gt;&lt;br /&gt;Gabtab Entries&lt;br /&gt;&lt;br /&gt;/sbin/gabdiskconf - i /dev/dsk/c1t2d0s2 -s 16 -S 1123&lt;br /&gt;/sbin/gabdiskconf - i /dev/dsk/c1t2d0s2 -s 144 -S 1124&lt;br /&gt;/sbin/gabdiskhb -a /dev/dsk/c1t2d0s2 -s 16 -p a -s 1123&lt;br /&gt;/sbin/gabdiskhb -a /dev/dsk/c1t2d0s2 -s 144 -p h -s 1124&lt;br /&gt;/sbin/gabconfig -c -n2&lt;br /&gt;&lt;br /&gt;gabdiskconf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-i   Initialises the disk region&lt;br /&gt;-s   Start Block&lt;br /&gt;-S   Signature&lt;br /&gt;gabdiskhb (heartbeat disks)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-a   Add a gab disk heartbeat resource&lt;br /&gt;-s   Start Block&lt;br /&gt;-p   Port&lt;br /&gt;-S   Signature&lt;br /&gt;gabconfig&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-c   Configure the driver for use&lt;br /&gt;-n   Number of systems in the cluster.&lt;br /&gt;&lt;br /&gt;LLT and GAB Commands&lt;br /&gt;Verifying that links are active for LLT     lltstat -n&lt;br /&gt;verbose output of the lltstat command     lltstat -nvv | more&lt;br /&gt;open ports for LLT     lltstat -p&lt;br /&gt;display the values of LLT configuration directives     lltstat -c&lt;br /&gt;lists information about each configured LLT link     lltstat -l&lt;br /&gt;List all MAC addresses in the cluster     lltconfig -a list&lt;br /&gt;stop the LLT running     lltconfig -U&lt;br /&gt;start the LLT     lltconfig -c&lt;br /&gt;verify that GAB is operating  &lt;br /&gt;&lt;br /&gt;gabconfig -a&lt;br /&gt;&lt;br /&gt;Note: port a indicates that GAB is communicating, port h indicates that VCS is started&lt;br /&gt;stop GAB running     gabconfig -U&lt;br /&gt;start the GAB     gabconfig -c -n&lt;br /&gt;override the seed values in the gabtab file     gabconfig -c -x&lt;br /&gt;&lt;br /&gt;GAB Port Memberbership&lt;br /&gt;List Membership  &lt;br /&gt;&lt;br /&gt;gabconfig -a&lt;br /&gt;Unregister port f     /opt/VRTS/bin/fsclustadm cfsdeinit&lt;br /&gt;Port Function     a   gab driver&lt;br /&gt;b   I/O fencing (designed to guarantee data integrity)&lt;br /&gt;d   ODM (Oracle Disk Manager)&lt;br /&gt;f   CFS (Cluster File System)&lt;br /&gt;h   VCS (VERITAS Cluster Server: high availability daemon)&lt;br /&gt;o   VCSMM driver (kernel module needed for Oracle and VCS interface)&lt;br /&gt;q   QuickLog daemon&lt;br /&gt;v   CVM (Cluster Volume Manager)&lt;br /&gt;w   vxconfigd (module for cvm)&lt;br /&gt;&lt;br /&gt;Cluster daemons&lt;br /&gt;High Availability Daemon     had&lt;br /&gt;Companion Daemon     hashadow&lt;br /&gt;Resource Agent daemon     Agent&lt;br /&gt;Web Console cluster managerment daemon     CmdServer&lt;br /&gt;&lt;br /&gt;Cluster Log Files&lt;br /&gt;Log Directory     /var/VRTSvcs/log&lt;br /&gt;primary log file (engine log file)     /var/VRTSvcs/log/engine_A.log&lt;br /&gt;&lt;br /&gt;Starting and Stopping the cluster&lt;br /&gt;&lt;br /&gt;"-stale" instructs the engine to treat the local config as stale&lt;br /&gt;"-force" instructs the engine to treat a stale config as a valid one&lt;br /&gt;  hastart [-stale|-force]&lt;br /&gt;&lt;br /&gt;Bring the cluster into running mode from a stale state using the configuration file from a particular server&lt;br /&gt;  hasys -force&lt;br /&gt;stop the cluster on the local server but leave the application/s running, do not failover the application/s     hastop -local&lt;br /&gt;stop cluster on local server but evacuate (failover) the application/s to another node within the cluster hastop -local -evacuate&lt;br /&gt;&lt;br /&gt;stop the cluster on all nodes but leave the application/s running&lt;br /&gt;  hastop -all -force&lt;br /&gt;&lt;br /&gt;Cluster Status&lt;br /&gt;display cluster summary     hastatus -summary&lt;br /&gt;continually monitor cluster     hastatus&lt;br /&gt;verify the cluster is operating     hasys -display&lt;br /&gt;&lt;br /&gt;Cluster Details&lt;br /&gt;information about a cluster     haclus -display&lt;br /&gt;value for a specific cluster attribute     haclus -value&lt;br /&gt;modify a cluster attribute     haclus -modify&lt;br /&gt;Enable LinkMonitoring     haclus -enable LinkMonitoring&lt;br /&gt;Disable LinkMonitoring     haclus -disable LinkMonitoring&lt;br /&gt;&lt;br /&gt;Users&lt;br /&gt;add a user     hauser -add&lt;br /&gt;modify a user     hauser -update&lt;br /&gt;delete a user     hauser -delete&lt;br /&gt;display all users     hauser -display&lt;br /&gt;&lt;br /&gt;System Operations&lt;br /&gt;add a system to the cluster     hasys -add&lt;br /&gt;delete a system from the cluster     hasys -delete&lt;br /&gt;Modify a system attributes     hasys -modify&lt;br /&gt;list a system state     hasys -state&lt;br /&gt;Force a system to start     hasys -force&lt;br /&gt;Display the systems attributes     hasys -display [-sys]&lt;br /&gt;List all the systems in the cluster     hasys -list&lt;br /&gt;Change the load attribute of a system     hasys -load&lt;br /&gt;Display the value of a systems nodeid (/etc/llthosts)     hasys -nodeid&lt;br /&gt;Freeze a system (No offlining system, No groups onlining)  &lt;br /&gt;&lt;br /&gt;hasys -freeze [-persistent][-evacuate]&lt;br /&gt;&lt;br /&gt;Note: main.cf must be in write mode&lt;br /&gt;Unfreeze a system ( reenable groups and resource back online)  &lt;br /&gt;&lt;br /&gt;hasys -unfreeze [-persistent]&lt;br /&gt;&lt;br /&gt;Note: main.cf must be in write mode&lt;br /&gt;&lt;br /&gt;Dynamic Configuration&lt;br /&gt;&lt;br /&gt;The VCS configuration must be in read/write mode in order to make changes. When in read/write mode the&lt;br /&gt;configuration becomes stale, a .stale file is created in $VCS_CONF/conf/config. When the configuration is put&lt;br /&gt;back into read only mode the .stale file is removed.&lt;br /&gt;Change configuration to read/write mode     haconf -makerw&lt;br /&gt;Change configuration to read-only mode     haconf -dump -makero&lt;br /&gt;Check what mode cluster is running in  &lt;br /&gt;&lt;br /&gt;haclus -display |grep -i 'readonly'&lt;br /&gt;&lt;br /&gt;0 = write mode&lt;br /&gt;1 = read only mode&lt;br /&gt;Check the configuration file  &lt;br /&gt;&lt;br /&gt;hacf -verify /etc/VRTS/conf/config&lt;br /&gt;&lt;br /&gt;Note: you can point to any directory as long as it has main.cf and types.cf&lt;br /&gt;convert a main.cf file into cluster commands     hacf -cftocmd /etc/VRTS/conf/config -dest /tmp&lt;br /&gt;convert a command file into a main.cf file  &lt;br /&gt;&lt;br /&gt;hacf -cmdtocf /tmp -dest /etc/VRTS/conf/config&lt;br /&gt;&lt;br /&gt;Service Groups&lt;br /&gt;add a service group     haconf -makerw&lt;br /&gt;hagrp -add groupw&lt;br /&gt;hagrp -modify groupw SystemList sun1 1 sun2 2&lt;br /&gt;hagrp -autoenable groupw -sys sun1&lt;br /&gt;haconf -dump -makero&lt;br /&gt;delete a service group     haconf -makerw&lt;br /&gt;hagrp -delete groupw&lt;br /&gt;haconf -dump -makero&lt;br /&gt;change a service group  &lt;br /&gt;&lt;br /&gt;haconf -makerw&lt;br /&gt;hagrp -modify groupw SystemList sun1 1 sun2 2 sun3 3&lt;br /&gt;haconf -dump -makero&lt;br /&gt;&lt;br /&gt;Note: use the "hagrp -display " to list attributes&lt;br /&gt;list the service groups     hagrp -list&lt;br /&gt;list the groups dependencies     hagrp -dep&lt;br /&gt;list the parameters of a group     hagrp -display&lt;br /&gt;display a service group's resource     hagrp -resources&lt;br /&gt;display the current state of the service group     hagrp -state&lt;br /&gt;clear a faulted non-persistent resource in a specific grp     hagrp -clear  [-sys]&lt;br /&gt;Change the system list in a cluster  &lt;br /&gt;&lt;br /&gt;# remove the host&lt;br /&gt;hagrp -modify grp_zlnrssd SystemList -delete&lt;br /&gt;&lt;br /&gt;# add the new host (don't forget to state its position)&lt;br /&gt;hagrp -modify grp_zlnrssd SystemList -add  1&lt;br /&gt;&lt;br /&gt;# update the autostart list&lt;br /&gt;hagrp -modify grp_zlnrssd AutoStartList&lt;br /&gt;&lt;br /&gt;Service Group Operations&lt;br /&gt;Start a service group and bring its resources online     hagrp -online  -sys&lt;br /&gt;Stop a service group and takes its resources offline     hagrp -offline  -sys&lt;br /&gt;Switch a service group from system to another     hagrp -switch  to&lt;br /&gt;Enable all the resources in a group     hagrp -enableresources&lt;br /&gt;Disable all the resources in a group     hagrp -disableresources&lt;br /&gt;Freeze a service group (disable onlining and offlining)  &lt;br /&gt;&lt;br /&gt;hagrp -freeze  [-persistent]&lt;br /&gt;&lt;br /&gt;note: use the following to check "hagrp -display  | grep TFrozen"&lt;br /&gt;Unfreeze a service group (enable onlining and offlining)  &lt;br /&gt;&lt;br /&gt;hagrp -unfreeze  [-persistent]&lt;br /&gt;&lt;br /&gt;note: use the following to check "hagrp -display  | grep TFrozen"&lt;br /&gt;Enable a service group. Enabled groups can only be brought online  &lt;br /&gt;&lt;br /&gt;haconf -makerw&lt;br /&gt;hagrp -enable  [-sys]&lt;br /&gt;haconf -dump -makero&lt;br /&gt;&lt;br /&gt;Note to check run the following command "hagrp -display | grep Enabled"&lt;br /&gt;Disable a service group. Stop from bringing online  &lt;br /&gt;&lt;br /&gt;haconf -makerw&lt;br /&gt;hagrp -disable  [-sys]&lt;br /&gt;haconf -dump -makero&lt;br /&gt;&lt;br /&gt;Note to check run the following command "hagrp -display | grep Enabled"&lt;br /&gt;Flush a service group and enable corrective action.     hagrp -flush  -sys&lt;br /&gt;&lt;br /&gt;Resources&lt;br /&gt;add a resource     haconf -makerw&lt;br /&gt;hares -add appDG DiskGroup groupw&lt;br /&gt;hares -modify appDG Enabled 1&lt;br /&gt;hares -modify appDG DiskGroup appdg&lt;br /&gt;hares -modify appDG StartVolumes 0&lt;br /&gt;haconf -dump -makero&lt;br /&gt;delete a resource     haconf -makerw&lt;br /&gt;hares -delete&lt;br /&gt;haconf -dump -makero&lt;br /&gt;change a resource  &lt;br /&gt;&lt;br /&gt;haconf -makerw&lt;br /&gt;hares -modify appDG Enabled 1&lt;br /&gt;haconf -dump -makero&lt;br /&gt;&lt;br /&gt;Note: list parameters "hares -display "&lt;br /&gt;change a resource attribute to be globally wide     hares -global &lt;br /&gt;change a resource attribute to be locally wide     hares -local &lt;br /&gt;list the parameters of a resource     hares -display&lt;br /&gt;list the resources     hares -list&lt;br /&gt;list the resource dependencies     hares -dep&lt;br /&gt;&lt;br /&gt;Resource Operations&lt;br /&gt;Online a resource     hares -online  [-sys]&lt;br /&gt;Offline a resource     hares -offline  [-sys]&lt;br /&gt;display the state of a resource( offline, online, etc)     hares -state&lt;br /&gt;display the parameters of a resource     hares -display&lt;br /&gt;Offline a resource and propagate the command to its children     hares -offprop  -sys&lt;br /&gt;Cause a resource agent to immediately monitor the resource     hares -probe  -sys&lt;br /&gt;Clearing a resource (automatically initiates the onlining)     hares -clear  [-sys]&lt;br /&gt;&lt;br /&gt;Resource Types&lt;br /&gt;Add a resource type     hatype -add&lt;br /&gt;Remove a resource type     hatype -delete&lt;br /&gt;List all resource types     hatype -list&lt;br /&gt;Display a resource type     hatype -display&lt;br /&gt;List a partitcular resource type     hatype -resources&lt;br /&gt;Change a particular resource types attributes     hatype -value&lt;br /&gt;&lt;br /&gt;Resource Agents&lt;br /&gt;add a agent     pkgadd -d .&lt;br /&gt;remove a agent     pkgrm&lt;br /&gt;change a agent     n/a&lt;br /&gt;list all ha agents     haagent -list&lt;br /&gt;Display agents run-time information i.e has it started, is it running ?     haagent -display&lt;br /&gt;Display agents faults     haagent -display |grep Faults&lt;br /&gt;&lt;br /&gt;Resource Agent Operations&lt;br /&gt;Start an agent     haagent -start [-sys]&lt;br /&gt;Stop an agent     haagent -stop [-sys]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 0, 51);"&gt;SFRAC Setup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;== Configure IO Fencing (VXFEN) ==&lt;br /&gt;&lt;br /&gt;==== Setup the coordg Diskgroup ====&lt;br /&gt;&lt;span style="color:blue;"&gt;NOTE:  You must have an odd number of VxVM controlled devices in the Coordinator Disk Group or VxFEN will not start:&lt;br /&gt;&lt;br /&gt; VxFEN Error Message:  VXFEN vxfenconfig ERROR V-11-2-1004 There must be an odd number of coordinator disks defined&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If for some reason you have not initialized your LUNs for use with Veritas, you will need to do that with vxdisksetup before you can proceed with this step.&lt;br /&gt;&lt;br /&gt; # for x in `vxdisk list | grep FAS | awk '{print $1}'`; do vxdisksetup -fi ${x}; done&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a diskgroup to house the coordinator disks and add at least 3 luns.  When choosing disks to use as coordinator disks, you want to distribute them across both heads on your filer. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; # vxdg init coordg disk0=FAS9600_6&lt;br /&gt; # vxdg -g coordg adddisk disk1=FAS9600_7&lt;br /&gt; # vxdg -g coordg adddisk disk2=FAS9601_6&lt;br /&gt; # vxdg deport coordg&lt;br /&gt;&lt;br /&gt;==== Setup the VxFEN Configuration Files ====&lt;br /&gt;&lt;br /&gt; Run the following on all nodes:&lt;br /&gt;&lt;br /&gt; # echo coordg &gt; /etc/vxfentab&lt;br /&gt; # echo coordg &gt; /etc/vxfendg&lt;br /&gt;&lt;br /&gt; NOTE:  For 5.0, you must setup the /etc/vxfenmode file. This is not required in 4.1.&lt;br /&gt; &lt;br /&gt; # cp /etc/vxfen.d/vxfenmode_scsi3_dmp /etc/vxfenmode&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==== Start Up Fencing ====&lt;br /&gt;&lt;br /&gt; Run the following on all nodes:&lt;br /&gt;&lt;br /&gt; # vxdctl enable&lt;br /&gt; # /etc/init.d/vxfen start&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==== Verify Fencing Has Started ====&lt;br /&gt;&lt;br /&gt;* Run gabconfig -a.  You should now see port b as well as port a. You should have an entry for each node of the cluster.&lt;br /&gt;&lt;br /&gt; # gabconfig -a&lt;br /&gt;&lt;br /&gt; GAB Port Memberships&lt;br /&gt; ===============================================================&lt;br /&gt; Port a gen   9d4d01 membership 012                            &lt;br /&gt; Port b gen   9d4d04 membership 012               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Run vxfenadm -d to show the cluster wide fencing status.  You should see an entry for each node in the cluster.  If you do not, you should investigate why it didn't start by reviewing the log file on the host at /var/VRTSvcs/log/vxfen.log.  NOTE:  The output below is from 5.0MP1.  4.1MP1 will not show the lines that start with "Fencing".&lt;br /&gt;&lt;br /&gt; # /sbin/vxfenadm -d&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; I/O Fencing Cluster Information:&lt;br /&gt; ================================&lt;br /&gt;&lt;br /&gt;  Fencing Protocol Version: 201&lt;br /&gt;  Fencing Mode: SCSI3&lt;br /&gt;  Fencing SCSI3 Disk Policy: dmp&lt;br /&gt;  Cluster Members: &lt;br /&gt;&lt;br /&gt;         * 0 (sunv440-shu04)&lt;br /&gt;           1 (sunv440-shu05)&lt;br /&gt;           2 (sunv440-shu06)&lt;br /&gt;&lt;br /&gt;  RFSM State Information:&lt;br /&gt;         node   0 in state  8 (running)&lt;br /&gt;         node   1 in state  8 (running)&lt;br /&gt;         node   2 in state  8 (running)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Run vxfenadm -G all -f /etc/vxfentab.   This will show you the keys for each node.  The example below is shortened, but you should see keys for each node on each disk.&lt;br /&gt;&lt;br /&gt; # vxfenadm -G all -f /etc/vxfentab&lt;br /&gt;&lt;br /&gt; &lt;snip&gt;&lt;br /&gt;&lt;br /&gt; Device Name: /dev/vx/rdmp/c0t0d161s2&lt;br /&gt; Total Number Of Keys: 8&lt;br /&gt; key[0]:&lt;br /&gt;         Node ID: 1 Node Name: sunv440-shu05&lt;br /&gt;         Key Value:&lt;br /&gt; key[1]:&lt;br /&gt;         Node ID: 1 Node Name: sunv440-shu05&lt;br /&gt;         Key Value: &lt;br /&gt; key[2]:&lt;br /&gt;         Node ID: 1 Node Name: sunv440-shu05&lt;br /&gt;         Key Value:&lt;br /&gt; key[3]:&lt;br /&gt;         Node ID: 1 Node Name: sunv440-shu05&lt;br /&gt;         Key Value:&lt;br /&gt; key[4]:&lt;br /&gt;         Node ID: 2 Node Name: sunv440-shu06&lt;br /&gt;         Key Value:&lt;br /&gt;&lt;br /&gt; &lt;end&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;== Configure The Cluster To Use SCSI3 Fencing and Start The Cluster ==&lt;br /&gt;&lt;br /&gt;The cluster should currently be down.  GAB, LLT, and Fencing should be running. &lt;br /&gt;&lt;br /&gt;==== Modify the main.cf to add UseFence = SCSI3 ====&lt;br /&gt;&lt;br /&gt; # vi /etc/VRTSvcs/conf/config/main.cf&lt;br /&gt;&lt;br /&gt; include "types.cf"&lt;br /&gt; include "CFSTypes.cf"&lt;br /&gt; include "CVMTypes.cf"&lt;br /&gt;&lt;br /&gt; cluster NAME_OF_CLUSTER (&lt;br /&gt;        UserNames = { admin = hllSlkLjlFmfLfiF }&lt;br /&gt;        Administrators = { admin }&lt;br /&gt;        &lt;span style="color:red;"&gt;UseFence = SCSI3        (ADD THIS LINE TO main.cf)&lt;/span&gt;&lt;br /&gt;        )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==== Distribute the main.cf to the other nodes ====&lt;br /&gt;&lt;br /&gt; Do the following for the remaining nodes:&lt;br /&gt;&lt;br /&gt; # rcp /etc/VRTSvcs/conf/config/main.cf &lt;node&gt;:/etc/VRTSvcs/conf/config&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==== Start the cluster====&lt;br /&gt;&lt;br /&gt; Run the following on each node in the cluster:&lt;br /&gt;&lt;br /&gt; # hastart&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==== Verify That Everything Started ====&lt;br /&gt;&lt;br /&gt; # hastatus -sum&lt;br /&gt;&lt;br /&gt; -- SYSTEM STATE&lt;br /&gt; -- System               State                Frozen              &lt;br /&gt;&lt;br /&gt; A  sunv440-shu04        RUNNING              0                   &lt;br /&gt; A  sunv440-shu05        RUNNING              0                   &lt;br /&gt; A  sunv440-shu06        RUNNING              0                   &lt;br /&gt;&lt;br /&gt; # gabconfig -a&lt;br /&gt; GAB Port Memberships&lt;br /&gt; ===============================================================&lt;br /&gt; Port a gen   9d4d01 membership 012                            &lt;br /&gt; Port b gen   9d4d04 membership 012                            &lt;br /&gt; Port h gen   9d4d07 membership 012               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==== Verify That The Cluster Is Using SCSI3 Fencing ====&lt;br /&gt;&lt;br /&gt; # haclus -display | grep UseFence&lt;br /&gt;&lt;br /&gt; UseFence           SCSI3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;== Configure The RAC Portion of the Cluster ==&lt;br /&gt;&lt;br /&gt;==== Initialize the CVM configuration ====&lt;br /&gt;&lt;br /&gt; # cfscluster config&lt;br /&gt;&lt;br /&gt;==== Check Cluster Status ====&lt;br /&gt;&lt;br /&gt; # cfscluster status&lt;br /&gt;&lt;br /&gt;  Node             :  sunv440-shu04&lt;br /&gt;  Cluster Manager  :  running&lt;br /&gt;  CVM state        :  not-running&lt;br /&gt;  No mount point registered with cluster configuration&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  Node             :  sunv440-shu05&lt;br /&gt;  Cluster Manager  :  running&lt;br /&gt;  CVM state        :  not-running&lt;br /&gt;  No mount point registered with cluster configuration&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  Node             :  sunv440-shu06&lt;br /&gt;  Cluster Manager  :  running&lt;br /&gt;  CVM state        :  not-running&lt;br /&gt;  No mount point registered with cluster configuration&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;== Setup the SFCS Diskgroup and Volume ==&lt;br /&gt;&lt;br /&gt;==== Configure the SFCFS Diskgroup ====&lt;br /&gt;&lt;br /&gt;NOTE:   This step assumes that you have already initialized the desired luns.  The number of luns used in this step is up to the user and test requirements.&lt;br /&gt;&lt;br /&gt; # vxdg init SFCFS disk0=&lt;disk&gt;&lt;br /&gt; # vxdg -g SFCFS adddisk disk1=&lt;disk&gt;&lt;br /&gt; ...&lt;br /&gt; ...&lt;br /&gt;&lt;br /&gt; # vxdg deport SFCFS&lt;br /&gt;&lt;br /&gt;==== Import the SFCFS Diskgroup As Shared ====&lt;br /&gt;&lt;br /&gt; Determine the master node:&lt;br /&gt;&lt;br /&gt; # vxdctl -c mode&lt;br /&gt;&lt;br /&gt; mode: enabled: cluster active - MASTER&lt;br /&gt; master: sunv440-shu04&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-3077827247874367558?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/3077827247874367558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=3077827247874367558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/3077827247874367558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/3077827247874367558'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2008/11/vcs-sfrac.html' title='VCS / SFRAC'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-6133293258337148838</id><published>2008-11-03T09:54:00.001-08:00</published><updated>2008-11-03T09:55:03.621-08:00</updated><title type='text'>Shell</title><content type='html'>&lt;p&gt;&lt;tt&gt;A simple example using arithmetic expansion:&lt;/tt&gt;&lt;/p&gt;  &lt;blockquote&gt; &lt;pre&gt;&lt;tt&gt;# repeat a command 100 times&lt;br /&gt;x=100&lt;br /&gt;while [ $x -gt 0 ]&lt;br /&gt;do&lt;br /&gt;  &lt;/tt&gt; &lt;i&gt;command&lt;/i&gt; &lt;tt&gt;   x=$(($x-1))&lt;br /&gt;done&lt;br /&gt;&lt;/tt&gt; &lt;/pre&gt; &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-6133293258337148838?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/6133293258337148838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=6133293258337148838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/6133293258337148838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/6133293258337148838'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2008/11/shell.html' title='Shell'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-6557455983609499865</id><published>2008-10-14T05:36:00.000-07:00</published><updated>2008-11-17T09:51:24.207-08:00</updated><title type='text'>Link's</title><content type='html'>http://www.idevelopment.info/&lt;br /&gt;&lt;br /&gt;VCS&lt;br /&gt;http://www.datadisk.co.uk/html_docs/veritas/veritas_cluster_cs.htm&lt;br /&gt;&lt;br /&gt;SFRAC Documents&lt;br /&gt;http://sfdoccentral.symantec.com/sf/5.0/hpux/html/sf_rac_install/sfrac_installTOC.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-6557455983609499865?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/6557455983609499865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=6557455983609499865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/6557455983609499865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/6557455983609499865'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2008/10/links.html' title='Link&apos;s'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-1258180709115975695</id><published>2008-10-13T09:49:00.000-07:00</published><updated>2008-11-17T07:59:28.144-08:00</updated><title type='text'>VxVM</title><content type='html'>&lt;span style="font-weight: bold;"&gt;How to resize vxfs volume &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Old size&lt;br /&gt;bash-3.2# df -k  /oracle/QA2&lt;br /&gt;/oracle/QA2            (/dev/vx/dsk/qa2_oracledg/qa2_oracle_qa2)  :   102400 total allocated  Kb&lt;br /&gt;                                                     0 free allocated  Kb&lt;br /&gt;                                                102400 used allocated  Kb&lt;br /&gt;                                                   100 % allocation  used&lt;br /&gt;&lt;br /&gt;To remove error&lt;br /&gt;fsadm: You don't have a license to run this  program&lt;br /&gt;#/usr/sbin/vxlicrep -e;/sbin/fs/vxfs/vxenablef  -a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;bash-3.2# vxassist -g qa2_oracledg growby  qa2_oracle_qa2  102400&lt;br /&gt;&lt;br /&gt;bash-3.2# fsadm -F vxfs -b 204800  -r  /dev/vx/rdsk/qa2_oracledg/qa2_oracle_qa2 /oracle/QA2&lt;br /&gt;vxfs fsadm:  /dev/vx/rdsk/qa2_oracledg/qa2_oracle_qa2 is currently 102400 sectors - size will  be increased&lt;br /&gt;bash-3.2# df -k  /oracle/QA2&lt;br /&gt;/oracle/QA2            (/dev/vx/dsk/qa2_oracledg/qa2_oracle_qa2)  :   198448 total allocated  Kb&lt;br /&gt;                                                 96024 free allocated  Kb&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;                                 How to clear the failing flag when a vxdisk list status shows "online failing"&lt;/span&gt;&lt;br /&gt;http://seer.support.veritas.com/docs/184960.htm&lt;br /&gt;&lt;br /&gt;bash-3.2# vxdisk -o alldgs list&lt;br /&gt;DEVICE       TYPE            DISK         GROUP        STATUS&lt;br /&gt;c21t0d6      auto:cdsdisk    qa2_mirrlogdg01  qa2_mirrlogdg online failing&lt;br /&gt;&lt;br /&gt;bash-3.2# vxedit -g qa2_mirrlogdg set failing=off qa2_mirrlogdg01&lt;br /&gt;&lt;br /&gt;bash-3.2# vxdisk -o alldgs list&lt;br /&gt;DEVICE       TYPE            DISK         GROUP        STATUS&lt;br /&gt;c21t0d6      auto:cdsdisk    qa2_mirrlogdg01  qa2_mirrlogdg online&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;VCS Port&lt;/span&gt;&lt;br /&gt;port What it does and how to stop&lt;br /&gt;------------------------------------&lt;br /&gt;a  Communication node-to-node - stopped by stopping gab&lt;br /&gt;b IO Fencing - stopped  with /etc/init.d/vxfen stop&lt;br /&gt;d Oracle to Oracle coms in a RAC environment -  stop Oracle&lt;br /&gt;f Cluster File System &lt;http: com=""&gt;  -  stop VCS group or kill fsckd&lt;br /&gt;h GAB to VSC (had) communication - hastop&lt;br /&gt;o  ODM - stop Oracle, and umount /odm&lt;br /&gt;q qlog (part of cluster  &lt;http: com=""&gt;  filesystem) - stop VCS group&lt;br /&gt;v part  of cvm - stop VCS group or vxclustadm stopnode&lt;br /&gt;w part of cvm - stop VCS group  or vxclustadm stopnode&lt;br /&gt;&lt;br /&gt;/etc/llttab ::&lt;br /&gt;set-node oaprod1 # diff for each  node, reflect local node name&lt;br /&gt;set-cluster 1&lt;br /&gt;link ce1 /dev/ce:1 - ether -  -&lt;br /&gt;link ce3 /dev/ce:3 - ether - -&lt;br /&gt;link-lowpri ce0 /dev/ce:0 - ether -  -&lt;br /&gt;&lt;br /&gt;/etc/llthosts ::&lt;br /&gt;0 oaprod1&lt;br /&gt;1 oaprod2&lt;br /&gt;&lt;br /&gt;/etc/gabtab  ::&lt;br /&gt;/sbin/gabconfig -c -n2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to Migrate VxVM volume from One storage vendor to another storage vendor&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. As oracle data/logs are on VxVM volume having EMC luns.&lt;br /&gt;For eg. Disk Group = EMCDG, VxVM Volume = EMCVOL&lt;br /&gt;&lt;br /&gt;2. Expose NetApp luns using snapdrive storage create command on the host.&lt;br /&gt;&lt;br /&gt;3. Add the NetApp luns to the VxVM volume having oracle data/logs, this will make the volume as mirrored vxvm volume and also do auto sync on the luns.&lt;br /&gt;Once the data is synced on NetApp luns , detached the luns from the mirrored volume and make a new volume of NetApp luns for Dev/QA purpose.&lt;br /&gt;&lt;br /&gt;Below are the steps:&lt;br /&gt;&lt;br /&gt;Add mirror disk i.e NetApp disk in a diskgroup&lt;br /&gt;vxdg -g &lt;emcdg&gt; adddisk disk2=c6t0d1&lt;br /&gt;&lt;br /&gt;Add Mirror to the volume&lt;br /&gt;vxassist -b -g EMCDG  mirror EMCVOL disk2&lt;br /&gt;[ This will auto sync the data on new NetApp Luns i.e disk2]&lt;br /&gt;&lt;br /&gt;See Plex and Subdisk info&lt;br /&gt;vxprint -htg EMCDG&lt;br /&gt;&lt;br /&gt;Remove mirror Plex of NetApp subdisk from the volume&lt;br /&gt;vxplex -g EMCDG dis EMCVOL-02&lt;br /&gt;&lt;br /&gt;Now create another volume using NetApp subdisk [previously removed mirror] for Dev/QA purpose&lt;br /&gt;vxmake -g EMCDG vol newVol plex=EMCVOL-02&lt;br /&gt;[here data is on the lun , but the newVol is not in start state]&lt;br /&gt;&lt;br /&gt;See new volume Plex and Subdisk info&lt;br /&gt;vxprint -htg EMCDG&lt;br /&gt;NOTE : Volume newVol is in DISABLED state&lt;br /&gt;&lt;br /&gt;Start the new volume of NetApp subdisk&lt;br /&gt;vxvol -g EMCDG  start newVol&lt;br /&gt;&lt;br /&gt;Mount the new NetApp luns volume&lt;br /&gt;mkdir /newVOL&lt;br /&gt;mount -F vxfs /dev/vx/dsk/EMCDG/newVol /newVOL/&lt;br /&gt;&lt;br /&gt;Check the contents of the volume&lt;br /&gt;ls -lrt /newVOL/&lt;br /&gt;Note : You must find the oracle data/logs dir on the vxvm volume having NetApp luns.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;With Layered volume&lt;/span&gt;&lt;br /&gt;We can use VxVM layered volume concept, (EMC subvol + NetApp subvol) and than take a snapshot using -hostvol option of NetApp volume which is mirrored of EMC vol.&lt;br /&gt;&lt;br /&gt;Here:&lt;br /&gt;Layered Vol = layered_vol&lt;br /&gt;Sub Vols = layered_vol-S01, layered_vol-S02 (Striped across sub volumes, logical entities).&lt;br /&gt;Vols = layered_vol-L01 , layered_vol-L02 (Mirrored volumes over luns).&lt;br /&gt;&lt;br /&gt;VxVM:&lt;br /&gt;vxassist -g layered_DG make layered_vol 2g layout=stripe-mirror&lt;br /&gt;&lt;br /&gt;SDU Snapshot..&lt;br /&gt;snapdrive snap create -hostvol layered_DG/layered_vol-L01  -snapname layered_snap  -force&lt;br /&gt;&lt;br /&gt;bash-3.00# vxprint -rth layered_vol&lt;br /&gt;Disk group: layered_DG&lt;br /&gt;&lt;br /&gt;dm disk1        c4t500A098383310F03d13s2 auto 65536 1158912 -&lt;br /&gt;dm disk2        c4t500A098383310F03d14s2 auto 65536 1158912 -&lt;br /&gt;dm disk3        c4t500A098383310F03d17s2 auto 65536 2027264 -&lt;br /&gt;dm disk4        c4t500A098383310F03d18s2 auto 65536 2027264 -&lt;br /&gt;&lt;br /&gt;v  layered_vol  -            ENABLED  ACTIVE   2097152  SELECT    layered_vol-03 fsgen&lt;br /&gt;pl layered_vol-03 layered_vol ENABLED ACTIVE   2097152  STRIPE    2/128    RW&lt;br /&gt;sv layered_vol-S01 layered_vol-03 layered_vol-L01 1 1048576 0/0   2/2      ENA&lt;br /&gt;v2 layered_vol-L01 -         ENABLED  ACTIVE   1048576  SELECT    -        fsgen&lt;br /&gt;p2 layered_vol-P01 layered_vol-L01 ENABLED ACTIVE 1048576 CONCAT  -        RW&lt;br /&gt;s2 disk1-02     layered_vol-P01 disk1 0        1048576  0         c4t500A098383310F03d13 ENA&lt;br /&gt;p2 layered_vol-P02 layered_vol-L01 ENABLED ACTIVE 1048576 CONCAT  -        RW&lt;br /&gt;s2 disk3-02     layered_vol-P02 disk3 0        1048576  0         c4t500A098383310F03d17 ENA&lt;br /&gt;sv layered_vol-S02 layered_vol-03 layered_vol-L02 1 1048576 1/0   2/2      ENA&lt;br /&gt;v2 layered_vol-L02 -         ENABLED  ACTIVE   1048576  SELECT    -        fsgen&lt;br /&gt;p2 layered_vol-P03 layered_vol-L02 ENABLED ACTIVE 1048576 CONCAT  -        RW&lt;br /&gt;s2 disk2-02     layered_vol-P03 disk2 0        1048576  0         c4t500A098383310F03d14 ENA&lt;br /&gt;p2 layered_vol-P04 layered_vol-L02 ENABLED ACTIVE 1048576 CONCAT  -        RW&lt;br /&gt;s2 disk4-02     layered_vol-P04 disk4 0        1048576  0         c4t500A098383310F03d18 ENA&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;number&gt;&lt;resource&gt;&lt;server_name&gt;&lt;attribute&gt;&lt;attribute&gt;&lt;new&gt;&lt;username&gt;&lt;username&gt;&lt;username&gt;&lt;sys&gt;&lt;sys&gt;&lt;sys&gt;&lt;modify&gt;&lt;system&gt;&lt;value&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;host&gt;&lt;sys&gt;&lt;hostname&gt;&lt;hostname&gt;&lt;host&gt;&lt;host&gt;&lt;group&gt;&lt;sys&gt;&lt;group&gt;&lt;sys&gt;&lt;group&gt;&lt;sys&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;group&gt;&lt;system&gt;&lt;resource&gt;&lt;resource&gt;&lt;resource&gt;&lt;attribute&gt;&lt;value&gt;&lt;resource&gt;&lt;attribute&gt;&lt;value&gt;&lt;resource&gt;&lt;resource&gt;&lt;resource&gt;&lt;resource&gt;&lt;resource&gt;&lt;sys&gt;&lt;resource&gt;&lt;sys&gt;&lt;resource&gt;&lt;type&gt;&lt;type&gt;&lt;type&gt;&lt;type&gt;&lt;type&gt;&lt;attr&gt;&lt;agent&gt;&lt;agent&gt;&lt;agent_name&gt;&lt;agent_name&gt;&lt;agent_name&gt;&lt;br /&gt;&lt;/agent_name&gt;&lt;/agent_name&gt;&lt;/agent_name&gt;&lt;/agent&gt;&lt;/agent&gt;&lt;/attr&gt;&lt;/type&gt;&lt;/type&gt;&lt;/type&gt;&lt;/type&gt;&lt;/type&gt;&lt;/resource&gt;&lt;/sys&gt;&lt;/resource&gt;&lt;/sys&gt;&lt;/resource&gt;&lt;/resource&gt;&lt;/resource&gt;&lt;/resource&gt;&lt;/resource&gt;&lt;/value&gt;&lt;/attribute&gt;&lt;/resource&gt;&lt;/value&gt;&lt;/attribute&gt;&lt;/resource&gt;&lt;/resource&gt;&lt;/resource&gt;&lt;/system&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/sys&gt;&lt;/group&gt;&lt;/sys&gt;&lt;/group&gt;&lt;/sys&gt;&lt;/group&gt;&lt;/host&gt;&lt;/host&gt;&lt;/hostname&gt;&lt;/hostname&gt;&lt;/sys&gt;&lt;/host&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/group&gt;&lt;/value&gt;&lt;/system&gt;&lt;/modify&gt;&lt;/sys&gt;&lt;/sys&gt;&lt;/sys&gt;&lt;/username&gt;&lt;/username&gt;&lt;/username&gt;&lt;/new&gt;&lt;/attribute&gt;&lt;/attribute&gt;&lt;/server_name&gt;&lt;/resource&gt;&lt;/number&gt;&lt;/emcdg&gt;&lt;/http:&gt;&lt;/http:&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-1258180709115975695?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/1258180709115975695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=1258180709115975695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/1258180709115975695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/1258180709115975695'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2008/10/vxvm.html' title='VxVM'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-7477096701955953446</id><published>2008-09-29T21:22:00.000-07:00</published><updated>2009-06-16T04:24:59.697-07:00</updated><title type='text'>Solaris</title><content type='html'>&lt;p&gt;    &lt;span style="font-size:180%;color:#000080;"&gt;&lt;u&gt;Removing Invalid Disk Device Files (&lt;tt&gt;/dev/dsk&lt;/tt&gt; and &lt;tt&gt;/dev/rdsk&lt;/tt&gt;)&lt;/u&gt;&lt;/span&gt;   &lt;/p&gt;&lt;p&gt;   &lt;i&gt;by Jeff Hunter, Sr. Database Administrator&lt;/i&gt;     &lt;!--    | **********************************************************    |   OVERVIEW    | **********************************************************    +--&gt;   &lt;/p&gt;&lt;p&gt;   &lt;span style="color:#000099;"&gt;&lt;b&gt;&lt;u&gt;Overview&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;   &lt;/p&gt;&lt;p&gt;   &lt;/p&gt;&lt;blockquote&gt;     Whether installing a SCSI controller or even an additional IDE disk to a Sun Solaris machine,      the Solaris O/S will:     &lt;p&gt;     &lt;/p&gt;&lt;ul&gt;&lt;li&gt; Create &lt;i&gt;Disk Device Files&lt;/i&gt; under the &lt;i&gt;Hardware Device Tree&lt;/i&gt; (&lt;tt&gt;/devices&lt;/tt&gt;).       &lt;/li&gt;&lt;li&gt; Create symbolic links in &lt;tt&gt;/dev/dsk&lt;/tt&gt;, &lt;tt&gt;/dev/rdsk&lt;/tt&gt;, and &lt;tt&gt;/dev/cfg&lt;/tt&gt; that            point to the devices in the &lt;tt&gt;/devices&lt;/tt&gt; directory.       &lt;/li&gt;&lt;li&gt; Make entries in the &lt;tt&gt;/etc/path_to_inst&lt;/tt&gt; file.     &lt;/li&gt;&lt;/ul&gt;     &lt;p&gt;     Things will generally work fine until you decide to remove or move a device in     the system. I have had situations where I have run out of devices on a host     because of Sun's poor ability to remove invalid (hanging) disk device files     after removing a device. This is one area where Sun could really improve.     It looks like they are trying new things with the &lt;tt&gt;&lt;b&gt;boot -p&lt;/b&gt;&lt;/tt&gt; option but      I've only ever seen it remove things once.     &lt;/p&gt;&lt;p&gt;     There are other times when I simply wanted to replace a certain type of SCSI controller     and wanted to reuse the controller ID's from a previously removed card. For example, I have     a host (an E450) which had 2 internal controllers (0 and 1) and a dual differential SCSI     card installed (controllers 2 and 3). I removed the dual differential SCSI host adapter     and decided to replace it with a Single-Ended SCSI host adapter but Solaris would always     assign them controller numbers 4 and 5. I wanted the system to reassign controller numbers     2 and 3 for the new host adapter but links still existed for the original dual differential      SCSI host adapter.     &lt;/p&gt;&lt;p&gt;     My intention in this article is to provide several solutions for either renumbering      disk device files (SCSI controllers, SCSI disks, IDE controllers, IDE disks, etc.)     or simply removing old ones from replaced or removed devices. Please keep in     mind that this article has been put together from notes I found during many searches for     answers on the Internet. If anyone reading this has other solutions, please     &lt;a class="noLink" href="mailto:jhunter@iDevelopment.info"&gt;email me&lt;/a&gt; and     I would be happy to post them for others going through this procedure.    &lt;/p&gt;&lt;/blockquote&gt;     &lt;!--    | **********************************************************    |   DEVFSADM    | **********************************************************    +--&gt;   &lt;p&gt;   &lt;span style="color:#000099;"&gt;&lt;b&gt;&lt;u&gt;Using the &lt;tt&gt;devfsadm&lt;/tt&gt; Command&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;   &lt;/p&gt;&lt;p&gt;   &lt;/p&gt;&lt;blockquote&gt;     The &lt;tt&gt;&lt;b&gt;devfsadm&lt;/b&gt;&lt;/tt&gt; command was introduced with Solaris 7 and can be found     in &lt;tt&gt;/usr/sbin/devfsadm&lt;/tt&gt;. This command is used to maintain the &lt;tt&gt;/dev&lt;/tt&gt;     and &lt;tt&gt;/devices&lt;/tt&gt; namespaces. The &lt;tt&gt;&lt;b&gt;devfsadm&lt;/b&gt;&lt;/tt&gt; command replaces     the previous suite of &lt;i&gt;devfs administration tools&lt;/i&gt; including &lt;tt&gt;&lt;b&gt;drvconfig(1M)&lt;/b&gt;&lt;/tt&gt;,     &lt;tt&gt;&lt;b&gt;disks(1M)&lt;/b&gt;&lt;/tt&gt;,  &lt;tt&gt;&lt;b&gt;tapes(1M)&lt;/b&gt;&lt;/tt&gt;,       &lt;tt&gt;&lt;b&gt;ports(1M)&lt;/b&gt;&lt;/tt&gt;, &lt;tt&gt;&lt;b&gt;audlinks(1M)&lt;/b&gt;&lt;/tt&gt;, and d&lt;tt&gt;&lt;b&gt;evlinks(1M)&lt;/b&gt;&lt;/tt&gt;.      To maintain     backwards compatibility, all previous devfs commands are hard links to      &lt;tt&gt;&lt;b&gt;devfsadm&lt;/b&gt;&lt;/tt&gt;.     &lt;p&gt;     In many cases, you only need run the command:     &lt;/p&gt;&lt;pre&gt;  # &lt;b&gt;devfsadm -C&lt;/b&gt;&lt;/pre&gt;     to invoke the cleanup routines that are not normally invoked to remove     dangling logical links.   &lt;/blockquote&gt;      &lt;!--    | **********************************************************    |   MANUAL METHODS    | **********************************************************    +--&gt;   &lt;p&gt;   &lt;span style="color:#000099;"&gt;&lt;b&gt;&lt;u&gt;Manual Methods&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;   &lt;/p&gt;&lt;p&gt;   &lt;/p&gt;&lt;blockquote&gt;     The &lt;tt&gt;&lt;b&gt;devfsadm&lt;/b&gt;&lt;/tt&gt; command was introduced with Solaris 7. For those     running older versions of Solaris (i.e. Solaris 2.6) or simply want to perform     all manual steps, this section describes the procedures to do just that.     &lt;p&gt;     &lt;/p&gt;&lt;ol&gt;&lt;li&gt; Make a backup of your &lt;tt&gt;/etc/path_to_inst&lt;/tt&gt; file and then modify            the file so that all that exists is the SCSI / IDE reference for the             boot drive. Remove all of the "pcipsy" and "glm" entries except for the            one that is used by the controller that has the boot drive. &lt;i&gt;Take note            of the physical path of the controller you want to renumber.&lt;/i&gt;       &lt;p&gt;       &lt;/p&gt;&lt;/li&gt;&lt;li&gt; Remove all &lt;tt&gt;/dev/dsk/cX*&lt;/tt&gt; and &lt;tt&gt;/dev/rdsk/cX*&lt;/tt&gt; files where            &lt;tt&gt;X&lt;/tt&gt; is the controller number(s) you want to remove and even            those that no longer exist. &lt;i&gt;(In the case of the example I provided on            the E450, that would be 2, 3, 4, and 5.)&lt;/i&gt;       &lt;p&gt;       &lt;/p&gt;&lt;/li&gt;&lt;li&gt; Remove all &lt;tt&gt;/dev/cfg/cX&lt;/tt&gt; symbolic links where X is the controller(s) you            want to remove. Make sure to not remove the controller with the boot            drive. &lt;i&gt;(Again, in the case of the example I provided on the E450, that            would be 2, 3, 4, and 5.)&lt;/i&gt; It turns out this was one of the crucial steps            that needed to be complete in order for Solaris to reuse controller numbers            2 and 3. The O/S was not able to reassign both of these controller numbers            while the links (&lt;tt&gt;/dev/cfg/2&lt;/tt&gt; and &lt;tt&gt;/dev/cfg/3&lt;/tt&gt;) still existed.       &lt;p&gt;       &lt;/p&gt;&lt;/li&gt;&lt;li&gt; Remove all files under &lt;tt&gt;/devices/*&lt;/tt&gt; for the controller you want to             remove or renumber as indicated in Step #1.       &lt;p&gt;       &lt;/p&gt;&lt;/li&gt;&lt;li&gt; Remove all files in &lt;tt&gt;/dev/sdXX*&lt;/tt&gt; that symbolically link to controller(s)            you do not want anymore. This may not be completely necessary, but it does            clean things up.       &lt;p&gt;       &lt;/p&gt;&lt;/li&gt;&lt;li&gt; Reboot the server with the "-srv" option:            &lt;pre&gt;ok &lt;b&gt;boot -srv&lt;/b&gt;&lt;br /&gt;&lt;/pre&gt;     &lt;/li&gt;&lt;/ol&gt;   &lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Solaris Zones &lt;/span&gt;&lt;br /&gt;http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error while changing the user in solaris&lt;br /&gt;&lt;br /&gt;unknown:/ # passwd oracer&lt;br /&gt;New Password:&lt;br /&gt;Re-enter new Password:&lt;br /&gt;passwd: oracer does not exist.&lt;br /&gt;Permission denied&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;unknown:/ # pwconv&lt;br /&gt;unknown:/ # passwd oracer&lt;br /&gt;New Password:&lt;br /&gt;Re-enter new Password:&lt;br /&gt;passwd: password successfully changed for oracer&lt;br /&gt;&lt;br /&gt;Here:&lt;br /&gt;pwconv - installs and updates /etc/shadow  with  information     from /etc/passwd&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SVM&lt;/span&gt;&lt;br /&gt;How to delete the diskset without owner&lt;br /&gt;metaset -s &lt;disk_set&gt; -P&lt;br /&gt;&lt;br /&gt;How to take the diskset&lt;br /&gt;metaset -s &lt;disk_set&gt; -t -f&lt;br /&gt;&lt;br /&gt;&lt;/disk_set&gt;&lt;/disk_set&gt;&lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span class="420184911-21102008"&gt;To remove the stale  dgs ( when the corresponding luns got deleted) in SVM:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span class="420184911-21102008"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span class="420184911-21102008"&gt;1. unmount fs ( if  it is mounted).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span class="420184911-21102008"&gt;2. cleanup the  corresponding entries in vfstab file&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span class="420184911-21102008"&gt;3. &lt;strong&gt;metaset  -s &lt;dgname|setname&gt; -A disable&lt;/dgname|setname&gt;&lt;/strong&gt; if u created dg using SDU -&gt;  This will relase Autotake feature. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span class="420184911-21102008"&gt;4. &lt;strong&gt;metaset  -s &lt;dgname|setname&gt; -r&lt;/dgname|setname&gt;&lt;/strong&gt;  -------&gt; This command release the  ownership of the host&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span class="420184911-21102008"&gt;5. &lt;strong&gt;metaset  -s &lt;dgname|setname&gt; -P&lt;/dgname|setname&gt;&lt;/strong&gt; ------&gt;  This command will delete the  dg. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 128);font-size:180%;" &gt;&lt;u&gt;Configuring Telnet / FTP to login as root (Solaris)&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;p&gt;   &lt;u&gt;&lt;b&gt;Configure Telnet for root logins&lt;/b&gt;&lt;/u&gt;    &lt;/p&gt;&lt;blockquote&gt;     Simply edit the file &lt;code&gt;/etc/default/login&lt;/code&gt; and comment out the following     line as follows: &lt;pre&gt;# If CONSOLE is set, root can only login on that device.&lt;br /&gt;# Comment this line out to allow remote login by root.&lt;br /&gt;#&lt;br /&gt;# CONSOLE=/dev/console&lt;/pre&gt;   &lt;/blockquote&gt;     &lt;p&gt;   &lt;u&gt;&lt;b&gt;Configure FTP for root logins&lt;/b&gt;&lt;/u&gt;   &lt;/p&gt;     First remove the 'root' line from &lt;tt&gt;/etc/ftpusers&lt;/tt&gt;.     &lt;p&gt;     Also, don't forget to edit the file &lt;tt&gt;/etc/ftpaccess&lt;/tt&gt; and      comment out the 'deny-uid' and 'deny-gid' lines. If the file doesn't exist,      there is no need to create it.       &lt;/p&gt;           &lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;NOTE&lt;/span&gt;:&lt;/b&gt; If you are      using Solaris 9 or Solaris 10, the &lt;tt&gt;ftp*&lt;/tt&gt; files are located in      &lt;tt&gt;/etc/ftpd&lt;/tt&gt;&lt;br /&gt;/etc/ftpd/ftp*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-7477096701955953446?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/7477096701955953446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=7477096701955953446' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/7477096701955953446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/7477096701955953446'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2008/09/solaris.html' title='Solaris'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8891924952565720560.post-1703809891869389197</id><published>2008-09-19T04:45:00.000-07:00</published><updated>2008-10-01T01:03:15.991-07:00</updated><title type='text'>SAN</title><content type='html'>AIX : to get OS is 64bit&lt;br /&gt;bash-3.2# getconf -a | grep 64&lt;br /&gt;HARDWARE_BITMODE:                       64&lt;br /&gt;&lt;br /&gt;Stop NIS services on AIX&lt;br /&gt;&lt;br /&gt;To use SMIT type:&lt;br /&gt;&lt;b&gt;# &lt;a name="ndxsmitypstartstopsec11.1"&gt;smit ypstartstop&lt;/a&gt;&lt;/b&gt;&lt;p&gt;&lt;code&gt; &lt;/code&gt;  &lt;/p&gt;&lt;br /&gt;&lt;p&gt; To stop all &lt;b&gt;yp&lt;/b&gt; daemons: &lt;/p&gt;&lt;p&gt;&lt;code&gt; &lt;b&gt;# &lt;a name="ndxstopsrcsec11.1"&gt;stopsrc&lt;/a&gt; -g yp&lt;/b&gt; &lt;/code&gt; &lt;/p&gt;&lt;p&gt; To start all &lt;b&gt;yp&lt;/b&gt; daemons: &lt;/p&gt;&lt;p&gt;&lt;code&gt; &lt;b&gt;# &lt;a name="ndxstartsrcsec11.1b"&gt;startsrc&lt;/a&gt; -g yp&lt;/b&gt; &lt;/code&gt; &lt;/p&gt;&lt;p&gt; To stop a &lt;b&gt;yp&lt;/b&gt; daemon, for example &lt;b&gt;&lt;a name="ndxypbindsec11.1f"&gt;ypbind&lt;/a&gt;&lt;/b&gt;, individually: &lt;/p&gt;&lt;p&gt;&lt;code&gt; &lt;b&gt;# stopsrc -s ypbind&lt;/b&gt; &lt;/code&gt; &lt;/p&gt;&lt;p&gt; To start a &lt;b&gt;yp&lt;/b&gt; daemon, for example &lt;b&gt;ypserv&lt;/b&gt;, individually: &lt;/p&gt;&lt;p&gt;&lt;code&gt; &lt;b&gt;# &lt;a name="ndxstartsrcsec11.1c"&gt;startsrc&lt;/a&gt; -s &lt;a name="ndxypservsec11.1d"&gt;ypserv&lt;/a&gt;&lt;/b&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;b&gt;&lt;a name="ndxypservsec11.1d"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/b&gt; &lt;/code&gt; &lt;/p&gt;&lt;br /&gt;HPUX&lt;br /&gt;If swinstall gives messages like below , than what to do ;&lt;br /&gt;&lt;font class="Text"&gt;he depot owner, system administrator, or alternate root owner may need to the "swreg" or "swacl" command to give you permission. Or, tomanage applications designed and packaged for nonprivileged mode, see the "run_as_superuser" option in the "sd" man page.&lt;br /&gt;&lt;br /&gt;To DO&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font class="Text"&gt;/sbin/init.d/swagentd stop&lt;br /&gt;/sbin/init.d/swagentd start&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;Now use swinstall to install software on hpux&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Increase Swap Size&lt;br /&gt;&lt;br /&gt;AIX&lt;br /&gt;You can use smitty go to logical volume manager ---&gt;volume groups&lt;br /&gt;..&lt;br /&gt;then there is last option paging space click on that ..&lt;br /&gt;go to  change/show characteristics ..&lt;br /&gt;then add number of additional logical  partitions...&lt;br /&gt;be cautious about the same as 1 logical partition = 64 MB&lt;br /&gt;presently u said tha u have 512MB and u wannna 2 GB then&lt;br /&gt;just add  logical partition = 24&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solaris&lt;br /&gt;&lt;ol&gt;&lt;li&gt; &lt;p&gt;Use &lt;code&gt;mkfile&lt;/code&gt; to create a file suitable for a local swap area. For  example, to create a 1GB swap file: &lt;/p&gt;&lt;pre&gt;    /usr/sbin/mkfile 1024m /swap&lt;/pre&gt; &lt;p&gt;where &lt;code&gt;/swap&lt;/code&gt; is the name of the file to be used as swap space.  Units for the size can be kilobytes (k), blocks (b), or megabytes (m). &lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;Tell the system to start using the file as swap: &lt;/p&gt;&lt;pre&gt;    /usr/sbin/swap -a /swap&lt;/pre&gt; &lt;p&gt;Use &lt;code&gt;swap -l&lt;/code&gt; to verify that the swap file has been activated.  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Linux&lt;br /&gt;&lt;pre&gt;[root@srv-2 /opt]# dd if=/dev/zero of=swapfile bs=1024 count=132207&lt;br /&gt;[root@srv-2 /opt]# chmod 600 swapfile&lt;br /&gt;[root@srv-2 /opt]# mkswap swapfile&lt;br /&gt;Setting up swapspace version 1, size = 135372800 bytes&lt;br /&gt;[root@srv-2 /opt]# swapon swapfile&lt;br /&gt;&lt;/pre&gt;You can edit /etc/fstab to enable your swap file automatically at boot  time.&lt;br /&gt;By adding an entry like this:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#e0e0e0" border="0" width="100%"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;pre&gt;/opt/swapfile           swap                    swap    defaults        0 0&lt;br /&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8891924952565720560-1703809891869389197?l=chat2mittal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chat2mittal.blogspot.com/feeds/1703809891869389197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8891924952565720560&amp;postID=1703809891869389197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/1703809891869389197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8891924952565720560/posts/default/1703809891869389197'/><link rel='alternate' type='text/html' href='http://chat2mittal.blogspot.com/2008/09/san.html' title='SAN'/><author><name>Nikhil</name><uri>http://www.blogger.com/profile/16006600091120412914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/_qG-NxfmwPvY/SNOW3ygX--I/AAAAAAAABlE/Z-acB0ld7DY/S220/jijaji_police.jpg'/></author><thr:total>0</thr:total></entry></feed>
