Velocity Scheduler:
Tips and Tricks


Tip: Registering your password with vsched
Tip: Obtaining the Jobid for a machine

Tip: Registering your password with vsched

You must register your password with the scheduler in order to run batch jobs. Whenever you change your password you must register it again. This tip discusses the different scenarios that may occur if you fail to do so, for example  if your password is changed but not re-registered while your job is in the queue.

Before you can submit any batch jobs, you must register your password with the scheduler. Issue the vsched -passwd command before you use the scheduler for the first time, and again after every time you change your password. You will be prompted to enter your password twice. This is secure; it uses Web Services Enhancements Encryption to pass your credentials.

H:\Users\yourID> vsched –passwd

If you have never issued vsched –passwd and try to submit a job, the submission will fail:

H:\Users\yourID> vsched –s MyJob.xml
H:\Users\yourID> yourID please register your password with command: vsched –passwd

If you have issued vsched –passwd, but have since changed your password without reissuing vsched –passwd, the job submission will fail:

H:\Users\yourID> vsched –s MyJob.xml
H:\Users\yourID> Please re-register your password with command: vsched –passwd
If you successfully submit a job, then change your password while your job is waiting in the queue, you must also register your password with vsched -passwd before it starts. If you do not, when it is time for the job to start it will maintain its position in the queue, but the job status will change to holding, or “H”. At this time the user must first re-register their password and then issue vsched -cs (changestatus) to return the job to active status:
H:\Users\yourID> vsched –pa
H:\Users\yourID> Please enter your password : ***********
H:\Users\yourID> Please confirm your password : ***********
H:\Users\yourID> Your password for Velocity Scheduler has been set
H:\Users\yourID> vsched –cs 1234

Tip: Obtaining the Jobid for a machine

From a compute node, issue vsched -j or -jid to return the job ID