Site.cfg

Previous Next  Print this Topic

Use a Site.cfg file to work remotely on a network subnet that does not have multicast capabilities. Not having multicast will prevent the Phoenix VCM Locator Service on your local client machine from seeing vaults in Vault Admin and from viewing search results in Video Content Manager. This capability is intended only for advanced users.

Create a Site.cfg using any text editor and save as a plain text document. Once created, it needs to be added to the following path: <install-dir>\Config.
Site.cfg is a block structured text file. At the end of this section, there is a sample Site.cfg. You will need to modify the file to meet your own criteria before implementing it.

Site.cfg is comprised of at least one or more policy_name blocks, each is for a remote site.

The policy_name field is for information use. It can be set to anything but it must exist.
The version and type fields must be set as shown in the table below.
You can place as many remote site blocks into the file as you need.

Everything is case sensitive, including the filename (Site.cfg).

Block name

Valid Token/Values

Description

policy_name =       "<policy name>"

version = "1.0"

The value for version must be set to "1.0".

Required

type = "sitecfg"

The value for type must be set to "sitecfg".

Required.

ip_address = "<IP address>"

The IP address for the remote site that you are trying to access.

Required.

description = "<character string>"

The label for the control as it will appear in the application.

Valid values = a string

Required.

Create a Site.cfg - Example

1.Open a text editor, such as WordPad or Notepad, and start a new document. If using WordPad, be sure to create a Text Document (.txt) and not Rich Text Format (.rtf).
2.Copy and paste the following Site.cfg sample file into the new document.

policy_name = "DSM-NVR"

[

       version          = "1.0"

       type             = "sitecfg"

       ip_address       = "172.16.42.28"

       description      = "DSM-NVR"

]

 

policy_name = "IC-NVR"

[

       version          = "1.0"

       type             = "sitecfg"

       ip_address       = "172.16.153.18"

       description      = "IC-NVR"

]

 

policy_name = "QC-NVR"

[

       version          = "1.0"

       type             = "sitecfg"

       ip_address       = "172.16.138.18"

       description      = "QC-NVR"

]

 

policy_name = "WL-NVR"

[

       version          = "1.0"

       type             = "sitecfg"

       ip_address       = "172.16.90.18"

       description      = "WL-NVR"

]

3.Save the document to <install-dir>/Config, naming it Site.cfg.
4.Launch your Phoenix VCM Vault Admin or Video Content Manager.
5.While the splash screen is being displayed, a Remote Site dialog box will pop-up and be displayed. Choose your remote site from the drop-down list.
Local Network is a default choice and is always available.
6.Click OK to continue opening your application.

Once this file is created, you can go back and modify it at any time with different or additional policy names for remote sites. See the above sections for tokens/values to change.