rac環境 asmcmd用法;首先設定oracle_home oracle_sid(asm例項)
C:Documents and SettingsAdministrator>asmcmd
"asmcmd: the environment variable ORACLE_HOME is not set."
C:Documents and SettingsAdministrator>set oracle_home=c:oracleproduct10.2.0
db_1
C:Documents and SettingsAdministrator>set oracle_sid=+asm1
C:Documents and SettingsAdministrator>asmcmd
ASMCMD> help
asmcmd [-p] [command]
The environment variables ORACLE_HOME and ORACLE_SID determine the
instance to which the program connects, and ASMCMD establishes a
bequeath connection to it, in the same manner as a SQLPLUS / AS
SYSDBA. The user must be a member of the SYSDBA group.
Specifying the -p option allows the current directory to be displayed
in the command prompt, like so:
ASMCMD [+DATAFILE/ORCL/CONTROLFILE] >
[command] specifies one of the following commands, along with its
parameters.
Type "help [command]" to get help on a specific ASMCMD command.
commands:
--------
cd
du
find
help
ls
lsct
lsdg
mkalias
mkdir
pwd
rm
rmalias
ASMCMD> ls
DATA/
ASMCMD> cd data
ASMCMD> ls
ORACLE/
ASMCMD> cd oracle[@more@]
"asmcmd: the environment variable ORACLE_HOME is not set."
C:Documents and SettingsAdministrator>set oracle_home=c:oracleproduct10.2.0
db_1
C:Documents and SettingsAdministrator>set oracle_sid=+asm1
C:Documents and SettingsAdministrator>asmcmd
ASMCMD> help
asmcmd [-p] [command]
The environment variables ORACLE_HOME and ORACLE_SID determine the
instance to which the program connects, and ASMCMD establishes a
bequeath connection to it, in the same manner as a SQLPLUS / AS
SYSDBA. The user must be a member of the SYSDBA group.
Specifying the -p option allows the current directory to be displayed
in the command prompt, like so:
ASMCMD [+DATAFILE/ORCL/CONTROLFILE] >
[command] specifies one of the following commands, along with its
parameters.
Type "help [command]" to get help on a specific ASMCMD command.
commands:
--------
cd
du
find
help
ls
lsct
lsdg
mkalias
mkdir
pwd
rm
rmalias
ASMCMD> ls
DATA/
ASMCMD> cd data
ASMCMD> ls
ORACLE/
ASMCMD> cd oracle[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70612/viewspace-1016064/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- (轉)Oracle rac環境下清除asm例項OracleASM
- 刪除Linux非rac環境下的ASM例項LinuxASM
- 刪除Linux非rac環境下的ASM例項(轉)LinuxASM
- 單機環境配置ASM例項ASM
- 【ASM學習】在windows 環境下建立ASM例項ASMWindows
- ASM單例項(Oracle 11.2.0.4)環境(一)ASM單例Oracle
- ASM單例項(Oracle 11.2.0.4)環境(二)ASM單例Oracle
- 單機環境安裝配置ASM例項ASM
- Windows平臺模擬單例項ASM環境Windows單例ASM
- ORACLE_SID環境變數設定的問題Oracle變數
- RAC+DG(asm單例項)ASM單例
- linux下設定ORACLE_SID和ORACLE_HOME變數LinuxOracle變數
- RAC和ASM環境下打patchASM
- 11.2環境ASM例項spfile放在ASM磁碟組的訪問方式ASM
- RAC asm恢復到單例項ASM單例
- RAC環境只啟動單例項資料庫單例資料庫
- rac asm 恢復到 單例項 1ASM單例
- rac asm 恢復到 單例項 2ASM單例
- Rman 單例項filesystem(Windows)恢復到ASM環境(Linux)單例WindowsASMLinux
- 【asmcmd】使用asmcmd工具管理ASMASM
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- Oracle10g RAC ASM 環境日常管理OracleASM
- Oracle10g RAC環境下DataGuard備庫搭建例項Oracle
- 查詢RAC環境中例項間資源分配情況
- RAC環境一個例項何時會歸檔另一個例項的日誌
- oracle asm asmcmdOracleASM
- ASM工具asmcmdASM
- Oracle RAC 高可用性體系結構與叢集 單例項環境與 Oracle RAC 環境對比Oracle單例
- 從單例項資料庫轉換到RAC環境——RAC的建立和配置單例資料庫
- Spark程式設計環境搭建及WordCount例項Spark程式設計
- 使用RMAN將RAC+ASM複製到單例項+ASM上ASM單例
- 【RAC】由系統環境變數中"/"引起的空閒例項變數
- Oracle10g RAC環境下DataGuard備庫搭建例項-eygleOracle
- 單例項環境利用備份恢復RAC資料庫(四)單例資料庫
- 單例項環境利用備份恢復RAC資料庫(三)單例資料庫
- 單例項環境利用備份恢復RAC資料庫(二)單例資料庫
- 單例項環境利用備份恢復RAC資料庫(一)單例資料庫
- RAC環境啟動單例項報錯ORA-1105單例