The first place to look is the "shadow_masters" file.

I've created a special SGE_CELL (d2) for this little demo:

root@master:/opt/sge6# d2/common/sgemaster
   starting sge_qmaster

root@master:/opt/sge6# echo `$SGE_ROOT/utilbin/linux-x64/gethostname
-aname` > d2/common/shadow_masters

root@master:/opt/sge6# d2/common/sgemaster
   starting sge_qmaster
   starting sge_shadowd

I agree with Hung-Sheng - there are no script changes needed (at least
for SGE 6.2u5 or GE 2011.11). You just need to add the hostname to the
shadow_masters file.

Rayson





On Tue, May 29, 2012 at 11:22 AM, Hung-Sheng Tsao (LaoTsao) Ph. D.
<[email protected]> wrote:
> please donot change any script!!
> if you follow the steps the inst_sge -sm did ask you to  auto start the
> shadow qmaster?
> it will put the script in place, otherwise somethings is wrong!!
> so questions
> 1)are you use the classic or BDB?
> 2)can shadow mqster access the qmaster spool directory?
> 3)shadow master has all requirement:
>     a)uid
>     b)access the CELL Directory etc
> regards
>
>
>
> On 5/29/2012 11:15 AM, Alan McKay wrote:
>
>
> On Tue, May 29, 2012 at 11:06 AM, Alan McKay <[email protected]> wrote:
>>
>> It is not testing the shadow that I am worried about - it is what will
>> start the shadow if the machine reboots?
>>
>> I currently do not see how that is going to work since nothing got put in
>> /etc/init.d to start it.
>
>
> Also when I put it in there manually it still does not start unless I
> provide the -shadowd option - which suggests to me I do need to make some
> code changes to sgemaster in /etc/init.d :
>
> [root@solexa5 ~]# /etc/init.d/sgemaster start
>
> sge_qmaster didn't start!
> This is not a qmaster host!
> Please, check your act_qmaster file!
>
> [root@solexa5 ~]# /etc/init.d/sgemaster start -shadowd
>    starting sge_shadowd
> [root@solexa5 ~]# !ps
> ps -ef | grep -i sge
> sgeadmin 18561     1  0 10:08 ?        00:00:03
> /gridware/sge/bin/lx24-amd64/sge_execd
> sgeadmin 25565     1  0 11:06 ?        00:00:00
> /gridware/sge/bin/lx24-amd64/sge_shadowd
> root     26055 25199  0 11:13 pts/1    00:00:00 grep -i sge
> [root@solexa5 ~]#
>
>
>
> --
> “Don't eat anything you've ever seen advertised on TV”
>          - Michael Pollan, author of "In Defense of Food"
>
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
>

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to