1. Place the Lrvine folder in the installation directory of Microsoft Visual Studio 9.0. Mine is D:\Program Files\Microsoft Visual Studio 9.0\irvine
2. Open the Microsoft Visual Studio 9.0\vc\vcprojects directory, join ASM Project.ico and ASM Project.vsz, open the Vc.vsdir file using Notepad, and add the following at the end of the file:
ASM project.vsz| {1b027
① ASM file conversionTake the created asmtest tablespace as an example.(I) convert OS files to ASM files
sys@ORCL> create tablespace asmtest datafile size 10m;Tablespace created.sys@ORCL> alter tablespace asmtest offline;Tablespace altered.[oracle@localhost ~]$ rman target /RMAN> backup as copy tablespace asmtest format '+DATA';RMAN> switch tablespace asmtest to copy;datafile 6 switched to datafile copy "+D
① ASM file conversion
Take the created asmtest tablespace as an example.
(I) convert OS files to ASM files
Sys @ ORCL> create tablespace asmtest datafile size 10 m;
Tablespace created.
Sys @ ORCL> alter tablespace asmtest offline;
Tablespace altered.
[Oracle @ localhost ~] $ Rman target/
RMAN> backup as copy tablespace asmtest format '+ data ';
RMAN> switch tablespace asmtest to copy;
Datafile 6
During storage migration yesterday, when operating on the items in the ASM disk group, a title error occurs, as shown in the following figure. The reason is as follows:If the disk group is created using the asmca graphical tool, the default value of compatible. ASM is 11.2. If you use the create diskgroup SQL command to create a disk, the default value is 10.1, which must be manually modified. Therefore, yo
Tags: Software Target case primary ffline mkdir OCR pad numberoracle11g R2 "Rac+asm→rac+asm"Environment used in this demo case: RAC+ASM+OMF
Primary
Standby
OS Hostname
Node1,node2
Dgnode1,dgnode2
OS Version
RHEL6.5
RHEL6.5
DB Version
11.2.0.4
11.2.0.4
ORACLE uses the ASM storage. When creating a database, the redundant attribute of the disk group uses EXTERN. To change the disk group to NORMAL, perform the following steps:
ORACLE uses the ASM storage. When creating a database, the redundant attribute of the disk group uses EXTERN. To change the disk group to NORMAL, perform the following steps:
1. Create a new disk group with the expected attributes
Occasionally a valid ANSI/ISO program may be incompatible with the extensions in gnu c. To deal with this situation, the compiler option-ansiDisables those GNU extensions which are in conflict with the ANSI/ISO standard. On systems using the gnu c library (glibc) It also disables extensions to the C standard library. This allows programs written for ANSI/iso c to be compiled without any unwanted effects from GNU extensions.
For example, here is a valid ANSI/iso c program which uses a variable ca
Environment: spring2.0 hibernate3.1.x/hibernate3.2
These libraries are used in Spring AOP programming:Asm-2.2.2.jarAsm-commons-2.2.2.jarAsm-util-2.2.2.jar
If hibernate uses Lib:ASM. JarAsm-attrs.jar
The asm-2.2.2.jar and ASM. jar have a class conflict !!!If either of them is used, the following error may occur:Java. Lang. noclassdeffounderror: ORG/objectweb/ASM
[Oracle @ localhost ~] $ Asmcmd help = y
Commands:
--------
Cd
Du
Find
Help
Ls
Lsct
Lsdg
Mkalias
Mkdir
Pwd
Rm
Rmalias
① List Directory Information
ASMCMD> ls
DATA/
ASMCMD> ls-al
State Type Rebal Unbal Name
Mounted normal n data/
② Alias
ASMCMD> ls-al
Type Redund Striped Time Sys Name
Onlinelog mirror fine nov 04 19:00:00 Y none => group_4.256.798491239
ASMCMD> mkalias group_4.256.798491239 redo_log_group_3.log
ASMCMD> ls-al
Type Redund Striped Time Sys Name
Onlinelog mirror fine nov 04 19:00
[oracle@localhost ~]$ asmcmd help=y commands: -------- cd du find help ls lsct lsdg mkalias mkdir pwd rm rmalias
① List Directory Information
ASMCMD> lsDATA/ASMCMD> ls -alState Type Rebal Unbal NameMOUNTED NORMAL N N DATA/
② Alias
ASMCMD> ls -alType Redund Striped Time Sys NameONLINELOG MIRROR FINE NOV 04 19:00:00 Y none => group_4.256.79849123
=150*.remote_login_passwordfile='NONE'*.sga_target=418381824*.undo_management='AUTO'*.undo_tablespace='UNDOTBS1'*.user_dump_dest='/u01/app/oracle/admin/orcl/udump'SPFILE='+WATER/ORCL/spfileorcl.ora'
⑺ Check the connection between the ASM instance and the database instance
ASMCMD> lsctDB_Name Status Software_Version Compatible_version Instance_Nameorcl CONNECTED 10.2.0.1.0 10.2.0.1.0 orcl
Summary:The first migratio
(ASM Automatic Storage Management) is a data file storage mechanism dedicated to Oracle database services. By managing data files through ASM, DBAs no longer have to worry about I/O performance issues, you do not need to know the file name. At the same time, ASM also provides integration from the file system to the volume manager.I. Features of ASM1) automaticall
1. What is ASM?
ASM is called Automatic Storage Management (Automatic Storage Management). It is a new feature launched by Oracle 10 Gb. This is a volume manager provided by Oracle to replace the LVM provided by the operating system. It not only supports single-instance configuration, but also supports multi-instance configuration such as RAC. It will bring great convenience to the Oracle database administr
ASM learning Overview
Oracle ASM (Oracle Automatic Storage Management)Oracle ASM is a volume manager and a file system for Oracle database files that supports single-instance Oracle DatabaseAnd Oracle Real Application Clusters (Oracle RAC) deployments. Oracle ASM is Oracle's recommended storage management solutionThat
Linux automatically connects to the wireless network when it is started, and linux automatically connects to the wireless network when it is started
1. Right-click the "Edit connection" icon of the wireless network diagram ".
2. on the "wireless" tab, select "edit ".
3. On the "wireless security" tab, enter the wireless key, and select the "available to all users" option in the lower left corner to click
Python connects to sqlite and operations, and python connects to sqlite
Import sqlite3 # query def load (table): # connect to the database con = sqlite3.connect ("E:/Datebase/SQLiteStudio/Park. db ") # obtain the cursor cur = con. cursor () # query the entire table cur.exe cute ('select * from' + table) lists = ['name', 'Password'] if table = 'login ': # store the database column name in the dictionary col
Java connects to the mysql database for content query, and java connects to the mysql database
Recently, I used the framework to do several projects. I felt a little forgotten about the underlying things. I wrote a simple JDBC connection code to familiarize myself with this, I also hope it will be helpful for new users. This is also my first article. If you don't talk much about it, go directly to the Code:
Python automatically connects to ssh, and python connects to ssh
This example describes how to automatically connect to ssh using Python. Share it with you for your reference. The specific implementation method is as follows:
#! /Usr/bin/python #-*-coding: UTF-8-*-import sys, time, ostry: import pexpectexcept ImportError: print "You must install pexpect module" "sys. exit (1) addr_map = {'v3 ':( 'root @ 1
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.