5 Replies Latest reply on Jan 29, 2015 6:45 PM by Bill Robinson

    job queue (single-user mode) question

      Hi,

       

      I have the following scenario in bladelogic 8.3:

       

      1) Create a BLPackage1 containing external commands (NSH)

      2) For each step (external command) inside of BLPackage1, for 'Single-user mode', I enabled 'Use single-user mode without reboot'

      3) I created a deploy job for BLPackage1 against serverA called deployJobA

      4) I created another deploy job for BLPackage1 against serverA called deployJobB

      5) Create a BLPackage2 containing external commands (NSH)

      6) For each step (external command) inside of BLPackage2, for 'Single-user mode', I enabled 'Use single-user mode without reboot'

      7) I created a deploy job for BLPackage2 against serverA called deployJobC


      So, I have:

      - 2 BLPackages (BLPackage1, BLPackage2) containing hello-world type NSH external commands (pwd, sleep 30) with single-user mode enabled.

      - 3 DeployJobs against serverA (DeployJob1 and DeployJob2 for BLPackage1; DeployJob3 for BLPackage2)


      Now my understanding/expectation is:

      - since the 'single-user mode' is enabled, only one Deploy Job should execute at a time (as all these deploy jobs are against same target).

      - If DeployJob1 is running, then DeployJob2 and DeployJob3 should be 'queued' (in wait status and start running only once DeployJob1 has ended).


      However, this is what I am seeing:

      - While DeployJob1 is running, and if I execute one of/both DeployJob2 and DeployJob3, all the jobs go to 'running' state.

      - once the job has ended, I check up the logs to see if there is any message for 'queueing/waiting' but I don't see any -- just normal job execution messages.


      I read up the user manuals and browsed this website, I am really stumped and would like your help on this, please.


      Thank you very much in advance.