config_media_servers | Teradata DSA Commands - 17.20 - config_media_servers - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.20
Release Date
October 2021
Content Type
User Guide
Publication ID
B035-3150-101K
Language
English (United States)

Purpose

The config_media_servers command configures the BAR media servers.

Syntax

config_media_servers -f|-file filename

Example

dsc config_media_servers -f configMediaServers.xml

Parameters

f|file filename
The full path and name of the file containing the necessary configuration parameters.
Example: configMediaServers.xml
u|user_authentication User
Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.

Permissions required: Administrator role

Usage Notes

You must issue this command before creating a target group.

The media_server_name can only use the following characters: 'A-Z', 'a-z', '0-9', '-', '_', and '.'

XML File Example

The sample XML file below specifies parameters to configure BAR media servers.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

          <!--****The command below must be on one line.****-->
<dscConfigMediaServers dscVersion="dscVersion1" xmlns="http://schemas.teradata.com/v2012/DSC"
xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance" xsi:schemaLocation="DSC.xsd">

<!-- 'media_server_name' - Required, max characters 32, alphanumeric plus "-","_", ".", first character must be alphanumeric -->
<media_server_name>media_server71</media_server_name>
<!-- Required, max characters 5, Value range 1-65535 -->

<ip_info>
<!-- 'ip_address' - Required (at least 1), Only supporting IPV4 and IPV6 standards (do not use link-local IPv6 address [beginning with fe80]). No DNS support. -->
<ip_address>111.111.111.111</ip_address>

<!-- 'netmask' - Required (at least 1), Only supporting IPV4 and IPV6 standards (do not use link-local IPv6 address [beginning with fe80]). No DNS support. -->
<netmask>255.255.255.0</netmask>
</ip_info>

<ip_info>
<!-- 'ip_address' - Required (at least 1), Only supporting IPV4 and IPV6 standards (do not use link-local IPv6 address [beginning with fe80]). No DNS support. -->
<ip_address>222.222.222.222</ip_address>

<!-- 'netmask' - Required (at least 1), Only supporting IPV4 and IPV6 standards (do not use link-local IPv6 address [beginning with fe80]). No DNS support. -->
<netmask>255.255.255.0</netmask>
</ip_info>
</dscConfigMediaServers>