2008-10-22 16:02:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Sample job command template file used to generate cluster rolling update
|
2010-09-14 22:29:41 +00:00
|
|
|
# job command files that will be used to create reservations in LoadLeveler.
|
2008-10-22 16:02:14 +00:00
|
|
|
# xCAT will substitute the following when creating the LL job command files:
|
2010-09-14 22:29:41 +00:00
|
|
|
# [[NODESET]] - the update group name for the nodes in this reservation
|
|
|
|
# [[JOBDIR]] - the directory specified in the rollupdate input stanza
|
|
|
|
# jobdir entry
|
|
|
|
# [[LLHOSTFILE]] - the file generated by the xCAT rollupdate command that
|
|
|
|
# contains the list of LL machines in this update group
|
|
|
|
# that were available at the time the command was run.
|
|
|
|
# [[MUTEXRESOURCES]] - The list of LL resources created by xCAT to handle
|
|
|
|
# mutual exclusion and maxupdates
|
2008-10-22 16:02:14 +00:00
|
|
|
#
|
|
|
|
# @ job_name = rollupdate_[[NODESET]]
|
|
|
|
# @ job_type = parallel
|
|
|
|
# @ node_usage = not_shared
|
|
|
|
# @ restart = no
|
2010-09-14 22:29:41 +00:00
|
|
|
# @ error = [[JOBDIR]]/rollupdate_[[NODESET]].$(Host).$(Cluster).$(Process).err
|
|
|
|
# @ output = [[JOBDIR]]/rollupdate_[[NODESET]].$(Host).$(Cluster).$(Process).out
|
|
|
|
# @ host_file = [[LLHOSTFILE]]
|
2010-10-25 18:11:58 +00:00
|
|
|
# @ step_resources = [[MUTEXRESOURCES]]
|
2008-10-22 16:02:14 +00:00
|
|
|
# @ queue
|
|
|
|
|