- 论坛徽章:
- 0
|
Oracle 10.2 ASM New Features
ASM FTP Support
In Oracle 10.2 and above files in ASM file systems can be accessed using FTP
Requires XML DB installation
Created by default during DBCA installation
Port numbers must be assigned manually. For example:
FTP 7001
HTTP/WebDAV 8001
Port numbers can be assigned in
Enterprise Manager XDB Configuration Page
SQL*Plus
For example, run the following SQL*Plus script as SYSDBA
SQL> @$ORACLE_HOME/rdbms/admin/catxdbdbca.sql 7001 8001
All ASM files are stored in /sys/asm
Use any ftp client. For example:
$ ftp -u # -u suppresses Kerberos authentication
ftp> open localhost 7001 # use FTP port
ftp> user system
331 pass required for SYSTEM
Password:
230 SYSTEM logged in
ftp> cd /sys/asm/diskgroup1/test/controlfile
ftp> ls # list files in directory
-rw-r--r-- 1 SYS oracle 7258112 SEP 08 18:30 Current.305.566832105
ftp> bin # switch to binary for file transfers
ftp> get Current.305.566832105 # can also put file
ftp> bye
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7315/showart_121671.html |
|