# chmod -R 775 /u01/ Login as the 'oracle' user and add the following lines at the end of the '/home/oracle/.bash_profile' file. Create a file called '/home/oracle/grid_env' with the following contents. RACLE_SID=+ASM1; export ORACLE_SID ORACLE_HOME=$GRID_HOME; export ORACLE_HOME PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH Create a file called '/home/oracle/db_env' with the following contents. ORACLE_SID=RAC1; export ORACLE_SID ORACLE_HOME=$DB_HOME; export ORACLE_HOME PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH Before any of the disks can be discovered by ASM, they need to be properly partitioned and configured. Before providing the details on how to partition disks, here are some things to keep in mind with regards to configuring disks for ASM: It is recommended when allocating disks for use by ASM, to use the entire disk and allocate this space to slice 4. Before creating the large partition on slice 4 (as described in the previous item) it is required to reserve a small partition (i.e. 500MB) on slice 0 first - then to allocate all remaining space to slice 4. Slice 0 cannot be used as an ASM disk. Using this slice causes disk corruption and may render the disk as unusable. Never use or modify slice 2 of a disk under Solaris as this slice is reserved for the backup partition and always refers to the entire disk. Use the format utility to create disk partitions. Run the format command to create the appropriate partitions on all disks that will be used for Oracle ASM. # format Searching for disks.done AVAILABLE DISK SELECTIONS: 0. C0t0d0 /pci@1f,0/ide@d/dad@0,0 1. Oracle 11g Installation GuideI am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP) View my complete profile. C0t2d0 /pci@1f,0/ide@d/dad@2,0 2. C1t0d0 /pci@1f,0/pci@5/scsi@1/sd@0,0 3. # ls -l /asmdisks The final step we should perform is to give the appropriate permissions to these files for the oracle user account and the ASM instance: # cd /asmdisks # chown oracle:dba disk1 # chown oracle:dba disk2 We now have the slices ready to be accessible by the ASM instance. Install Oracle 11g On Solaris 10 Certification RequirementsDownload Oracle Grid Infrastructure CD or zip file from Oracle software distribution. Decompress zip file to specific folder. Login oracle user and start GI installer: # su – oracle # cd /u02/installation/grid #./runInstaller Following the instruction on the screen complete the GI installation task (Select Install Oracle Grid Infrastructure in Standalone mode in the second step). During the installation Oracle installer allows to create the first ASM group, name it and select ASM disk candidates from created slices above. Use ASMCA GUI interface for creating ASM disk groups - Set ORACLE_HOME, PATH variable to Grid Infra home location. - Make sure proper DISPLAY variable is configured. - Run command asmca from $GRID_HOME/bin Click on create button Here it should discover all raw devices which was configured in previous step Select any one of the Disk with 'external' redundancy and click 'OK' Creation of Disk Group completed Successfully, now you can use this Disk group for all your oracle storage requirements. I have been working in the IT sector since 2000. Presently I’m working as a Senior Oracle Database Administrator for a Vietnamese IT company. I'm honored to be Oracle Database Administrator Professional in 9i and 10g. I have extensive experience with Oracle 8i, 9i, 10g & 11g, and Oracle E-Business Suite 11i, Specializing in Installation, Configuration and Administration of Oracle 8i, 9i, 10g, & 11g Oracle 10g/11g RAC, and Oracle E-Business Suite 11i on different UNIX and Linux OS including Solaris, HP-Unix, IBM AIX and Red Hat. Experience in Upgrading Oracle 8i, 9i, 10g, & 11g and Oracle E-Business Suite 11i. Good exposure in implementing of backup & recovery strategies, applications cloning & refreshing, applications patching, and performance tuning, And also, I’m an Oracle Certified Professional (OCP) in 9i, 10g. Best drivers installation software driver pack solution torrent. You can contact me at [email protected].
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |