Thanks. I will post the main.cf in another comment.
Just now I switch the resource group to node2 and manually start the oracle db, make the dependency but the db could not be offline! It print out below error:
2011/08/25 12:18:38 VCS NOTICE V-16-1-10447 Group testzone_SG is online on system node2
2011/08/25 15:05:32 VCS NOTICE V-16-1-10016 Agent /opt/VRTSagents/ha/bin/Oracle/OracleAgent for resource type Oracle successfully started at Thu Aug 25 15:05:32 2011
2011/08/25 15:05:37 VCS INFO V-16-1-10304 Resource testzone_oracle_testdb (Owner: unknown, Group: testzone_SG) is offline on node1 (First probe)
2011/08/25 15:05:38 VCS INFO V-16-1-10297 Resource testzone_oracle_testdb (Owner: unknown, Group: testzone_SG) is online on node2 (First probe)
2011/08/25 15:05:38 VCS NOTICE V-16-1-10233 Clearing Restart attribute for group testzone_SG on all nodes
2011/08/25 15:06:17 VCS NOTICE V-16-1-10208 Initiating switch of group testzone_SG from system node2 to system node1
2011/08/25 15:06:17 VCS NOTICE V-16-1-10300 Initiating Offline of Resource testzone_oracle_testdb (Owner: unknown, Group: testzone_SG) on System node2
2011/08/25 15:06:19 VCS ERROR V-16-2-13064 (node2) Agent is calling clean for resource(testzone_oracle_testdb) because the resource is up even after offline completed.
2011/08/25 15:06:21 VCS ERROR V-16-2-13069 (node2) Resource(testzone_oracle_testdb) - clean failed.
2011/08/25 15:07:22 VCS ERROR V-16-2-13077 (node2) Agent is unable to offline resource(testzone_oracle_testdb). Administrative intervention may be required.
2011/08/25 15:15:39 VCS ERROR V-16-2-13079 (node2) Resource(testzone_oracle_testdb): The last 10 invocations of the clean procedure have failed.
2011/08/25 15:25:59 VCS ERROR V-16-2-13079 (node2) Resource(testzone_oracle_testdb): The last 20 invocations of the clean procedure have failed.
2011/08/25 15:36:19 VCS ERROR V-16-2-13079 (node2) Resource(testzone_oracle_testdb): The last 30 invocations of the clean procedure have failed.
2011/08/25 15:46:46 VCS ERROR V-16-2-13079 (node2) Resource(testzone_oracle_testdb): The last 40 invocations of the clean procedure have failed.
2011/08/25 15:57:17 VCS ERROR V-16-2-13079 (node2) Resource(testzone_oracle_testdb): The last 50 invocations of the clean procedure have failed.
2011/08/25 16:07:38 VCS ERROR V-16-2-13079 (node2) Resource(testzone_oracle_testdb): The last 60 invocations of the clean procedure have failed.
2011/08/25 16:17:58 VCS ERROR V-16-2-13079 (node2) Resource(testzone_oracle_testdb): The last 70 invocations of the clean procedure have failed.