Opened 11 years ago

Closed 6 years ago

#556 closed enhancement (fixed)

IZ2674: need a better way to control shadow daemon parameters

Reported by: templedf Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2
Severity: minor Keywords: qmaster
Cc:

Description

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

        Issue #:      2674             Platform:     All           Reporter: templedf (templedf)
       Component:     gridengine          OS:        All
     Subcomponent:    qmaster          Version:      6.2              CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
          URL:
       * Summary:     need a better way to control shadow daemon parameters
   Status whiteboard:
      Attachments:

     Issue 2674 blocks:
   Votes for issue 2674:


   Opened: Wed Jul 23 04:45:00 -0700 2008 
------------------------


The shadow daemon behavior is controlled by a set of three environment
variables.  Because the shadow daemon is typically started by the
$SGE_ROOT/$SGE_CELL/common/sgemaster script during host initialization, there is
no way to set the variables before the script runs.  The current solution is to
edit the sgemaster file to set the variables before running the shadow daemon,
but that is a poor solution.

One solution would be to have a separate file in the common directory to set the
shadow daemon behavior.  Another solution would be to set the variables
explicitly at the top of the sgemaster script so that if one must edit the file,
it is obvious what to edit.

   ------- Additional comments from templedf Wed Jul 23 05:47:15 -0700 2008 -------
In the case of SMF, the above is the complete story.  Without SMF, it is
possible to also edit the RC script to add the environment variables.  The same
arguments apply, however.  In addition, both the SMF and non-SMF methods should
match, so I would discount editing the RC script as a real option.

Change History (1)

comment:1 Changed 6 years ago by dlove

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed

Use /etc/default/sgemaster

Note: See TracTickets for help on using tickets.