sas >> Job Scheduling on a Queue from SAS Management Console

by Jitin Batra » Fri, 18 Jan 2008 02:24:29 GMT

We decided that we will create a our own queue and run the jobs with
no dependancy. That queue will have the feature of running only 8 or
10 job at a time and as and when a job completes, the LSF scheduler
will run another job out of the other waiting jobs on that queue. Here
is what I did:

su to "lsfadmin" id before executing any commands or editing any
files. And take backup of all the edited files before changing
anything.

Created queue testing by editing the file "lsb.queues" present in /usr/
share/lsf/lsjs/conf/lsbatch/sas_cluster/configdir
Added this code to add a new queue in the above mentioned file

Begin Queue

QUEUE_NAME = testing
PRIORITY = 30
NICE = 20
#RUN_WINDOW = 5:19:00-1:8:30 20:00-8:30
#r1m = 0.7/2.0 # loadSched/loadStop
#r15m = 1.0/2.5
#pg = 4.0/8
#ut = 0.2
#io = 50/240
#CPULIMIT = 180/hostA # 3 hours of host hostA
#FILELIMIT = 20000
MEMLIMIT = 5000 # jobs bigger than this (5M) will be
niced
#DATALIMIT = 20000 # jobs data segment limit
STACKLIMIT = 2048
#CORELIMIT = 20000
#PROCLIMIT = 5 # job processor limit
USERS = all # users who can submit jobs to this
queue
#HOSTS = all # hosts on which jobs in this queue can
run
#PRE_EXEC = /usr/local/lsf/misc/testq_pre >> /tmp/pre.out
#POST_EXEC = /usr/local/lsf/misc/testq_post |grep -v "Hey"
#REQUEUE_EXIT_VALUES = 55 34 78
CHUNK_JOB_SIZE = 2
DESCRIPTION = For normal low priority jobs, running only if hosts are
\
lightly loaded.
End Queue

To execute the below mentioned commands it is necessary to execute the
"profile.lsf" file present in /usr/share/lsf/lsjs/conf
To execute the "profile.lsf" file type . ./profile.lsf (dot space dot
slash profile.lsf). Login id must be "lsfadmin"

Then I checked the new configuration by executing the command "badmin
ckconfig"
There were no erros, so I executed the command "badmin reconfig" to
load the new configuration.

Then I opened SAS Management Console and right clicked on a job in our
flow and selected Properties ->Scheduling Details -> Advanced and then
chose our new custom made queue.

But strangely, when I open the same window again for the same job, the
queue on which the job is to be run returns back to "normal".

If anyone has faced this issue, then please respond.

Thanks ,
Jitin

Similar Threads

1. BIP Tree not appear in my Sas management console

2. Migrating 'Data Library Manager' of SAS Management Console

Hello,

Can I get any help on the following:

I would like to know, if I can write any program to export the
definitions of libraries & database schemas in SAS Management Console
from current to new server? Please note that I do not want to export
the complete repository and like to migrate information from 'Data
Library Manager' only.

Thank You in advance.

Sri

3. show/hide plugins in management console for sas 9.1.3

4. SAS Management Console - setting up a production/development environment

Hi,

I am using SAS Management Console and am trying to simulate a actual
working situation by creating a small environment. The details of the
environment set up are as follows:

a) The "foundation" repository already exists.

b) There will be one "custom" repository (say "Marketing - production")
which will serve as a production library. This repository will be under
change management and will be dependent on the
Foundation repository.

c) There will be two "Project" repository (say "Marketing -
development" and "Marketing - testing") which will serve as the
development and testing environment respectively. These project
repository will depend on the "custom" repository ("Marketing -
production")

Similary there will be a identical repository structure for "Finance -
production", "Finance - development" and "Finance- Testing".

Now, for the "Marketing" business area I created the three repository
(one custom and two project) and also provided SASUSERS the
"readmetadata", "writemetadata" and "changemetadata"
permissions.

When I create a profile and try to assign a default repository for this
profile, I am able to see only "Foundation Repository" and "Marketing -
Production" repository (custom). I do not see the project repository
among the list to choose from. If I select the custom repository
"Marketing - Production" as the default repository then in ETL studio I
am able  to see only the custom and the foundation repository. Thus am
not able to work in the project repository.

Why is this so????

Basically, what I want is- to be able to create a environment such that
a user group (say marketing) is able to develop their ETL applications
in their development library, test it in their testing library and then
finally move the tested application to the production library
("Marketing - production"). Similarly a environment for another user
group (say finance).

Can anyone help me out with this. The fact that I am not being able to
view the project library among the list to choose from while assigning
a default repository for a profile is holding me up!

Thanks,
Ankit

5. Adding number of users to SAS Management console

6. Documentation about SAS Management console pluggins

Hi,

Has anyone information about SAS Management console pluggins (the .jar
files, localized in
!SASROOT\SASManagementConsole\9.1\plugins).

I am looking for information about the links between each jar files ans
each objects on the SMC.

Thanks for your help.

Tristan

7. Registering a stored process in the SAS Management Console

8. sas 9 management console

Hi,

I've installed sas9.1.2 but can find the management console - any ideas how 
to install or find this?


Doug