hacmp 7.1集群同步报错clodmget:could not retrieve object for CuAT,odm errno 5904

MFNBU01:/tmp#clmgr sync cluster verify=yes fix=yes
Saving existing /var/hacmp/clverify/ver_mping/ver_mping.log to /var/hacmp/clverify/ver_mping/ver_mping.log.bak
Verifying clcomd communication, please be patient.

Verifying multicast communication with mping.

Committing any changes, as required, to all available nodes…
Adding any necessary PowerHA SystemMirror entries to /etc/inittab and /etc/rc.net for IPAT on node MFNBU01.

Verification to be performed on the following:
Cluster Topology
Cluster Resources

Verification will automatically correct verification errors.

Retrieving data from available cluster nodes. This could take a few minutes.

Start data collection on node MFNBU01
Start data collection on node MFNBU02
Collector on node MFNBU02 completed
Collector on node MFNBU01 completed
Data collection complete

Verifying Cluster Topology…

Completed 10 percent of the verification checks
Completed 20 percent of the verification checks
Completed 30 percent of the verification checks

Verifying Cluster Resources…

Completed 40 percent of the verification checks

WARNING: Application monitors are required for detecting application failures
in order for PowerHA SystemMirror to recover from them. Application monitors are started
by PowerHA SystemMirror when the resource group in which they participate is activated.
The following application(s), shown with their associated resource group,
do not have an application monitor configured:

Application Server Resource Group
——————————– ———————————
MFNBU_AS MFNBU_RG
Completed 50 percent of the verification checks
Completed 60 percent of the verification checks
Completed 70 percent of the verification checks
Completed 80 percent of the verification checks
Completed 90 percent of the verification checks
Completed 100 percent of the verification checks
WARNING: Node MFNBU01 has cluster.es.nfs.rte installed however grace periods are not fully enabled on this node. Grace periods must be enabled before NFSv4 stable storage can be used.

PowerHA SystemMirror will attempt to fix this opportunistically when acquiring NFS resources on this node however the change won’t take effect until the next time that nfsd is started.

If this warning persists, the administrator should perform the following steps to enable grace periods on MFNBU01 at the next planned downtime:
1. stopsrc -s nfsd
2. smitty nfsgrcperiod
3. startsrc -s nfsd

WARNING: Node MFNBU02 has cluster.es.nfs.rte installed however grace periods are not fully enabled on this node. Grace periods must be enabled before NFSv4 stable storage can be used.

PowerHA SystemMirror will attempt to fix this opportunistically when acquiring NFS resources on this node however the change won’t take effect until the next time that nfsd is started.

If this warning persists, the administrator should perform the following steps to enable grace periods on MFNBU02 at the next planned downtime:
1. stopsrc -s nfsd
2. smitty nfsgrcperiod
3. startsrc -s nfsd

Remember to redo automatic error notification if configuration has changed.

Verification has completed normally.
Timer object autoclverify already exists
clodmget: Could not retrieve object for CuAt, odm errno 5904
ERROR: Cannot synchronize cluster changes without a cluster repository defined. //这里已经很明显提示了,没有repository定义。

ERROR: Creating the cluster in AIX failed. Check output for errors in local cluster configuration, correct them, and try synchronization again.

ERROR: Updating the cluster in AIX failed. Check output for errors in local cluster configuration, correct them, and try synchronization again.

MFNBU01:/tmp#odmget -q “type=hdisk” CuDv
0518-507 odmget: Could not retrieve object for CuDv, ODM error number 5904
MFNBU01:/tmp#odmget -q type=vgtype PdDv

PdDv:
type = “vgtype”
class = “logical_volume”
subclass = “vgsubclass”
prefix = “vg”
devid = “”
base = 1
has_vpd = 0
detectable = 0
chgstatus = 0
bus_ext = 0
fru = 0
led = 0
setno = 1
msgno = 698
catalog = “cmdlvm.cat”
DvDr = “”
Define = “”
Configure = “”
Change = “”
Unconfigure = “”
Undefine = “”
Start = “”
Stop = “”
inventory_only = 0
uniquetype = “logical_volume/vgsubclass/vgtype”
MFNBU01:/tmp#bosboot -ad /dev/hdisk0

bosboot: Boot image is 55324 512 byte blocks.
MFNBU01:/tmp#bosboot -ad /dev/hdisk1

bosboot: Boot image is 55324 512 byte blocks.
MFNBU01:/tmp#odmget |grep -p hdisk9
0518-501 usage: odmget [-q criteria] {Classname . . . }
Retrieves objects from an object class.
MFNBU01:/tmp#lspv
hdisk0 00f99f6134f35f8a rootvg active
hdisk1 00f99f61d86573dc rootvg active
hdisk2 none None
hdisk3 none None
hdisk4 none None
hdisk5 none None
hdisk6 none None
hdisk7 none None
hdisk8 none None
hdisk9 none None
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdiskpower0 00f99f613eb22dd6 None
hdiskpower1 00f99f613e0a4f13 vgnbu active
hdiskpower2 00f99f613e11c926 vgnbu active

我们再去集群拓扑里对照下整个集群的配置:
Cluster Nodes and Networks

Move cursor to desired item and press Enter.

Initial Cluster Setup (Typical)

Manage the Cluster
Manage Nodes
Manage Networks and Network Interfaces

Discover Network Interfaces and Disks

Verify and Synchronize Cluster Configuration

Manage the Cluster

Move cursor to desired item and press Enter.

Display PowerHA SystemMirror Configuration
Remove the Cluster Definition
Snapshot Configuration

COMMAND STATUS

Command: OK stdout: yes stderr: no

Before command completion, additional instructions may appear below.

Cluster Name: MFNBU_clu
Cluster Connection Authentication Mode: Standard
Cluster Message Authentication Mode: None
Cluster Message Encryption: None
Use Persistent Labels for Communication: No
Repository Disk: None
Cluster IP Address: None
There are 2 node(s) and 1 network(s) defined

NODE MFNBU01:
Network net_ether_01
MFNBU 40.43.192.138
MFNBU01_bt1 2.43.192.136
MFNBU01_bt2 3.43.192.136

NODE MFNBU02:
Network net_ether_01
MFNBU 40.43.192.138
MFNBU02_bt2 3.43.192.137
MFNBU02_bt1 2.43.192.137

Resource Group nbu_group
Startup Policy Online On Home Node Only
Fallover Policy Fallover To Next Priority Node In The List
Fallback Policy Fallback To Higher Priority Node In The List
Participating Nodes MFNBU01 MFNBU02
Service IP Label MFNBU

终于找到问题了,原来是smit漏了配置repository disk和cluster ip address,添加后问题解决。

If you enjoyed this post, make sure you subscribe to my RSS feed!
此条目发表在AIX, 操作系统分类目录,贴了, 标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用*标注