A server site is an individual deployment of ArcGIS Video Server and is the server unit that can be federated with the ArcGIS Enterprise portal.
There are two ways to create the server site. You can use the ArcGIS Video Server configuration wizard or the createsite command line utility.
Use the wizard to create a site
To use the ArcGIS Video Server configuration wizard to create an ArcGIS Video Server site on the machine, complete the following steps:
- In a browser, go to https://video-server-name.domain.com:21443/arcgis/configure.
Alternatively, open the wizard from the Start menu by choosing ArcGIS > ArcGIS Video Server Configuration.
- Click Create Site.
- Provide a username and password for the primary site administrator account and click Next.
The username must contain at least six characters and the password must contain at least eight. They cannot contain these characters: \:/*?|<>"
Note:
The primary site administrator account using this username and password is recognized only by ArcGIS Video Server. It's not an operating system account, and it's managed separately from the user accounts in your user store. The primary site administrator has unrestricted access to the ArcGIS Video Server site. This account is typically used to create the ArcGIS Video Server site and to configure and manage security. The primary site administrator account shouldn't be confused with the ArcGIS Video Server account you provided during installation. - Type the paths to the directories you want to use for your content directory, workspace directory, and configuration store.
By default, the directories are created in <ArcGIS Video Server installation drive>\arcgisvideoserver.
You can use different directories on your local drive or your network for the configuration store, content store, and logs. This location must be accessible to the ArcGIS Video Server account, and the account must have read and write permissions to it.
- Click Next.
- Review the summary page and click Finish to create the site, or click Back to make changes.
Once the server site is created, install and configure ArcGIS Web Adaptor.
Use the createsite utility to create a site
Once ArcGIS Video Server is installed, you can use the createsite command line utility to create a server site. If you use the createsite utility, you have the following options:
Note:
If you installed ArcGIS Video Server silently, the command prompt must be closed and reopened before the createsite utility can be used.- Provide the path to the createsite.properties file that specifies these parameters. This is the recommended option because it is more secure.
- Run the createsite utility as the ArcGIS Video Server account from the command prompt window and specify the username, password, configuration store location, and directory parameters. The configuration store location and directory parameters are optional.
The utility is located at <ArcGIS Video Server install directory>\tools\createsite\createsite.bat.
Note:
If you're using a UNC path for directories and config-store, you must escape any backslashes (\) when designating them. This only applies when you're using the createsite utility to create a site from a file.
The command line parameters for the utility are described in the following table:
Parameter | Description |
---|---|
-u or --username | The username for the primary site administrator. The username must be at least six characters and cannot contain these characters: \:/*?|<>". |
-p or --password | The password for the primary site administrator. The password must be at least eight characters and cannot contain these characters: \:/*?|<>". |
-d or --directory | The root server directory. By default, the server directories are created in the local directory C:\arcgisvideoserver\directories. |
-c or --configstore | The configuration store for the ArcGIS Video Server site. A sample properties file is located in C:\arcgisvideoserver\config-store. |
-f or --file | The properties file for the createsite utility. By default, the createsite.properties file is located in <ArcGIS Video Server installation directory>\tools\createsite. |
-h or --help | Displays command line help and exits. |
Specify parameters in the utility
If you're specifying parameters in the utility, run the command with the following syntax: createsite.bat [-u <username>] [-p <password>] [-d <directory>] [-c <config-store>]. The directory and config-store parameters are optional.
The following code example demonstrates keeping the default directory and configuration store locations:
<ArcGIS Video Server install directory>\tools\createsite\createsite.bat -u videoPSA -p password -d path\to\directories -c path\to\config-store
Specify parameters from a file
If you're specifying parameters from a file, run the command to use the createsite.properties file with the following syntax: createsite.bat [-f <filepath>]. A sample template of this file is located in <ArcGIS Video Server install directory>\tools\createsite. The file should use the following syntax:
# Configuration properties for Server site creation
#
# username for primary site administrator.
# Cannot contain these characters: \\/:*?<>"
SERVER_ADMIN_USERNAME =
# Password for primary site administrator.
# Cannot contain these characters: \\/:*?<>"
SERVER_ADMIN_PASSWORD =
# Initially, leave SERVER_ADMIN_PASSWORD_ENCRYPTED set to false.
# When you run the tool the first time, the password will be
# encrypted and SERVER_ADMIN_PASSWORD_ENCRYPTED will change to true.
SERVER_ADMIN_PASSWORD_ENCRYPTED = false
# Root server directory. By default, the server directories will be created locally.
SERVER_DIRECTORIES_PATH =
# Configuration store for the ArcGIS Video Server site. By default, the configuration store will be created locally.
SERVER_CONFIGSTORE_PATH =
Each file path referenced in the createsite.properties file adds a second backslash, for example C:\\arcgisserver\\directories. This is required by the command line utility.
When you run the utility successfully, a message appears before the tool closes indicating that the ArcGIS Video Server site was created.
Next step
Once the ArcGIS Video Server site is created, install and configure ArcGIS Web Adaptor.