摘要: 1.搭建基础环境 [root@MHA-Master-201 mysql-backup]# !mysql mysql -uroot -p123456 mysql: [Warning] Using a password on the command line interface can be insec 阅读全文
posted @ 2021-01-19 21:26 Oracle-fans 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 此为 软件包配置文件 software.conf [CentOS6] binutils-2.20.51.0.2-5.11.el6 (x86_64) compat-libcap1-1.10-1 (x86_64) compat-libstdc++-33-3.2.3-69.el6 (x86_64) com 阅读全文
posted @ 2019-12-10 09:42 Oracle-fans 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 此为网络配置文件 network.conf [PUBLIC-IP] IP-LIST:192.168.7.198,192.168.8.221 HOSTNAME-LIST:mysql-198,RAC2 NETMASK:255.255.255.0 GATEWAY:192.168.7.1 DNS1:202. 阅读全文
posted @ 2019-12-10 09:41 Oracle-fans 阅读(326) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash node_num=$1 base_config=./network.conf 网络配置文件 software_config=./software.conf 软件包配置文件 tmp_file=/tmp/autorac.tmp DISPLAY_ADDR=192.168.8.229 阅读全文
posted @ 2019-12-10 09:40 Oracle-fans 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Windows系统启动时出现Invalid Partition Table错误 2018-07-27 16:32 今天KB小网管跟大家分享一个在重装Windows系统时会出现的一个问题Invalid Partition Table黑底白字。如图 Invalid Partition Table 正常开 阅读全文
posted @ 2019-10-15 14:33 Oracle-fans 阅读(7010) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-05 19:04 Oracle-fans 阅读(129) 评论(0) 推荐(0) 编辑
摘要: ./sshUserSetup.sh -user 用户名 -hosts "主机名1 主机名2 主机名3 。。。" -advanced -noPromptPassphrase 这个11g才有,但是可以拷到10g上用 [oracle@vma ~]$ cd /mnt/database/ [oracle@vm 阅读全文
posted @ 2019-02-02 10:43 Oracle-fans 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # 以下配置信息请自己修改mysql_user="USER" #MySQL备份用户mysql_password="123456" #MySQL备份用户的密码mysql_host="localhost"mysql_port="3309"mysql_charset="utf8" 阅读全文
posted @ 2019-01-08 16:17 Oracle-fans 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 1.目标库新建数据库root@mysqldb 14:10: [(none)]> create database db_name; root@mysqldb 14:11: [(none)]> use db_name;2.目标库建表mysql> source /scripts/db_name.sql;3 阅读全文
posted @ 2019-01-07 15:09 Oracle-fans 阅读(241) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash export host_ip=192.168.7.79 export password=123456 echo '#1.取master主机ip的后三位作为master的server_id' export host_server_id=`echo $host_ip |awk - 阅读全文
posted @ 2019-01-04 12:47 Oracle-fans 阅读(139) 评论(0) 推荐(0) 编辑