当前位置:网站首页>Oracle ASM uses the CP command in asmcmd to perform remote replication
Oracle ASM uses the CP command in asmcmd to perform remote replication
2022-06-22 23:49:00 【cqszpx】
Oracle ASM Use asmcmd Medium cp Command to perform remote replication
cp The syntax of the command is as follows :
cp src_file [--target target_type] [--service service_name] [--port port_num] [connect_str:]tgt_file
--target target_type Is used to specify asmcmd Command to execute the target type of the instance to which the copy operation must be connected . Valid options are ASM,IOS or APX.
--service service_name If the default value is not +ASM, Used to specify Oracle ASM Instance name
--port port_num The default value is 1521, Used to specify the listening port
connect_str Used to specify the connection string to connect to the remote instance .connect_str The replication of local instances does not need to be specified . For remote instance replication , You must specify a connection string and will be prompted for a password . The format is as follows :
[email protected]
user,host and SID All need to be specified . The default port is 1521, You can also use --port Options to modify . Connection permissions (sysasm or sysdba) Is started by asmcmd The command is given by --privilege Options .
src_file The name of the copied source file , It must be a full path file name or a Oracle ASM Alias . In execution asmcmd Replication time ,Oracle ASM Will create a OMF Files such as :
diskgroup/db_unique_name/file_type/file_name.#.#
among db_unique_name Set to ASM,# Is the number . In the process of copying cp The command will create a directory structure for the target address and for the actually created OMF File creation alias .
tgt_file The alias of the target file name or an alias directory name created by the copy operation .
Be careful ,cp The command cannot copy files between two remote instances . In execution cp Command time local Oracle ASM The instance must be a source address or a destination address .
Use cp The command can perform the following three replication operations :
1. Copy files from the disk group to the operating system
2. Copy files from the disk group to the disk group
3. Copy files from the operating system to the disk group
Orders such as :
ASMCMD [+] > cp +data/cs/datafile/[email protected]+ASM1:+TEST/sz.bakEnterpassword: ***********
copying +data/cs/datafile/sz.331.976296525 -> 192.168.133.120:+TEST/sz.bak

边栏推荐
- OJ daily practice - delete word suffixes
- 程序员接私活兼职选择
- OJ每日一练——整理命名
- Redis缓存
- [STM32 skill] use the hardware I2C of STM32 Hal library to drive rx8025t real-time clock chip
- 【GO】Go数组和切片(动态数组)
- Optimization - linear programming
- Use the find command
- Problèmes rencontrés lors de l'utilisation de redistemplate
- tp5.1上传excel文件并读取其内容
猜你喜欢

Flutter outsourcing, undertaking flutter project

Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!

DCC888 :SSA (static single assignment form)

tp5.1上传excel文件并读取其内容

KunlunDB备份和恢复

JSBridge

【GO】Go Modules入门

异步FIFO
![[arm] it is reported that horizontal display is set for LVDS screen of rk3568 development board](/img/3c/717b4a481bfff1d37e3c271f37a7d6.png)
[arm] it is reported that horizontal display is set for LVDS screen of rk3568 development board

Customize multi-level list styles in word
随机推荐
剑指 Offer 05. 替换空格
swagger2 使用方法
输出字符串中最长的单词
Unity:利用 射线Ray 检测物体
在一条DML语句中插入/更新/删除/获取几百万行数据,你会特别注意什么?
OJ每日一练——过滤多余的空格
Synchronization circuit and cross clock domain circuit design 2 -- cross clock domain transmission (FIFO) of multi bit signals
os.Args[1:]中命令行参数为空时,不执行内部语句
MySQL-Seconds_behind_master 的精度误差
考过HCIP依然转行失败,职业网工最看重的到底是什么
Dml:data manipulation language
企业数字化不是各自发展,而是全面SaaS化推进
OJ daily practice - spanning 2020
Bubble sort pointer
Digital data was invited to participate in Nantong enterprise digital transformation Seminar
DCC888 :SSA (static single assignment form)
Sword finger offer 06 Print linked list from end to end
Sword finger offer 11 Minimum number of rotation array
Is it safe to make an appointment to pay new debts? Is it reliable?
WebRTC系列-网络传输之4Connection排序