From: Chris cc (lazyboy_2k@yahoo.com)
Date: Mon Dec 18 2006 - 20:19:40 EST
Hi Gurus,
I'm trying to configure an agent using the command line. I already modified the main.cf file & add some resources info into a service group, however, when I try to online it, I get the error below:
# cat main.cf
..
group Test10gdb1_Group (
SystemList = { vcs-test-phys1 = 0, vcs-test-phys2 = 1 }
AutoStartList = { vcs-test-phys1 }
)
DiskGroup oradg_DG (
DiskGroup = oradg
StartVolumes = 0
StopVolumes = 0
)
IP oradg_IP (
Device = hme0
Address = "192.168.0.3"
)
Mount oradg_v01_MOUNT (
MountPoint = "/global/oracle/v01"
BlockDevice = "/dev/vx/dsk/oradg/v01"
FSType = ufs
FsckOpt = "-y"
)
Mount oradg_v02_MOUNT (
MountPoint = "/global/oracle/v02"
BlockDevice = "/dev/vx/dsk/oradg/v02"
FSType = ufs
FsckOpt = "-n"
)
NIC oradg_NIC (
Device = hme0
)
Netlsnr Test10gdb1_LISTENER_LSNR (
Owner = oracle
Home = "/oraclesw/product/10.2.0"
TnsAdmin = "/oraclesw/product/10.2.0/network/admin"
Listener = Test10gdb1_LISTENER
MonScript = "./bin/Netlsnr/LsnrTest.pl"
)
Oracle oradg_ORA (
Sid = Test10gdb1
Owner = oracle
Home = "/oraclesw/product/10.2.0"
Pfile = "/oraclesw/product/10.2.0/dbs/pfile/initPROD.ora" // NOT SURE ABOUT THIS
EnvFile = "/tmp/env.sh"
DetailMonitor = 1
MonScript = "./bin/Oracle/SqlTest.pl"
)
Volume oradg_v01_VOL (
Volume = v01
DiskGroup = oradg
)
Volume oradg_v02_VOL (
Volume = v02
DiskGroup = oradg
)
oradg_IP requires oradg_NIC
Test10gdb1_LISTENER_LSNR requires oradg_IP
Test10gdb1_LISTENER_LSNR requires oradg_ORA
oradg_v01_MOUNT requires oradg_v01_VOL
oradg_v02_MOUNT requires oradg_v02_VOL
oradg_ORA requires oradg_v01_MOUNT
oradg_ORA requires oradg_v02_MOUNT
oradg_v01_VOL requires oradg_DG
oradg_v02_VOL requires oradg_DG
# hagrp -state
#Group Attribute System Value
ClusterService State vcs-test-phys1 |ONLINE|
ClusterService State vcs-test-phys2 |OFFLINE|
NFS1_ServiceGroup State vcs-test-phys1 |OFFLINE|
NFS1_ServiceGroup State vcs-test-phys2 |OFFLINE|
ServiceGroup_Test1 State global |OFFLINE|
Test10gdb1_Group State vcs-test-phys1 |OFFLINE|FAULTED|
Test10gdb1_Group State vcs-test-phys2 |OFFLINE|FAULTED|
bash-3.00# hagrp -online Test10gdb1_Group -sys vcs-test-phys1
VCS WARNING V-16-1-10157 Group Test10gdb1_Group is faulted on vcs-test-phys1; clear faults first with hares -clear
# hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A vcs-test-phys1 RUNNING 0
A vcs-test-phys2 EXITED 0 g Its ok to be down because I didnt start it yet.
-- GROUP STATE
-- Group System Probed AutoDisabled State
B ClusterService vcs-test-phys1 Y N ONLINE
B ClusterService vcs-test-phys2 Y N OFFLINE
B NFS1_ServiceGroup vcs-test-phys1 Y N OFFLINE
B NFS1_ServiceGroup vcs-test-phys2 Y Y OFFLINE
B Test10gdb1_Group vcs-test-phys1 Y N OFFLINE|FAULTED
B Test10gdb1_Group vcs-test-phys2 Y Y OFFLINE
-- RESOURCES FAILED
-- Group Type Resource System
C Test10gdb1_Group Oracle oradg_ORA vcs-test-phys1
# cat /etc/hosts |grep Test10gdb1
192.168.0.3 Test10gdb1 # 10g listener for oradg
Does anyone have any ideas what I'm missing & how to fix it? Any suggestions/inputs are appreciated.
Thanks,
-Chris
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:22 EDT