Discover asm commands in oracle 11g, include the articles, news, trends, analysis and practical advice about asm commands in oracle 11g on alibabacloud.com
Connecting oracle11gr2asm instances when you start connecting to ASM, the 10G approach is not connected to the ASM connection is idle instance [[emailprotected] ~]#su-oracle[[emailprotected]~]$exportoracle_sid=+asm2[[email protected]~]$sqlplus/assysdbasql*plus:release 11.2.0.3.0ProductiononWedMay1618:23:392012Copyright (c) 1982,2011,oracle.allrightsreserved. Conn
/controlfile/current.258.871040903finished Restore at 2015/02/07 11:48:26rman> rman> rman> SQL ' ALTER DATABASE mount '; SQL Statement:alter database mountreleased Channel:ora_di sk_1rman> SQL ' ALTER DATABASE open '; SQL Statement:alter database openrman> exitrecovery Manager complete. [[emailprotected] ~]$ sqlplus/as sysdbasql*plus:release 11.2.0.3.0 Production on Sat Feb 7 11:49:10 2015Copyright (c) 1982, Oracle. All rights reserved. Connected to:o
at the operating system level/etc/init. d/oracleasm createdisk DATA3_TEST/dev/mapper/mpathx)
SQL> alter diskgroup datadg add disk 'ORCL: DATA3_TEST 'name disk08_test;
Delete the ASM disk disk08_test from the ASM disk group datadg.
SQL> alter diskgroup datadg drop disk disk08_test;
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing
, such as:[[email protected] ~]$ asmcmd ls-ls//view ASM disk usageTo use the graphical interface, you can use the ASM Assistant command: ASMCA[Email protected] ~]$ Sqlplus/as sysasm--View Disk group informationSql> Select Name,state,type,total_mb, free_mb from V$asm_diskgroup;--View disk informationSql> select Group_number,path,state,total_mb,free_mb from V$asm_disk;--View disk I/O information, DATADG to di
In an Oracle RAC environment, use a grid account to performRun asmcmd into ASM command mode, such as:[Email protected] ~]$ AsmcmdAsmcmd>Asmcmd> du//displays all disk space occupied by ASM files in the specified ASM directoryAsmcmd> Ls-ls//Lists the contents of the ASM direct
I. ASM fast disk Resync Overview
1) when we take a disk offline in case the disk is already upted or database is not able to read or write from the disk. in case of Oracle Database 10 Gb, Oracle engine use to balance the other disks with the content of offline disk. this process was a relatively costly operation, and cocould take hours to complete, even if the di
Oracle 11G 64-bit automatic restart and shutdown commands in RHEL (Red Hat Enterprise Linux, the same below) 5.5 64-bit:
Log On As an oracle user and enter:
VI/etc/init. d/Oracle
On the Edit page, add the following content: (assume that the
"asmcmd-p" and add the "-p" parameter to display the current path.The following are some available commands provided by ASMCMD. The new commands in oracle 11g include cp, md_backup, and md_restore.ASMCMD>?Commands:--------Help
CdCpDuFindLsLsctLsdgMkaliasMkdirPwdRmRmalias
Md
and datafiles;Modify table space Size (Note: Modify = can be increased and can be reduced.) )alter?database?datafile '/u01/app/oracle/oradata/orcl/ittbank.dbf ' resize 200m;Increase table space Size (Note: increase = can only increase, cannot be reduced.) )alter tablespace ittbank add datafile '/u01/app/oracle/oradata/orcl/ittbank.dbf ' size 2048m;Querying database files:select * from Dba_data_files;To que
The purpose of this document is to provide information about the ASM rolling upgrade feature and step by step to install a patchset or patch in ASM home without downtime.Solution
The following conditions shoshould be met for to perform ASM rolling upgrade
(*) An ASM rolling upgrade applies only to clustered
= "American_america" in the. Bash_profile in the/home/oracle and/root user directories.
UTF8 "statement to close the current SSH window.
Drop tablespace ts_data including contents and datafiles; Create tablespace ts_data logging datafile ' D:\tablespace\TS_DATA.dbf ' size 50m autoextend on next 50m maxsize 20480
m extent management local;
Drop user User1 cascade;
Create user user1 identified by 123456 default Tablespace ts_data;
Grant Connect,r
Create an Oracle 11g database using commands
This document describes how to create an Oracle database that complies with the OFA specification using the create database Command of the Oracle database.
1. Set the environment variable (vi. bash_profile or save it as an executa
PS: The following are the most common basic management commands for Oracle 11g, including creating users, table spaces, permission assignments, and so on. The following commands I have verified the operation, and added my summary and instructions.1. Start the Oracle database
11g ASM Single Instance dbca error prcr-1006 crs-0259 prcr-1071
11g ASM dbca error prcr-1006 crs-0259 prcr-1071When creating a single instance DB Using ASM, it appears when running DBCAPRCR-1006: Failed to add resource ora. orcl. db for orclPRCR-1071: Failed to register or u
that most ASM instance management commands are no longer used with SYSDBA. SYSDBAbackwards compatibility is still available, assuming that SYSDBA is used, there is information such as the following in the ASM alert logWrite:
warning:deprecated privilege SYSDBA for command ' STARTUP '
The purpose of SYSASM permissions is to separate
The 11g asm disk cannot be automatically mounted.
I started ASM today and found that only one SYS_DG DISK is mounted (used to store OCR and VOTING DISK information). The other two DISK groups DATA_DG and DG_FRA do not mount.Environment: OS = RHEL 6 DB = Oracle11GR2
[Grid @ myrac1 ~] $ Crs_stat-tName Type Target State Host------------------------------------------
I/O system call interface ).
ASM is implemented and deployed as a separate Oracle instance. It only needs to have a parameter file and can start the ASM instance without any other physical files. Only when it is running, to be accessed by other data. On the Linux platform, you can access ASM only when you run the OCSS
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.