Trigger a batch file on a Domino Partitioned server

15 pts.
Tags:
Lotus Domino
Partitioning
Windows Server 2008
Is there a way to use a batch file to trigger agent manager without having the batch file try to set up a new partition on the server?



Software/Hardware used:
Lotus Domino 8.5.1, Windows 2008 64 bit, 2 Domino partitions

Answer Wiki

Thanks. We'll let you know when a new response is added.

I would recommend you set this up as a Server Progam document in the Domino Directory (NAB) with a repeat interval of 1.

This is the syntax.

Basics
Program name: nserver
Command line: -c “tell amgr run ‘folderfilename.nsf’ ‘agentname'”
Server to run on: servername here
Comments: Appropriate comment here so people know what it is doing.

Schedule
Enabled/disabled: Enabled
Run at times: 12:00 AM – 11:59 PM each day
Repeat interval of: 1 minutes
Days of week: Sun, Mon, Tue, Wed, Thu, Fri, Sat

Ensure your apostrophes and double apostrophes are straight, not curly.

Our dev server is partitioned. I just tested that this will work and it works fine.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Brooklynegg
    Can you explain the requirements so that I understand why you would use a batch file to run agent manager? And describe the results you are seeing, as I don't see why running a batch file would set up a partition. Agent manager should already be running. You should use agent scheduling to run agents at the appropriate time, or, if there is extremely complicated logic for when the agent should run, write a LotusScript agent that runs on some schedule, evaluates that logic, and triggers the agent when it should run.
    3,845 pointsBadges:
    report
  • klbg
    This agent I currently have running uses LotusScript to call Websphere MQ channel to pull XML messages to a Lotus Notes database. The current requirement is to have it polling Websphere as frequently as possible. I have setup a scheduled agent every minute. The issue I ran into was channels being left open on the MQ side due to no messages to retrieve (that has been resolved). This was setup on a dev box, non-partitioned and working more efficiently. The trigger I tried to use was placed on the program partition, i.e., e:notesnserver -c "tell amgr run 'folderfilename.nsf' 'agentname'". When this trigger is invoked through MQ on the production box it always tries to setup a new Domino partition.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following