3.6.1 HP PolyServe Software for Windows File Serving Administration Guide (T5392-96019, July 2008)

Chapter4:ConfigureVirtualCIFSServers 32
ThisbehaviorisnecessarybecausetheStartandStopscriptsarerunto
establishthedesiredstart/stopactivity,eventhoughtheservicemay
actuallyhavebeenstartedbysomethingotherthanHPPolyServe
Software.TheStartandStopscriptsmustalsohandlerecoveryfrom
eventsthatmaycausethemtorun
unsuccessfully.
Forexample,ifthesystemencountersaproblem,thescriptwillfailand
exitnonzero.Theservicecouldthenbecomeactiveonanothernode,
causingtheStopscripttorunontheoriginalnodeeventhoughtheStart
scriptdidnotcompletesuccessfully.
Use Custom Scripts to Modify Start/Stop Activities
TheVirtualFileSharemonitor
performscertainstartingorstopping
activities.Ifyouneedtotakeanactionbeforeorafterthestartingor
stoppingactivity,youcancreateacustomStartorStopscriptforthe
actionandspecifyitontheScriptstabforthemonitor.
Thedefaultorderforstartingis:
•Runthemonitors
startingactivities(ifany)
•RunthecustomStartscript(ifany)
Ifyouwanttoreversethisorder,prefacetheStartscriptwiththeprefix
[pre]ontheScriptstab(forexample,[pre]Start_script_path).
Thedefaultorderforstoppingis:
•RunthecustomStopscript(ifany)
•Runthemonitorsstoppingactivities
(ifany)
Ifyouwanttoreversethisorder,prefacetheStopscriptwiththeprefix
[post]ontheScriptstab(forexample,[post]Stop_script_path).
Event Severity
AneventiscreatedwhenaconfigurationerroroccursoraStart/Stop
scripttimesoutorfails.AneventcancausetheClusterPulseprocessto
initiatefailoveroftheassociatedVirtualCIFSServer.Youcanconfigure
thefailoverbehaviorwiththeEventSeverityattribute.Therearetwo
settings:CONSIDERandIGNORE.