Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)
Solaris10(x86)构建Oracle10gRAC之--配置系统环境(2)系统环境:操作系统:Solaris10(x86-64)Cluster:OracleCRS10.2.0.1.0Oracle:Oracle10.2.0.1.0如图所示
Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)
系统环境:
操作系统:Solaris 10(x86-64)
Cluster: Oracle CRS 10.2.0.1.0
Oracle: Oracle 10.2.0.1.0
如图所示:RAC 系统架构
一、建立主机之间的信任关系(在所有node)
1、配置主机hosts.equiv文件
[root@node1:/]# cat /etc/hosts.equiv node1 root node1 oracle node1-vip root node1-vip oracle node1-priv root node1-priv oracle node2 root node2 oracle node2-vip root node2-vip oracle node2-priv root node2-priv oracle2、配置Oracle用户.rhosts文件
[oracle@node1:/export/home/oracle]$ cat .rhosts node1 root node1 oracle node1-vip root node1-vip oracle node1-priv root node1-priv oracle node2 root node2 oracle node2-vip root node2-vip oracle node2-priv root node2-priv oracle3、启动相关的服务,验证
[root@node1:/]# svcs -a |grep rlogin disabled 10:05:17 svc:/network/login:rlogin [root@node1:/]# svcadm enable svc:/network/login:rlogin [root@node1:/]# svcadm enable svc:/network/rexec:default [root@node1:/]# svcadm enable svc:/network/shell:default [root@node1:/]# svcs -a |grep rlogin online 11:37:34 svc:/network/login:rlogin [root@node1:/]# su - oracle Oracle Corporation SunOS 5.10 Generic Patch January 2005 [oracle@node1:/export/home/oracle]$ rlogin node1 Last login: Wed Jan 21 11:29:36 from node2-priv Oracle Corporation SunOS 5.10 Generic Patch January 2005二、安装CRS前系统环境的检测(在node1)
[oracle@node1:/export/home/oracle]$ unzip 10201_clusterware_solx86_64.zip [oracle@node1:/export/home/oracle/clusterware/cluvfy]$ ./runcluvfy.sh USAGE: cluvfy [ -help ] cluvfy stage { -list | -help } cluvfy stage {-pre|-post}----在以上的系统环境检测中,VIP网络检查失败;
如果在检测前没有配置VIP网络,,可以用一下方式进行配置;如果已经配置过,就不会检测失败。
配置vip network(node1):
[root@node1:/]# ifconfig e1000g0:1 plumb up
[root@node1:/]# ifconfig e1000g0:1 192.168.8.13 netmask 255.255.255.0
[root@node1:/]# ifconfig -a
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843
inet 192.168.8.11 netmask ffffff00 broadcast 192.168.8.255
ether 8:0:27:28:b1:8c
e1000g0:1: flags=4001000842
inet 192.168.8.13 netmask ffffff00 broadcast 192.168.8.255
e1000g1: flags=1000843
inet 10.10.10.11 netmask ffffff00 broadcast 10.10.10.255
ether 8:0:27:6e:16:1
配置vip network(node2):
[root@node2:/]# ifconfig e1000g0:1 plumb up
[root@node2:/]# ifconfig e1000g0:1 192.168.8.14 netmask 255.255.255.0
[root@node2:/]# ifconfig -a
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843
inet 192.168.8.12 netmask ffffff00 broadcast 192.168.8.255
ether 8:0:27:1f:bf:4c
e1000g0:1: flags=1000843
inet 192.168.8.14 netmask ffffff00 broadcast 192.168.8.255
e1000g1: flags=1000843
inet 10.10.10.12 netmask ffffff00 broadcast 10.10.10.255
ether 8:0:27:a5:2c:db
----在以上的系统环境检测中,部分补丁没有安装(可以通过Oracle官方网站下载,本机为测试环境暂不安装)
本文出自 “天涯客的blog” 博客,请务必保留此出处

MySQLviewshavelimitations:1)Theydon'tsupportallSQLoperations,restrictingdatamanipulationthroughviewswithjoinsorsubqueries.2)Theycanimpactperformance,especiallywithcomplexqueriesorlargedatasets.3)Viewsdon'tstoredata,potentiallyleadingtooutdatedinforma

ProperusermanagementinMySQLiscrucialforenhancingsecurityandensuringefficientdatabaseoperation.1)UseCREATEUSERtoaddusers,specifyingconnectionsourcewith@'localhost'or@'%'.2)GrantspecificprivilegeswithGRANT,usingleastprivilegeprincipletominimizerisks.3)

MySQLdoesn'timposeahardlimitontriggers,butpracticalfactorsdeterminetheireffectiveuse:1)Serverconfigurationimpactstriggermanagement;2)Complextriggersincreasesystemload;3)Largertablesslowtriggerperformance;4)Highconcurrencycancausetriggercontention;5)M

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

Adding MySQL users through the PHP web interface can use MySQLi extensions. The steps are as follows: 1. Connect to the MySQL database and use the MySQLi extension. 2. Create a user, use the CREATEUSER statement, and use the PASSWORD() function to encrypt the password. 3. Prevent SQL injection and use the mysqli_real_escape_string() function to process user input. 4. Assign permissions to new users and use the GRANT statement.

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version
Useful JavaScript development tools
