MC/ServiceGuard
1753602 會員
5840 線上
108797 解決方案
發表新文章

package default會自己帶起來嗎

 
watermelonyu
教授

package default會自己帶起來嗎

我在service guard裡面建立了數個package

請問我在啟動cluster時會自己帶起來嗎

如果不會,我要怎做才可以自動
2則回覆 2
watermelonyu
教授

package default會自己帶起來嗎

in your pkg_XXX.conf, find the string

"AUTO_RUN", and set the value to "YES", then

when the cluster is started the package will be

automatically started.



example.

AUTO_RUN YES
watermelonyu
教授

package default會自己帶起來嗎

如果你的cluster启来后,你的pkg没有启来,可以尝试一下这个命令:

cmrunpkg -v -n node pkg

就可以把pkg启动到指定的node上了

希望对你有用:)