AIX安装CRS错误

网友投稿 1566 2022-09-23 21:10:01

AIX安装CRS错误

AIX安装CRS错误

系统环境:

OS:IBM  AIX 5.3.8   +   HACMP 5.2

DATABASE: Oracle 10g  +   Oracle   CRS

在做AIX 下的RAC 时,安装CRS时,在其中一个节点上出像如下错误:

[root@aix192 /]# /u01/crs/root.sh

WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured

Checking to see if any 9i GSD is up

cp: /dev/rocrdisk: Read-only file system

1

[root@aix192 /]# lsvg

rootvg

racvg

[root@aix192 /]# lsvg racvg

VOLUME GROUP:       racvg                    VG IDENTIFIER:  0008d56c00004c0000000135c5df1180

VG STATE:           active                   PP SIZE:        64 megabyte(s)

VG PERMISSION:      passive-only             TOTAL PPs:      1600 (102400 megabytes)

MAX LVs:            256                      FREE PPs:       1519 (97216 megabytes)

LVs:                20                       USED PPs:       81 (5184 megabytes)

OPEN LVs:           0                        QUORUM:         2 (Enabled)

TOTAL PVs:          1                        VG DESCRIPTORS: 2

STALE PVs:          0                        STALE PPs:      0

ACTIVE PVs:         1                        AUTO ON:        no

Concurrent:         Enhanced-Capable         Auto-Concurrent: Disabled

VG Mode:            Concurrent

Node ID:        3                        Active Nodes:   2

MAX PPs per VG:     32512

MAX PPs per PV:     2032                     MAX PVs:        16

LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no

HOT SPARE:          no                       BB POLICY:      relocatable

[root@aix192 /]# lspv

hdisk0          000c41bfd887a4f9                    rootvg          active

hdisk1          0008d56cc5df108f                    racvg           concurrent

hdisk2          none                                None

[root@aix192 /]# lslv ocrdisk

LOGICAL VOLUME:     ocrdisk                VOLUME GROUP:   racvg

LV IDENTIFIER:      0008d56c00004c0000000135c5df1180.2 PERMISSION:     read/write

VG STATE:           active/complete        LV STATE:       closed/syncd

TYPE:               jfs                    WRITE VERIFY:   off

MAX LPs:            512                    PP SIZE:        64 megabyte(s)

COPIES:             1                      SCHED POLICY:   parallel

LPs:                2                      PPs:            2

STALE PPs:          0                      BB POLICY:      relocatable

INTER-POLICY:       minimum                RELOCATABLE:    yes

INTRA-POLICY:       middle                 UPPER BOUND:    16

MOUNT POINT:        N/A                    LABEL:          None

MIRROR WRITE CONSISTENCY: on/ACTIVE

EACH LP COPY ON A SEPARATE PV ?: yes

Serialize IO ?:     NO

[root@aix192 /]# chlv -p w ocrdisk

0516-1318 chlv: The volume group is currently in read-only mode.

Use varyoffvg, then varyonvg in read-write mode before trying this command again.

0516-704 chlv: Unable to change logical volume ocrdisk.

解决方法:

[root@aix192 /]# varyoffvg racvg

[root@aix192 /]# varyonvg racvg

[root@aix192 /]# chlv -p w ocrdisk

[root@aix192 /]# lslv ocrdisk

LOGICAL VOLUME:     ocrdisk                VOLUME GROUP:   racvg

LV IDENTIFIER:      0008d56c00004c0000000135c5df1180.2 PERMISSION:     read/write

VG STATE:           active/complete        LV STATE:       closed/syncd

TYPE:               jfs                    WRITE VERIFY:   off

MAX LPs:            512                    PP SIZE:        64 megabyte(s)

COPIES:             1                      SCHED POLICY:   parallel

LPs:                2                      PPs:            2

STALE PPs:          0                      BB POLICY:      relocatable

INTER-POLICY:       minimum                RELOCATABLE:    yes

INTRA-POLICY:       middle                 UPPER BOUND:    16

MOUNT POINT:        N/A                    LABEL:          None

MIRROR WRITE CONSISTENCY: on/ACTIVE

EACH LP COPY ON A SEPARATE PV ?: yes

Serialize IO ?:     NO

[root@aix192 /]# /u01/crs/root.sh

WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured

Checking to see if any 9i GSD is up

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/u01' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 2: aix191 aix191-priv aix191

node 3: aix192 aix192-priv aix192

clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 30 seconds.

Adding daemons to inittab

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

aix191

aix192

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

The given interface(s), "en0" is not public. Public interfaces should be used to configure virtual IPs.

[root@aix192 /]#

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:C#中unix与windows时间格式互转
下一篇:新常态下房地产企业的网络营销策略研究!(互联网时代房地产营销策略)
相关文章