All steps in this procedure are run as the oracle user that is a member of the OSDBA group. OS authentication is used to connect to both the source and destination databases. Initial Setup 1.1 创建 xtts 目录,解压 rman_xttconvert_v3.zip 软件包 mkdir -p /home/oracle/xtts/backupmkdir -p...

# Prerequisites of XTTS 平台字节序和字符集,不支持 Windows 平台,源端与目标端的字符集需相同 -- 查询平台和字节序col PLATFORM_NAME format a30SELECT d.PLATFORM_ID,d.PLATFORM_NAME, tp.ENDIAN_FORMAT FROM V$TRANSPORTABLE_PLATFORM tp, V$DATABASE d WHERE tp.PLATFORM_NAME = d.PLATFORM_NAME;-- 查询字符集select * from nls_database_parameters where...

# Using sp_help_revlogin transfer logins and passwords Run the following script: USE masterGOIF OBJECT_ID ('sp_hexadecimal') IS NOT NULL DROP PROCEDURE sp_hexadecimalGOCREATE PROCEDURE sp_hexadecimal @binvalue varbinary(256), @hexvalue varchar (514) OUTPUTASDECLARE @charvalue varchar...

# Orphaned Users of SQLServer Detect orphaned users. SELECT dp.type_desc, dp.sid, dp.name AS user_nameFROM sys.database_principals AS dpLEFT JOIN sys.server_principals AS sp ON dp.sid = sp.sidWHERE sp.sid IS NULL AND dp.authentication_type_desc = 'INSTANCE'; Resolve an orphaned...

# SQLServer AlwaysOn Database Cannot Shrink Log File SQLServer - 2016 After the AlwaysOn database transaction log is truncated, the log file cannot be shrink, resulting in a large amount of disk space occupied by the log file. # Solution If you have scheduled T-Log Backup on alwaysOn Database,...

# Oracle Database in Pacemaker Corosync Cluster # Configuring an lvm volume with an ext4 file system Create an LVM physical volume pvcreate /dev/sdb1pvcreate /dev/sdc1 Create the volume group vgcreate data_vg /dev/sdb1vgcreate arch_vg /dev/sdc1 Create a logical volume lvcreate -l 100%FREE -n...

# Ansible configuration file Ansible 按照如下位置和顺序来查找 ansible.cfg 文件: ANSIBLE_CONFIG 环境变量所指定的文件 当前目录下的 ansible.cfg 文件 Home 目录下的的.ansible.cfg 文件 /etc/ansible/ansible.cfg 文件 [defaults]inventory = ./inventoryremote_user = normaluserask_pass = false[privilege_escalation]become = truebecome_method =...

# Configuring iSCSI Share on Linux # iSCSI Directory Introduction /backstores/block is the location where local shared devices are stored. /iscsi/<target>/tpg1/luns stores the shared resource devices that have been added to the target. /iscsi/<target>/tpg1/acls is used...

# Kickstart 通过编辑引导装载程序配置启动 Kickstart 安装 打开 PXE 服务器中的引导装载程序配置文件,并在合适的行中添加 inst.ks= 引导选项。该文件的名称及句法取决于您系统的架构和硬件: 在使用 BIOS 的 AMD64 和 Intel 64 系统中,该文件名称可以是 default,也可以是根据您的系统 IP 地址命名。因此,请在安装条目的 append 行中添加 inst.ks= 选项。该配置文件中 append 行示例类似如下: append initrd=initrd.img...

# PXE for BIOS 为使用 BIOS 的 AMD64 和 Intel 64 客户端配置 PXE 服务器 安装 tftp 软件包。请作为 root 运行以下命令完成此步骤: [root@rhel-7 ~]# yum install tftp-server 在 /etc/xinet.d/tftp 配置文件中,将 disabled 参数从 yes 改为 no。 [root@rhel-7 ~]# vim /etc/xinetd.d/tftp# default: off# description: The tftp server serves files using the trivial...