当前位置:网站首页>19C RAC修改VIP及SCANIP步骤-同网段
19C RAC修改VIP及SCANIP步骤-同网段
2022-04-23 06:02:00 【还不算晕】
1.hosts文件中设置#号注释
192.200.54.41 test.hzhospital.com test
192.200.54.42 test2.hzhospital.com test2
173.168.1.1 test-priv.hzhospital.com test-priv
173.168.1.2 test2-priv.hzhospital.com test2-priv
####
#192.200.54.240 test-vip1.hzhospital.com test-vip1
#192.200.54.241 test-vip2.hzhospital.com test-vip2
#192.200.54.242 test-scan.hzhospital.com test-scan
####
192.200.54.241 test-vip1.hzhospital.com test-vip1
192.200.54.242 test-vip2.hzhospital.com test-vip2
192.200.54.240 test-scan.hzhospital.com test-scan
#########################
2.关VIP及SCAN--关数据库
关闭数据库orcle用户:srvctl stop database -d syorcl
普通修改用GRID用户:
srvctl stop vip -n test -f
srvctl stop vip -n test2 -f
srvctl stop listener -n test
srvctl stop listener -n test2
srvctl stop scan_listener
srvctl stop scan
#########################
3.修改VIP及SCAN IP
srvctl config nodeapps -a
修改VIP
srvctl modify nodeapps -n test -A test-vip1.hzhospital.com/255.255.255.0/pubnet
srvctl modify nodeapps -n test2 -A test-vip2.hzhospital.com/255.255.255.0/pubnet
==检查
srvctl config nodeapps -a
修改SCAN用root用户
rvctl config scan
[root@test etc]# /u01/app/19.0.0.0/grid/bin/srvctl modify scan -n test-scan
检查 srvctl config scan
#########################
4.启动:
启动监听程序
srvctl start scan
srvctl start scan_listener
启动VIP/监听
srvctl start vip -n test
srvctl start vip -n test2
srvctl start listener -n test
srvctl start listener -n test2
启动数据库orcle用户:srvctl start database -d syorcl
查看监听状态
lsnrctl status
lsnrctl status LISTENER_SCAN1
crsctl stat res -t
版权声明
本文为[还不算晕]所创,转载请带上原文链接,感谢
https://blog.csdn.net/q947817003/article/details/122945738
边栏推荐
- JS implementation of web page rotation map
- 如何通过dba_hist_active_sess_history分析数据库历史性能问题
- Try catch cannot catch asynchronous errors
- Kubernetes coredns FAQ reference
- [step by step, even thousands of miles] MySQL reports a large number of unauthenticated user connection errors
- 异常记录-18
- virtio 与vhost_net介绍
- Prometheus Cortex架构概述(水平可扩展、高可用、多租户、长期存储)
- 【不积跬步无以至千里】Oracle应用导数Ora-01455报错处理
- 重启Oracle监听器会中断已有连接吗
猜你喜欢
使用prom-label-proxy实现Prometheus Thanos的基于标签的多租户读
ebfp编程常用API介绍
Redis practice notes and source code analysis
Prometheus的relabel_configs和metric_relabel_configs解释及用法示例
基于DPDK实现VPC和IDC间互联互通的高性能网关
MySQL【ACID+隔离级别+ redo log + undo log】
Chaos帶你快速上手混沌工程
冬季实战营 动手实战-MySQL数据库快速部署实践 领鼠标 云小宝
DDOS攻击/防御介绍
Implementation of multi tenant read and write in Prometheus cortex
随机推荐
Oracle net service: listener and service name resolution method
rdma网络介绍
MySQL Server单机部署手册
【Shell脚本练习】将新加的磁盘批量添加到指定的VG中
try catch 不能捕获异步错误
SSM项目在阿里云部署
Thanos compact component test summary (processing historical data)
Web登录小案例(含验证码登录)
[Lombok quick start]
switch case时连写常规判断表达式的错误 case和if并用 l
ansible模块之include_tasks:为什么加了tags后导入的任务没有执行?
异常记录-11
异常记录-12
Problems related to Prometheus cortex using block storage
Exception record-5
Oracle redo log产生量大的查找思路与案例
MySQL 【读写锁+表锁+行锁+MVCC】
异常记录-13
Redis FAQ
Prometheus monitoring method and index interpretation of influxdb