摘要: 操作系统:centos7.6 oracle版本:11.2.0.4 一、源数据库操作 1.源库备份情况:查看nbu备份文件 /usr/openv/netbackup/bin/bplist -C bomdb -S NBU-server -t 4 -R -l / 2.创建pfile文件并传递到目标库 cr 阅读全文
posted @ 2024-10-24 10:05 sherq1989 阅读(58) 评论(0) 推荐(0)
摘要: 注意:zabbix7导入数据之前,如果有zabbix库把这个库删除掉(如果覆盖7的数据导入后会有很多数据问题)。另外不要全库导出,只导出zabbix库即可(不然系统表会丢失infoschema账号) 1.zabbix4上的mysql数据库导出 nohup mysqldump -uroot -pxxx 阅读全文
posted @ 2024-10-11 11:07 sherq1989 阅读(396) 评论(0) 推荐(0)
摘要: 一.安装zabbix-proxy 1.下载软件仓库 rpm -Uvh https://repo.zabbix.com/zabbix/7.0/alma/9/x86_64/zabbix-release-7.0-2.el9.noarch.rpm dnf clean all dnf makecache 2. 阅读全文
posted @ 2024-10-10 17:18 sherq1989 阅读(302) 评论(0) 推荐(0)
摘要: 一、安装mysql8 1.下载mysql wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.37-1.el9.x86_64.rpm-bundle.tar 2.解压 mkdir mysql tar xf mysql-8.0.37- 阅读全文
posted @ 2024-10-10 09:20 sherq1989 阅读(605) 评论(0) 推荐(0)
摘要: 一、rac关闭顺序 1.停止em服务 emctl status dbconsole emctl stop dbconsole #两个节点操作 2.停止数据库 srvctl stop database -d prod -o immediate 3.停监听 srvctl status listener 阅读全文
posted @ 2024-09-27 15:19 sherq1989 阅读(797) 评论(0) 推荐(0)
摘要: 1.创建归档目录 su - grid asmcmd lsdg cd fra mkdir arch 2.修改归档路径 su - oracle sqlplus / as sysdfba alter system set log_archive_dest_1='location=+fra/arch' sc 阅读全文
posted @ 2024-09-27 15:11 sherq1989 阅读(340) 评论(0) 推荐(0)
摘要: 1.创建表空间 create tablespace tbs_test datafile '/yourpath/tbs_test01.dbf' size 5g autoextend on next 1g maxsize unlimited; 2.创建用户并授权 create user test ide 阅读全文
posted @ 2024-09-27 15:07 sherq1989 阅读(154) 评论(0) 推荐(0)
摘要: 1.环境配置 主机名 配置 磁盘大小 操作系统 ip地址 k8s-master 2c4g 50g centos7.6 192.168.100.194 k8s-node1 2c4g 50g centos7.6 192.168.100.195 k8s-node2 2c4g 50g centos7.6 1 阅读全文
posted @ 2024-09-27 14:14 sherq1989 阅读(2374) 评论(0) 推荐(0)
摘要: 1.软件下载 https://www.mysql.com/downloads/ 找到mysql community GPL download--mysql community server--选择5.7.44和rhel/oracle 下载mysql-5.7.44-1.el7.x86_64.rpm-b 阅读全文
posted @ 2024-09-23 10:02 sherq1989 阅读(897) 评论(0) 推荐(0)
摘要: 1.查看当前swap分区情况 2.使用dd创建一个4g大小的swap文件 3.将这个swap文件变成swap分区格式 4.启动交换分区,建议将swap文件权限设置为0600 5.检验 6.配置持久化,编辑/etc/fstab文件 /home/swap swap swap defaults 0 0 附 阅读全文
posted @ 2024-09-23 09:56 sherq1989 阅读(21) 评论(0) 推荐(0)