In ODM, the object class definition that will be displayed when you query a particular object class. For example, here i queried the HACMPevent object.
root@myserver:/> odmshow HACMPevent class HACMPevent { char name[256]; /* offset: 0xc ( 12) */ char desc[256]; /* offset: 0x10c ( 268) */ short setno; /* offset: 0x20c ( 524) */ short msgno; /* offset: 0x20e ( 526) */ char catalog[256]; /* offset: 0x210 ( 528) */ char cmd[1024]; /* offset: 0x310 ( 784) */ char notify[1024]; /* offset: 0x710 ( 1808) */ char pre[1024]; /* offset: 0xb10 ( 2832) */ char post[1024]; /* offset: 0xf10 ( 3856) */ char recv[1024]; /* offset: 0x1310 ( 4880) */ short count; /* offset: 0x1710 ( 5904) */ long event_duration; /* offset: 0x1714 ( 5908) */ }; /* descriptors: 12 structure size: 0x1718 (5912) bytes data offset: 0x380 population: 89 objects (89 active, 0 deleted) */
i.e. what script to run when a node is attempting to join a cluster.
root@myserver:/> odmget -q name=node_up HACMPevent HACMPevent: name = "node_up" desc = "Script run when a node is attempting to join the cluster." setno = 101 msgno = 7 catalog = "events.cat" cmd = "/usr/es/sbin/cluster/events/node_up" notify = "" pre = "" post = "" recv = "" count = 0 event_duration = 0
and the powerHA 7.1 events from ODM database,
root@myserver:/> odmget HACMPevent | awk '/name/ {print $3}' | sed 's/"//g'
swap_adapter
swap_adapter_complete
network_up
network_down
network_up_complete
network_down_complete
node_up
node_down
node_up_complete
node_down_complete
join_standby
fail_standby
acquire_service_addr
acquire_takeover_addr
get_disk_vg_fs
node_down_local
node_down_local_complete
node_down_remote
node_down_remote_complete
node_up_local
node_up_local_complete
node_up_remote
node_up_remote_complete
release_service_addr
release_takeover_addr
release_vg_fs
start_server
stop_server
config_too_long
event_error
reconfig_topology_start
reconfig_topology_complete
reconfig_resource_release
reconfig_resource_release_primary
reconfig_resource_release_secondary
reconfig_resource_acquire_secondary
reconfig_resource_complete_secondary
reconfig_resource_release_fence
reconfig_resource_acquire_fence
reconfig_resource_acquire
reconfig_resource_complete
migrate
migrate_complete
acquire_aconn_service
swap_aconn_protocols
get_aconn_rs
release_aconn_rs
server_restart
server_restart_complete
server_down
server_down_complete
rg_move
rg_move_release
rg_move_acquire
rg_move_fence
rg_move_complete
site_down
site_down_complete
site_down_local
site_down_local_complete
site_down_remote
site_down_remote_complete
site_up
site_up_complete
site_up_local
site_up_local_complete
site_up_remote
site_up_remote_complete
site_merge
site_merge_complete
site_isolation
site_isolation_complete
fail_interface
join_interface
cluster_notify
resource_add
resource_modify
resource_delete
resource_online
resource_offline
resource_state_change
resource_state_change_complete
external_resource_state_change
external_resource_state_change_complete
intersite_fallover_prevented
reconfig_configuration_complete
forced_down_too_long
start_udresource
stop_udresource
No comments:
Post a Comment