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 add a Node to LINUX x86-64 RAC

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

Share

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

This article is about how to add a new node to LINUX x86-64 RAC. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Linux x86 adds a node as follows:

1 prepare public network and private network IP

2 change / etc/hosts

3 install the corresponding package

4 configure shared disk

5 configure environment variables

6 configure SSH mutual trust

. / sshUserSetup.sh-user grid-hosts "12crac2 mysql-1"-noPromptPassphrase

. / sshUserSetup.sh-user oracle-hosts "12crac2 mysql-1"-noPromptPassphrase

7 perform pre-installation check

Cd $ORACLE_HOME/bin

. / runcluvfy.sh stage-pre nodeadd-n mysql-1-fixup-verbose

8 execute add_node.sh

Enter the oui/ bin subdirectory of the GI installation directory and execute the following command to add the new node node2 to the cluster:

Cd $ORACLE_BASE

Cd. / oui/bin/

Export IGNORE_PREADDNODE_CHECKS=Y

. / addNode.sh-silent "CLUSTER_NEW_NODES= {mysql-1}"CLUSTER_NEW_VIRTUAL_HOSTNAMES= {mysql-1-vip}"CLUSTER_NEW_PRIVATE_NODE_NAMES= {mysql-1-priv}" & > ~ / add_node.log

9 newly added machines execute root.sh of CRS

$ORACLE_HOME/oraInventory/orainstRoot.sh # On nodes mysql-1

$ORACLE_HOME/root.sh # On nodes mysql-1

If the execution fails, deconfig is required to execute it again.

/ opt/crs/product/crs/install/rootcrs.pl-deconfig-force

10 add RDBMS to new machines

Add rdbms as oracle user:

$ORACLE_HOME/oui/bin/addNode.sh "CLUSTER_NEW_NODES= {mysql-1}"

Finally, dbca chooses to add instances.

Remember to add logfile group:

Alter database add logfile thread 2 ('+ data') size 50m

Alter database add logfile thread 2 ('+ data') size 50m

Alter database enable thread 2

Select * from v$thread

Or silently add a new instance:

Dbca-silent-addInstance-nodeList mysql-1-gdbName racdb-instanceName racdb2-sysDBAUserName sys-sysDBAPassword oracle

Thank you for reading! This is the end of this article on "how to add a new node for LINUX x86-64 RAC". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

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

Database

Wechat

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

12
Report