File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes gridway: MONITOR error in MAD (static): Can't access  file (cwd is /opt/gridway/5.10.0/var) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "gridway: MONITOR error in MAD (static): Can Watch "gridway: MONITOR error in MAD (static): Can New topic
Author

gridway: MONITOR error in MAD (static): Can't access file (cwd is /opt/gridway/5.10.0/var)

Animesh Kuity
Greenhorn

Joined: Apr 06, 2012
Posts: 7
After editing the gwd.conf file with IM_MAD = mds4:/opt/gridway/5.10.0/bin/gw_im_mad_mds4:-s 192.168.0.179:gridftp:gram4(my ip address is 192.168.0.179)
my gwd.log shows following....

Fri Apr 13 14:18:42 2012 [GW][I]: ---------------------------------------------------
Fri Apr 13 14:18:42 2012 [GW][I]: gwd.conf values
Fri Apr 13 14:18:42 2012 [GW][I]: ---------------------------------------------------
Fri Apr 13 14:18:42 2012 [GW][I]: Core configuration attributes
Fri Apr 13 14:18:42 2012 [GW][I]: GWD_PORT : 6725
Fri Apr 13 14:18:42 2012 [GW][I]: MAX_NUMBER_OF_CLIENTS : 25
Fri Apr 13 14:18:42 2012 [GW][I]: NUMBER_OF_ARRAYS : 20
Fri Apr 13 14:18:42 2012 [GW][I]: NUMBER_OF_JOBS : 200
Fri Apr 13 14:18:42 2012 [GW][I]: NUMBER_OF_HOSTS : 100
Fri Apr 13 14:18:42 2012 [GW][I]: NUMBER_OF_USERS : 30
Fri Apr 13 14:18:42 2012 [GW][I]: SCHEDULING_INTERVAL : 15
Fri Apr 13 14:18:42 2012 [GW][I]: DISCOVERY_INTERVAL : 300
Fri Apr 13 14:18:42 2012 [GW][I]: MONITORING_INTERVAL : 180
Fri Apr 13 14:18:42 2012 [GW][I]: POLL_INTERVAL : 300
Fri Apr 13 14:18:42 2012 [GW][I]: MAX_ACTIVE_IM_QUERIES : 10
Fri Apr 13 14:18:42 2012 [GW][I]: Information Manager MADs
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(0) name : mds4
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_im_mad_mds4
Fri Apr 13 14:18:42 2012 [GW][I]: argument : -s 192.168.0.179
Fri Apr 13 14:18:42 2012 [GW][I]: TM : gridftp
Fri Apr 13 14:18:42 2012 [GW][I]: EM : gram4
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(1) name : static
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_im_mad_static
Fri Apr 13 14:18:42 2012 [GW][I]: argument : -l /opt/gridway/5.10.0/etc/host.list
Fri Apr 13 14:18:42 2012 [GW][I]: TM : ssh_tm
Fri Apr 13 14:18:42 2012 [GW][I]: EM : ssh
Fri Apr 13 14:18:42 2012 [GW][I]: Transfer Manager MADs
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(0) name : gridftp
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_tm_mad_ftp
Fri Apr 13 14:18:42 2012 [GW][I]: argument :
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(1) name : dummy
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_tm_mad_dummy
Fri Apr 13 14:18:42 2012 [GW][I]: argument : -g
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(2) name : gridftp
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_tm_mad_ftp
Fri Apr 13 14:18:42 2012 [GW][I]: argument :
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(3) name : ssh_tm
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_tm_mad_ssh
Fri Apr 13 14:18:42 2012 [GW][I]: argument :
Fri Apr 13 14:18:42 2012 [GW][I]: Execution Manager MADs
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(0) name : gram4
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_em_mad_gram4
Fri Apr 13 14:18:42 2012 [GW][I]: argument :
Fri Apr 13 14:18:42 2012 [GW][I]: rsl mode : rsl2
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(1) name : gram2
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_em_mad_gram2
Fri Apr 13 14:18:42 2012 [GW][I]: argument :
Fri Apr 13 14:18:42 2012 [GW][I]: rsl mode : rsl
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(2) name : gram4
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_em_mad_gram4
Fri Apr 13 14:18:42 2012 [GW][I]: argument :
Fri Apr 13 14:18:42 2012 [GW][I]: rsl mode : rsl2
Fri Apr 13 14:18:42 2012 [GW][I]: MAD(3) name : ssh
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_em_mad_ssh
Fri Apr 13 14:18:42 2012 [GW][I]: argument :
Fri Apr 13 14:18:42 2012 [GW][I]: rsl mode : rsl2
Fri Apr 13 14:18:42 2012 [GW][I]: Dispatch Manager Scheduler
Fri Apr 13 14:18:42 2012 [GW][I]: name : flood
Fri Apr 13 14:18:42 2012 [GW][I]: executable: /opt/gridway/5.10.0/bin/gw_flood_scheduler
Fri Apr 13 14:18:42 2012 [GW][I]: argument : -h 10 -u 30 -c 5 -s 15
Fri Apr 13 14:18:42 2012 [GW][I]: ---------------------------------------------------
Fri Apr 13 14:18:42 2012 [GW][I]: sched.conf built-in policies
Fri Apr 13 14:18:42 2012 [GW][I]: ---------------------------------------------------
Fri Apr 13 14:18:42 2012 [GW][I]: Scheduler configuration attributes
Fri Apr 13 14:18:42 2012 [GW][I]: DISABLE : yes
Fri Apr 13 14:18:42 2012 [GW][I]: DISPATCH_CHUNK : 15
Fri Apr 13 14:18:42 2012 [GW][I]: MAX_DISPATCH_RESOURCE : 5
Fri Apr 13 14:18:42 2012 [GW][I]: MAX_RUNNING_USER : 30
Fri Apr 13 14:18:42 2012 [GW][I]: Job Fixed Priority Policy
Fri Apr 13 14:18:42 2012 [GW][I]: FP_WEIGHT : 1.00
Fri Apr 13 14:18:42 2012 [GW][I]: Fixed Priority Values (users)
Fri Apr 13 14:18:42 2012 [GW][I]: DEFAULT : 0
Fri Apr 13 14:18:42 2012 [GW][I]: Job Share Policy
Fri Apr 13 14:18:42 2012 [GW][I]: SH_WEIGHT (share) : 1.00
Fri Apr 13 14:18:42 2012 [GW][I]: SH_WINDOW_SIZE : 1.00
Fri Apr 13 14:18:42 2012 [GW][I]: SH_WINDOW_DEPTH : 5
Fri Apr 13 14:18:42 2012 [GW][I]: User Shares
Fri Apr 13 14:18:42 2012 [GW][I]: DEFAULT : 5
Fri Apr 13 14:18:42 2012 [GW][I]: Job Waiting time Policy
Fri Apr 13 14:18:42 2012 [GW][I]: WT_WEIGHT : 0.00
Fri Apr 13 14:18:42 2012 [GW][I]: Job Deadline Policy
Fri Apr 13 14:18:42 2012 [GW][I]: DL_WEIGHT (deadline) : 1.00
Fri Apr 13 14:18:42 2012 [GW][I]: DL_HALF : 1
Fri Apr 13 14:18:42 2012 [GW][I]: Resource Fixed Priority Policy
Fri Apr 13 14:18:42 2012 [GW][I]: RP_WEIGHT : 1.00
Fri Apr 13 14:18:42 2012 [GW][I]: Fixed Priority Values (information managers)
Fri Apr 13 14:18:42 2012 [GW][I]: DEFAULT : 1
Fri Apr 13 14:18:42 2012 [GW][I]: Resource Failure Rate Policy
Fri Apr 13 14:18:42 2012 [GW][I]: RA_WEIGHT : 1.00
Fri Apr 13 14:18:42 2012 [GW][I]: Resource Failure Rank Policy
Fri Apr 13 14:18:42 2012 [GW][I]: FR_MAX_BANNED : 3600
Fri Apr 13 14:18:42 2012 [GW][I]: FR_BANNED_C : 650.00
Fri Apr 13 14:18:42 2012 [GW][I]: Resource Usage Policy
Fri Apr 13 14:18:42 2012 [GW][I]: UG_WEIGHT : 1.00
Fri Apr 13 14:18:42 2012 [GW][I]: UG_HISTORY_WINDOW : 3.00
Fri Apr 13 14:18:42 2012 [GW][I]: UG_HISTORY_RATIO : 0.25
Fri Apr 13 14:18:42 2012 [GW][I]: ---------------------------------------------------
Fri Apr 13 14:18:42 2012 [DM][I]: Job pool initialized.
Fri Apr 13 14:18:42 2012 [DM][I]: Array pool initialized.
Fri Apr 13 14:18:42 2012 [IM][I]: Host pool initialized.
Fri Apr 13 14:18:42 2012 [UM][I]: User pool initiated.
Fri Apr 13 14:18:42 2012 [GW][I]: Loading Information Manager MADs.
Fri Apr 13 14:18:43 2012 [IM][I]: MAD mds4 loaded (exec: /opt/gridway/5.10.0/bin/gw_im_mad_mds4, arg: -s 192.168.0.179).
Fri Apr 13 14:18:43 2012 [IM][I]: MAD static loaded (exec: /opt/gridway/5.10.0/bin/gw_im_mad_static, arg: -l /opt/gridway/5.10.0/etc/host.list).
Fri Apr 13 14:18:43 2012 [GW][I]: Loading the scheduler.
Fri Apr 13 14:18:43 2012 [DM][I]: Scheduler flood loaded (exec: /opt/gridway/5.10.0/bin/gw_flood_scheduler, arg: -h 10 -u 30 -c 5 -s 15).
Fri Apr 13 14:18:43 2012 [GW][I]: Recovering GW state.
Fri Apr 13 14:18:43 2012 [DM][I]: Dispatch Manager started.
Fri Apr 13 14:18:43 2012 [EM][I]: Execution Manager started.
Fri Apr 13 14:18:43 2012 [IM][I]: Information Manager started.
Fri Apr 13 14:18:43 2012 [UM][I]: User Manager started.
Fri Apr 13 14:18:43 2012 [TM][I]: Transfer Manager started.
Fri Apr 13 14:18:43 2012 [RM][I]: Request Manager started.
Fri Apr 13 14:18:47 2012 [IM][I]: Discovering hosts.
Fri Apr 13 14:18:47 2012 [IM][I]: Hosts discovered by MAD (static): 192.168.0.179
Fri Apr 13 14:18:50 2012 [IM][I]: Hosts discovered by MAD (mds4): 192.168.0.179
Fri Apr 13 14:18:52 2012 [IM][E]: MONITOR error in MAD (static): Can't access file (cwd is /opt/gridway/5.10.0/var)

my host.file contains

192.168.0.179 (my IP address)


And when I try to run gwhost from terminal, I got following output.....

HID PRI OS ARCH MHZ %CPU MEM(F/T) DISK(F/T) NODES(U/F/T) LRMS HOSTNAME
0 1 0 0 0/0 0M/0M 0/0/0 192.168.0.179


It seems it does not contains all information.

I could not understand, what's going wrong?

And another question......

I am using a grid environment which has three machine.I am not administrator of my grid environment. So, what I need to do or what file do I need to edit to see all the information about all machine using gwhost command.



please help me.

Thanks in advance.
Animesh
IIT Roorkee
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16020
    
  20

Unfortunately, I've got a feeling no one here can help you. I'd never heard of Gridway before, and when I went to check it out, I couldn't see how it fits into Tomcat (if it does). From what I was able to glean, Gridway is a system for multi-system parallel computing more or less like Beowulf. But I didn't see where it actually fitted into webservers in general or Tomcat in particular.


Customer surveys are for companies who didn't pay proper attention to begin with.
Animesh Kuity
Greenhorn

Joined: Apr 06, 2012
Posts: 7

Thanks for your reply.........
no.. no.. I am also not trying to do that.............
that is another problem, I faced when using globus with gridway....

But I will try it in future because tomcat acts as a webservice container like globus container.. Gridway is using globus..

So I will try to integrate in future, not now............
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: gridway: MONITOR error in MAD (static): Can't access file (cwd is /opt/gridway/5.10.0/var)