MC/ServiceGuard
1752795 會員
6089 線上
108789 解決方案
發表新文章

package 多次切換會失敗

 
watermelonyu
教授

package 多次切換會失敗

package在host1 切換到host2之後

我想手動切回host1

卻出現Package XXX cannot run on this node because switching has been disabled for this node

切換過一次的host會自動disable嗎

我該怎樣處理呢?
2則回覆 2
watermelonyu
教授

package 多次切換會失敗

The NODE_FAIL_FAST_ENABLED option can be configured for each package in the package configuration file. If NODE_FAIL_FAST_ENABLED is set to YES, the node where the package is running will be halted when one of the following failures occurs:



A package service terminates



A package subnet fails and no backup network is available



An EMS resource fails



The halt script does not exist



ServiceGuard is unable to execute the halt script



The halt script times out



However, if the package halt script fails with "exit 1", ServiceGuard does not halt the node, but sets NO_RESTART for the package, which causes package switching to be disabled, thereby preventing the package from starting on any adoptive node.



----------------------------------------------

try following, then switch package again.

#cmmodpkg -e pkg_name

watermelonyu
教授

package 多次切換會失敗

另一個主題. 無法回覆. so, 一起回答.

http://h50163.www5.hp.com/TCForum/WebUI/Messages/ShowTopic.aspx?RID=64111b5d-ceb4-47db-9b60-f0865fd476bb#Tree0



還必須檢查package_xxx.conf檔案中的fail fast設定