当前位置:网站首页>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

边栏推荐
- 从类、API、框架三个层面学习设计可复用软件的具体技术学习心得
- 优化——线性规划
- After passing the hcip exam, I still failed to change my career. What do professional network workers value most
- Php7.3 error undefined function simplexml_ load_ string()
- 【首发】Redis系列2:数据持久化提高可用性
- [go] getting started with go modules
- XML escape character cross reference table
- js读取剪切板的图片
- Enjoy high-performance computing! Here comes the Tianyi cloud HPC solution
- c# sqlsugar,hisql,freesql orm框架全方位性能测试对比 sqlserver 性能测试
猜你喜欢

MySQL8.0轻松完成GTID主从复制

xml转义字符对照表

【GO】Go Modules入门
![[STM32 skill] use the hardware I2C of STM32 Hal library to drive rx8025t real-time clock chip](/img/32/88321db57afb50ccc096d687ff9c41.png)
[STM32 skill] use the hardware I2C of STM32 Hal library to drive rx8025t real-time clock chip

Digital data depth | about software self-control, source code left, no code right

事务系统的隔离级别

DCC888 :SSA (static single assignment form)

在Word中自定义多级列表样式

Is it difficult to turn weak current into professional network worker? Huawei pre-sales engineers share their own experience

three.js模拟驾驶游览艺术展厅---打造超级相机控制器
随机推荐
剑指 Offer 05. 替换空格
Leakcanary source code (2)
flink同步mysql数据到ES
Unity:利用 射线Ray 检测物体
Is it difficult to turn weak current into professional network worker? Huawei pre-sales engineers share their own experience
JSBridge
js图片分辨率压缩
剑指 Offer 06. 从尾到头打印链表
js读取剪切板的图片
OJ每日一练——单词的长度
OJ每日一练——病毒的增生
Sword finger offer 07 Rebuild binary tree
【首发】请求一下子太多了,数据库危
口令安全是什么意思?等保2.0政策中口令安全标准条款有哪些?
Redis缓存
c# sqlsugar,hisql,freesql orm框架全方位性能测试对比 sqlserver 性能测试
为什么现在大家都不用外键了(二)?
获取当前所在周的起始和结束的日期
剑指 Offer 11. 旋转数组的最小数字
Enjoy high-performance computing! Here comes the Tianyi cloud HPC solution