HP LH4r Novell NetWare Cluster Services for NetWare 5 Installation guide - Page 24

Con Unload Scripts

Page 24 highlights

2. Edit or add the necessary commands to the script to load the resource on the server. Some commands may require command line input. You can add

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34

18
Overview and Installation
2.
Edit or add the necessary commands to the script to load the
resource on the server.
Some commands may require command line input. You can add << to a
command to indicate command-line input. For example, a script
command might read:
LOAD SLPDA <<Y
This means that when SLPDA is loaded, it will receive a Y at the
command-line, presumably to a question that needs a yes answer. If there
are more inputs required, they can be continued on subsequent lines, as
follows:
LOAD SLPDA <<Y
<<Y
<<N
The string can be up to 32 characters.
3.
Specify a timeout value.
The default is 600 seconds, or 10 minutes. The timeout value determines
how much time the script is given to complete. If the script does not
complete within the specified time, the resource becomes idle.
Configure Unload Scripts
Depending on your cluster application or resource, you can add an unload
script to specify how the application or resource should terminate. An unload
script is not required by all resources or applications, but it can ensure that
during a failback or manual migration, a resource unloads before it loads on
another node. Consult your application vendor or documentation to determine
if you should add commands to unload the resource.
1.
Select the Unload Script tab on the property page.
2.
Edit or add the necessary commands to the script to unload the
intended resource on the server
You can use any commands used in an .NCF file run from the server
console. If you don’t know which commands to add, consult the
documentation for the application or resource you want to unload.