Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set up the database when starting with the cluster

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

In this issue, the editor will bring you about how to set up the database with the start of the cluster. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

11G command

Crsctl modify resource "ora.lvcsdg.db"-attr "AUTO_START=always"

Or

Crsctl modify resource "ora.lvcsdg.db"-attr "AUTO_START=1"

10g command

Crs_register ora.rkywk.db-update-o as=always

View validation

[root@htdb01 ~] # crs_stat-p "ora.lvcsdg.db"

NAME=ora.lvcsdg.db

TYPE=ora.database.type

ACTION_SCRIPT=

ACTIVE_PLACEMENT=1

AUTO_START=always

CHECK_INTERVAL=1

DESCRIPTION=Oracle Database resource

FAILOVER_DELAY=0

FAILURE_INTERVAL=60

FAILURE_THRESHOLD=1

GEN_START_OPTIONS@SERVERNAME (htdb01) = mount

GEN_START_OPTIONS@SERVERNAME (htdb02) = mount

GEN_USR_ORA_INST_NAME@SERVERNAME (htdb01) = lvcsdg1

GEN_USR_ORA_INST_NAME@SERVERNAME (htdb02) = lvcsdg2

HOSTING_MEMBERS=

PLACEMENT=restricted

RESTART_ATTEMPTS=2

SCRIPT_TIMEOUT=60

START_TIMEOUT=600

STOP_TIMEOUT=600

UPTIME_THRESHOLD=1h

USR_ORA_INST_NAME@SERVERNAME (htdb01) = lvcsdg1

USR_ORA_INST_NAME@SERVERNAME (htdb02) = lvcsdg2

The above is how to set up the database shared by the editor with the start of the cluster. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report