Veritas Cluster Server Bundled Agents Reference Guide
Veritas⢠Cluster Server Bundled Agents Reference Guide - Symantec Veritas⢠Cluster Server Bundled Agents Reference Guide - Symantec
124 Services and applications agents Process agent Table 6-8 Process agent optional attributes (continued) Optional Attributes UserName Description The user name in whose context the configured process executes. Username can be of the form username@domain.com or domain.com\username. If a user name is not specified, the configured process runs in the context of the user account used by VCS High Availability Engine (HAD). Note: This attribute can take localized values. Type and Dimension: string-scalar LanmanResName The name of the Lanman resource. The Process agent monitors the configured process in the context of the virtual name specified in the Lanman resource. Type and Dimension: string-scalar Note: When defining the StartProgram, StopProgram, or MonitorProgram attributes, enclose the path of the executable file in double quotes. Do not enclose arguments in double quotes. Sample configuration Sample 1 In the following configuration, the online function spawns the executable test.exe with online as a command-line argument. The offline function spawns the executable test.exe with offline as the command-line argument. The monitor function monitors the attribute value for StartProgram, test.exe, and checks the state. Process Process_Test ( ) Sample 2 StartProgram = "\"X:\\bin\\test.exe\" /online" StopProgram = "\"X:\\bin\\test.exe\" /offline" UserName = "Administrator" Password = bphNepE Domain = "VCS_DOMAIN"
Services and applications agents MSMQ agent 125 In the following configuration, the batch file start.bat starts an instance, MyProcess, of the executable process.exe. The batch file stop.bat stops the process instance of process.exe. The batch file monitor.bat monitors the attribute value for StartProgram, and checks the state of the process.exe. Note that the executable process.exe resides in the directory C:\batchfiles, which is specified as the StartupDirectory. PROCESS-Process_SG ( StartProgram = "C:\\batchfiles\\start.bat MyProcess" StartupDirectory = "C:\\batchfiles" StopProgram = "C:\\batchfiles\\stop.bat MyProcess" MonitorProgram = "C:\\batchfiles\\monitor.bat MyProcess" UserName = Administrator Password = jxpVmxM Domain = "mydomain.mycompany.com" ) MSMQ agent The MSMQ agent is a bundled agent that works with the Microsoft Message Queuing (MSMQ) service. The MSMQ agent creates an MSMQ service for an MSMQ resource, brings the service online, takes it offline, and monitors its status. The agent provides high availability for the MSMQ service and the queues hosted by the service, in a clustered environment. You can configure an MSMQ resource using the command line. See the Veritas Cluster Server Administrator's Guide for instructions. Dependencies The MSMQ resource depends on the MountV, Lanman, and the Registry Replication resources for operation. The MSMQ resource starts after each of these resources is brought online. The following figure illustrates the agent's dependency graph.
- Page 73 and 74: Chapter 4 FileShare agents This cha
- Page 75 and 76: FileShare agents FileShare agent 75
- Page 77 and 78: FileShare agents FileShare agent 77
- Page 79 and 80: FileShare agents FileShare agent 79
- Page 81 and 82: FileShare agents FileShare agent 81
- Page 83 and 84: FileShare agents CompositeFileShare
- Page 85 and 86: FileShare agents CompositeFileShare
- Page 87 and 88: FileShare agents CompositeFileShare
- Page 89 and 90: FileShare agents CompositeFileShare
- Page 91 and 92: FileShare agents CompositeFileShare
- Page 93 and 94: Chapter 5 PrintShare agents This ch
- Page 95 and 96: PrintShare agents PrintSpool agent
- Page 97 and 98: PrintShare agents PrintShare agent
- Page 99 and 100: PrintShare agents PrintShare agent
- Page 101 and 102: PrintShare agents PrintShare agent
- Page 103 and 104: Chapter 6 Services and applications
- Page 105 and 106: Services and applications agents In
- Page 107 and 108: Services and applications agents In
- Page 109 and 110: Services and applications agents In
- Page 111 and 112: Services and applications agents Ge
- Page 113 and 114: Services and applications agents Ge
- Page 115 and 116: Services and applications agents Se
- Page 117 and 118: Services and applications agents Se
- Page 119 and 120: Services and applications agents Pr
- Page 121 and 122: Services and applications agents Pr
- Page 123: Services and applications agents Pr
- Page 127 and 128: Services and applications agents MS
- Page 129 and 130: Chapter 7 VCS infrastructure and su
- Page 131 and 132: VCS infrastructure and support agen
- Page 133 and 134: VCS infrastructure and support agen
- Page 135 and 136: VCS infrastructure and support agen
- Page 137 and 138: VCS infrastructure and support agen
- Page 139 and 140: VCS infrastructure and support agen
- Page 141 and 142: VCS infrastructure and support agen
- Page 143 and 144: VCS infrastructure and support agen
- Page 145 and 146: VCS infrastructure and support agen
- Page 147 and 148: VCS infrastructure and support agen
- Page 149 and 150: VCS infrastructure and support agen
- Page 151 and 152: VCS infrastructure and support agen
- Page 153 and 154: VCS infrastructure and support agen
- Page 155 and 156: VCS infrastructure and support agen
- Page 157 and 158: VCS infrastructure and support agen
- Page 159 and 160: VCS infrastructure and support agen
- Page 161 and 162: Chapter 8 VCS hardware replication
- Page 163 and 164: VCS hardware replication agent for
- Page 165 and 166: VCS hardware replication agent for
- Page 167 and 168: VCS hardware replication agent for
- Page 169 and 170: VCS hardware replication agent for
- Page 171 and 172: Chapter 9 Troubleshooting bundled a
- Page 173 and 174: Troubleshooting bundled agents Trou
124<br />
Services and applications agents<br />
Process agent<br />
Table 6-8<br />
Process agent optional attributes (continued)<br />
Optional Attributes<br />
UserName<br />
Description<br />
The user name in whose context the configured process<br />
executes. Username can be of the form username@domain.com<br />
or domain.com\username.<br />
If a user name is not specified, the configured process runs in<br />
the context of the user account used by VCS High Availability<br />
Engine (HAD).<br />
Note: This attribute can take localized values.<br />
Type and Dimension: string-scalar<br />
LanmanResName<br />
The name of the Lanman resource.<br />
The Process agent monitors the configured process in the<br />
context of the virtual name specified in the Lanman resource.<br />
Type and Dimension: string-scalar<br />
Note: When defining the StartProgram, StopProgram, or MonitorProgram<br />
attributes, enclose the path of the executable file in double quotes. Do not enclose<br />
arguments in double quotes.<br />
Sample configuration<br />
Sample 1<br />
In the following configuration, the online function spawns the executable test.exe<br />
with online as a command-line argument. The offline function spawns the<br />
executable test.exe with offline as the command-line argument. The monitor<br />
function monitors the attribute value for StartProgram, test.exe, and checks the<br />
state.<br />
Process Process_Test (<br />
)<br />
Sample 2<br />
StartProgram = "\"X:\\bin\\test.exe\" /online"<br />
StopProgram = "\"X:\\bin\\test.exe\" /offline"<br />
UserName = "Administrator"<br />
Password = bphNepE<br />
Domain = "VCS_DOMAIN"