Veritas Cluster Server Bundled Agents Reference Guide

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

d1mj3xqaoh14j0.cloudfront.net
from d1mj3xqaoh14j0.cloudfront.net More from this publisher
17.08.2015 Views

98 PrintShare agents PrintShare agent Table 5-2 Required Attributes LanmanResName PrintShare agent required attributes Description The name of the Lanman resource configured for the virtual computer. Type and Dimension: string-scalar PrinterName The name of the network printer to be shared. This attribute can take localized values. Type and Dimension: string-scalar ShareName The name by which the network printer will be shared. This attribute can take localized values. Type and Dimension: string-scalar Dependency The PrintShare resource depends on the PrintSpool resource. Agent functions online offline monitor Adds a share to the network printer on the virtual computer. Deletes the share to the network printer from the virtual computer. Verifies that the share to the network printer exists. State definitions ONLINE OFFLINE UNKNOWN Indicates the network printer is shared from the virtual computer. Indicates the network printer is not shared from the virtual computer. Indicates the agent could not determine the status of the resource. Resource type definition type PrintShare ( static i18nstr ArgList[] = {PrinterName, ShareName, "LanmanResName:VirtualName" } i18nstr PrinterName i18nstr ShareName

PrintShare agents PrintShare agent 99 ) str LanmanResName Attribute definitions Table 5-3 PrintShare agent required attributes Required Attributes LanmanResName Description The name of the Lanman resource configured for the virtual computer. Type and Dimension: string-scalar PrinterName The name of the network printer to be shared. This attribute can take localized values. Type and Dimension: string-scalar ShareName The name by which the network printer will be shared. This attribute can take localized values. Type and Dimension: string-scalar Sample configuration The following sample configuration creates a PrintShare resource with the required PrintSpool and ServiceMonitor resources. IP IP-10-212-100-184 ( Address = "10.212.100.184" SubNetMask = "255.255.254.0" MACAddress @SYSTEM1 = "00-02-B3-AD-CB-D0" MACAddress @SYSTEM2 = "00-02-B3-AD-CE-E4" ) Lanman Lanman-PRINTSHAREMAN ( VirtualName = PRINTSHAREMAN IPResName = IP-10-212-100-184 ADCriticalForOnline = 1 ) MountV MountV-JDrive ( MountPath = "J:" VolumeName = PS-SPOOL VMDGResName = VMDg-PRINTSHARE_DG

98<br />

PrintShare agents<br />

PrintShare agent<br />

Table 5-2<br />

Required<br />

Attributes<br />

LanmanResName<br />

PrintShare agent required attributes<br />

Description<br />

The name of the Lanman resource configured for the virtual computer.<br />

Type and Dimension: string-scalar<br />

PrinterName<br />

The name of the network printer to be shared. This attribute can take<br />

localized values.<br />

Type and Dimension: string-scalar<br />

ShareName<br />

The name by which the network printer will be shared. This attribute<br />

can take localized values.<br />

Type and Dimension: string-scalar<br />

Dependency<br />

The PrintShare resource depends on the PrintSpool resource.<br />

Agent functions<br />

online<br />

offline<br />

monitor<br />

Adds a share to the network printer on the virtual computer.<br />

Deletes the share to the network printer from the virtual computer.<br />

Verifies that the share to the network printer exists.<br />

State definitions<br />

ONLINE<br />

OFFLINE<br />

UNKNOWN<br />

Indicates the network printer is shared from the virtual computer.<br />

Indicates the network printer is not shared from the virtual computer.<br />

Indicates the agent could not determine the status of the resource.<br />

Resource type definition<br />

type PrintShare (<br />

static i18nstr ArgList[] = {PrinterName, ShareName,<br />

"LanmanResName:VirtualName" }<br />

i18nstr PrinterName<br />

i18nstr ShareName

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!