Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 26. Working with Event Subscript... > Managing Subscriptions with wecutil

Managing Subscriptions with wecutil

The basic command you use with wecutil is qc (as wecutil qc) to configure the collector computer. However, there are more commands.

wecutil CommandComments
Enumerate subscriptions. C:\>wecutil esLists existent subscriptions.
Get runtime status of subscription.
wecutil gr subscription-name
C:\>wecutil gr "ad replication"

Gets subscription runtime status. The example retrieves the status of the subscription created earlier in this chapter.
Export a subscription to an XML file.
wecutil gs "subscription-name"
/f:xml > filename
C:\>wecutil gs "ad replication"
/f:xml > adrep.xml

The gs command gets subscription configuration. The /f:xml switch formats the output as XML. You can redirect this to an XML file with the > symbol to a file.
Create subscription from XML file.
wecutil cs xml-file
C:\>wecutil cs adrep.xml

Creates a new subscription. If you have an XML file, you can create (or re-create) the subscription using the cs command.
Delete the subscription.
wecutil ds "subscription-name"
C:\>wecutil ds "ad replication"

The ds command deletes the subscription.
Set event delivery optimization.
wecutil ss "subscription-name"
/cm:normal | minlatency |
minbandwidth | custom
C:\>wecutil ss "ad replication"
C:\>wecutil ss "ad replication"
C:\>wecutil ss "ad replication"

You can modify a subscription with the ss (set subscription) command.

The /cm switch enables you to change the Event Delivery Optimization settings (shown as the Advanced Subscription Settings in Figure 26-7 after clicking the Advanced button).

You can use the /cm:custom switch to configure more advanced settings, such as changing the latency. This requires an additional switch as shown in the next example.
Set latency to 15 seconds.
wecutil ss "subscription-name"
/cm:custom /dmlt:number-of-
C:\>wecutil ss "ad replication"
/cm:custom /dmlt:15000

You can use the /dmlt switch to specify the time between updates (delivery maximum latency time). It is set in milliseconds. You can change this only when you change the configuration mode to custom with /cm:custom.

The example changes the latency to 15,000 so that updates are sent every 15 seconds.

Figure 26-7 shows the result of this command. Notice that it is set to custom, and custom is dimmed. You can change this back by changing the configuration mode using /cm:normal, /cm:minlatency, or /cm:bandwidth.


You are currently reading a PREVIEW of this book.


Get instant access to over $1 million worth of books and videos.


Start a Free 10-Day Trial

  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint