The Distribute Utility

Use the Distribute utility to distribute an autoaction database to Operations Sentinel servers. This utility is useful if your site is large and you update databases frequently. It relieves you from repeatedly executing the Distribute Database or Maintain Database commands in ADBM (see 6.1).

Distribute:

Input

Input to Distribute is the run-time version of an automation database. The run-time version has the file extension .acp for a CP-AMS database, .asp for an SP-AMS database, and .ams for a SMART AMS database.

Output

Distribute displays status messages while running, and a success or error message on completion of the distribute operation.

Starting Distribute

From the Windows Start menu, select Programs, Operations Sentinel x.y.z, Automation Tools, Distribute.

A command prompt window appears, positioned to the folder containing the Distribute program (installation-folder\spo\bin). Abbreviated instructions for calling Distribute are displayed in this window.

At the operating system prompt, enter the following command:

distribute validation-server operation database destination ...

where:

validation-server

is the Operations Sentinel server used to validate permissions. You must be a member of the group SPO Users or SPO Administrators on this server in order to distribute databases.

operation

is either distribute or restore; you can abbreviate these to 3 characters (dis or res).

database

when the operation is distribute, this must include the full path to the database file, or a relative path from the current working folder.

when the operation is restore, this is the name of the database file on the console. Do not specify a path.

Note: Include the file name extension (.ams, .acp, or .asp) on the database file name in both cases.

destination

is the network name or IP address of an Operations Sentinel server. You may specify multiples of these, separated by spaces.

If you need to delete databases or want to use a graphical interface, use the Operations Sentinel Autoaction Database Manager (ADBM) (see 6.1).

Examples

In the following example, Distribute distributes database mains.acp to Operations Sentinel servers os01, os02, and os03. All success and error messages are written to the file dist.txt.

distribute server01 dis C:\test\db\mains.acp os01 os02 od03 >> dist.txt
			

In the following example, Distribute restores backup database ixp.asp on Operations Sentinel server us01. This is done only if you have the necessary permissions by belonging to group SPO Users or SPO Administrators on Operations Sentinel server server02. All success and error messages are displayed in the command prompt window.

distribute server02 restore ixp.asp us01

In the following example, Distribute restores backup database mains.acp on Operations servers os01 and os02. All success and error messages are displayed in the command prompt window.

distribute server01 res mains.acp os01 os02
			

Batch File Example

You can use the distribute command in a batch file similar to the following file.

   C:\spo\spox.y.z\spo\bin\distribute.exe serverA dis cms.ams smptst6 >> dist.txt 
   C:\spo\spox.y.z\spo\bin\distribute.exe serverA dis C:\db\cms.ams smptst6
   C:\spo\spox.y.z\spo\bin\distribute.exe serverA dis ..\..\db\sample1.ams troi
   C:\spo\spox.y.z\spo\bin\distribute.exe serverA dis sample1.ams troi 192.93.494.938
   C:\spo\spox.y.z\spo\bin\distribute.exe serverA dis mapper1.ams troi tuvok smptst7
   C:\spo\spox.y.z\spo\bin\distribute.exe serverA dis mains.ams tuvok smptst6 smptst7 troi
   C:\spo\spox.y.z\spo\bin\distribute.exe serverA dis test.ams 192.546.246.44 

In this example

Notes on distributing databases: