Animesh Kuity

Greenhorn
+ Follow
since Apr 06, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Animesh Kuity


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............
11 years ago
Thank you for your reply............
I did that long days back....
It works perfectly fine now......

11 years ago
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
11 years ago
Thank you for your reply............

I did that already...........
11 years ago
Thanks for your reply......Rob

How will I renew certificate?

I got a related post from http://packcs-e0.scai.fraunhofer.de/wsag4j/faq.html#security_header (because I am following guide http://packcs-e0.scai.fraunhofer.de/wsag4j/client/client-setup.html to set my client )

It says like that

Why do I get the error "security processing failed"?

WSAG4J uses WS-Security time stamps to ensure a message must be delivered within a certain time frame. If the clocks of a client system and a server system are not synchronous (e.g. the time differs more than 5 minutes) the security processing will fail.

But I can't understand how to synchronize client and server system.

my catalina.out shows the following......
....................
......................
2012-04-08 17:47:36,958 INFO - Deploying module: soapmonitor-1.5.4 - file:/usr/local/tomcat/webapps/wsag4j-agreement-factory-1.0.1/WEB-INF/modules/soapmonitor-1.5.4.mar
2012-04-08 17:47:37,201 INFO - Deploying Web service: wsag4j - file:/usr/local/tomcat/webapps/wsag4j-agreement-factory-1.0.1/WEB-INF/services/wsag4j/
2012-04-08 17:47:37,216 INFO - Deploying Web service: version-1.5.4.aar - file:/usr/local/tomcat/webapps/wsag4j-agreement-factory-1.0.1/WEB-INF/services/version-1.5.4.aar
Apr 8, 2012 5:47:37 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 8, 2012 5:47:38 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 8, 2012 5:47:38 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/40 config=null
Apr 8, 2012 5:47:38 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 8, 2012 5:47:38 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10902 ms
2012-04-08 17:52:53,985 ERROR - WSDoAllReceiver: security processing failed
org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
at org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.java:214)
at org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:86)
at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:72)
at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)

..........................
...................................

is it actually synchronization problem as told..

please help me...........
11 years ago
I am trying to create a service level agreement based grid scheduling. For that I am using wsag4j application server.
I am using tomcat 5.3.35 as my container and Eclipse SDK 3.5.2 as client API. My deployed web services is running perfactly. But when I am trying to run a client program.
I got following problem

2012-04-08 16:11:58,715 INFO - Deploying module: addressing-1.5.4 - file:/home/guser01/project/SLA_scheduling_program/resources/axis2-client/modules/addressing-1.5.4.mar
2012-04-08 16:11:58,744 INFO - Deploying module: rampart-1.5.1 - file:/home/guser01/project/SLA_scheduling_program/resources/axis2-client/modules/rampart-1.5.1.mar
2012-04-08 16:11:58,766 INFO - Deploying module: rahas-1.5.1 - file:/home/guser01/project/SLA_scheduling_program/resources/axis2-client/modules/rahas-1.5.1.mar
2012-04-08 16:11:59,752 ERROR - WSDoAllReceiver: security processing failed
Exception in thread "main" org.ogf.graap.wsag.api.exceptions.ResourceUnavailableException: org.apache.muse.ws.addressing.soap.SoapFault: WSDoAllReceiver: security processing failed
at org.ogf.graap.wsag.client.remote.RemoteAgreementFactoryRegistryServiceImpl.listAgreementFactories(RemoteAgreementFactoryRegistryServiceImpl.java:129)
at sla_scheduling_application.client.main(client.java:74)
Caused by: org.apache.muse.ws.addressing.soap.SoapFault: WSDoAllReceiver: security processing failed
at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:298)
at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254)
at org.apache.muse.ws.resource.remote.WsResourceClient.getResourceProperty(WsResourceClient.java:138)
at org.ogf.graap.wsag.client.remote.WsrfResourceClient.getResourceProperty(WsrfResourceClient.java:318)
at org.ogf.graap.wsag.client.remote.RemoteAgreementFactoryRegistryServiceImpl.listAgreementFactories(RemoteAgreementFactoryRegistryServiceImpl.java:103)
... 1 more

catalina.out shows the following...

..................
..................
2012-04-08 16:21:56,685 ERROR - WSDoAllReceiver: security processing failed
org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
at org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.java:214)
..........................................................
.........................................................
Caused by: org.apache.ws.security.WSSecurityException: The signature or decryption was invalid (The provided certificate is invalid); nested exception is:
java.security.cert.CertificateExpiredException: NotAfter: Fri Apr 06 17:10:27 IST 2012
at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:438)
...............................................
................................................
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Fri Apr 06 17:10:27 IST 2012
at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:256)
at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:570)
.........................................................
.........................................................

I can't understand any thing. Can anyone help me please?.
11 years ago
I want to create a service level Agreement.

For that I have used following

1)globus 4.0.8
2)tomcat
3)wsag4j
4)eclipse

I have deployed wsag4j web service and globus 4.0.8 web service using tomcat. Then used eclipse as a client API. Then I implemented a client that use those web services.

I got following error
2012-04-06 19:39:53,225 ERROR - WSDoAllReceiver: security processing failed
Exception in thread "main" org.ogf.graap.wsag.api.exceptions.ResourceUnavailableException: org.apache.muse.ws.addressing.soap.SoapFault: WSDoAllReceiver: security processing failed
at org.ogf.graap.wsag.client.remote.RemoteAgreementFactoryRegistryServiceImpl.listAgreementFactories(RemoteAgreementFactoryRegistryServiceImpl.java:129)
at sla_scheduling_application.client.main(client.java:73)
Caused by: org.apache.muse.ws.addressing.soap.SoapFault: WSDoAllReceiver: security processing failed

Can anyone please help me?**
11 years ago