似乎sge试图在服务器启动时挂载lustre之前启动,这会在重启时自动启动时带来一个错误。有谁能告诉我如何在启动时更改订单,以便在装入光泽后启动sge ?
日志中的错误信息:
Aug 12 11:46:21 dragen1 systemd: Configuration file /usr/lib/systemd/system/sge_execd.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Aug 12 11:46:40 dragen1 sge_execd: error: SGE_ROOT directory "/cm/shared/apps/sge/2011.11p1" doesn't exist
Aug 12 11:46:40 dragen1 systemd: sge_execd.service: control process exited, code=exited status=1
Aug 12 11:46:40 dragen1 systemd: Unit sge_execd.service entered failed state.
Aug 12 11:46:40 dragen1 systemd: sge_execd.service failed
我在sge服务的[Unit]下面添加了以下内容
RequiresMountsFor=(Mount Point)