Opened 50 years ago

Last modified 9 years ago

#873 new task

IZ459: allow list of jvms when starting up

Reported by: zwierzak Owned by:
Priority: normal Milestone:
Component: hedeby Version: 1.0
Severity: Keywords: cli
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=459]

        Issue #:      459          Platform:     All         Reporter: zwierzak (zwierzak)
       Component:     hedeby          OS:        All
     Subcomponent:    cli          Version:      1.0            CC:    None defined
        Status:       NEW          Priority:     P3
      Resolution:                 Issue type:    TASK
                               Target milestone: 1.0u5next
      Assigned to:    zwierzak (zwierzak)
      QA Contact:     adoerr
          URL:
       * Summary:     allow list of jvms when starting up
   Status whiteboard:
      Attachments:


     Issue 459 blocks:
   Votes for issue 459:     Vote for this issue


   Opened: Wed May 14 00:18:00 -0700 2008 
------------------------


   The use case is simple:

   install system preferences system with non-root admin user then try to start
   system as admin user (remember the executor_vm should be started as root) so to
   proceed properly the user has to:

   1) login as root and do: sdmadm suj (start all jvms as root)

   OR

   2) do: sdmadm suj cs_vm; sdmadm suj rp_vm;
   login as root and do: sdmadm suj executor_vm

   I'd like to be able to start sevral jvms in one command but not all....example:
   sdmadm suj -j cs_vm, rp_vm

   This is task/enhancement
               ------- Additional comments from zwierzak Tue Aug 5 03:32:07 -0700 2008 -------
   Description:

   This would be helpful for the user if he is able to specify several jvms to
   start at once.

   "sdmadm suj -j cs_vm, rp_vm"

   Because we are just able to start single jvm or all jvms.

   Evaluation:

   It's low priority. User can start 2 of 3 jvm by issueing single commands "sdmadm
   suj -j cs_vm" "sdmadm suj -j rp_vm"

   Suggested fix / Work Around:
   Workaround for current release: User can start 2 of 3 jvm by issueing single
   commands "sdmadm suj -j cs_vm" "sdmadm suj -j rp_vm"

   Suggested fix: Enable "sdmadm suj -j cs_vm,rp_vm"

   Analysis:

   StartJVMCliCommand.java

   60-64 change to list type
   Note: if more than 1 jvm is specified the debug port option should be ignored

   StartJVMCommand.java

   setName() should be setNames accepting the list

   95-101:
   in this else block there should be start called in "for" loop for each jvmName,
   before doing this there should be sorting done to detect if cs_vm is going to be
   started (this should be started as first one)

   How to test:

   Enhance the testsuite test, we heave testsuite test that is stress test for
   startup of jvms, one more use case should be added to this test,

   start selected jvms with swith like -j cs_vm,rp_vm


   ETC: 3 PD

   ATC: 0,5 PD
               ------- Additional comments from rhierlmeier Wed Nov 25 07:21:10 -0700 2009 -------
   Milestone changed

Change History (0)

Note: See TracTickets for help on using tickets.