P4TARGET
Set P4TARGET
to the the fully-qualified domain name or IP
address of the master server from which a replica server is to retrieve
its data. You can set P4TARGET
explicitly, specify it on the
p4d
command line with the -t
protocol:host:port
option, or you can use
p4 configure
to set a P4TARGET
for each
named replica server. See the table below for the available
protocol
options.
If you specify a target, p4d
examines its
configuration for startup.N
commands: if no valid
p4 pull
commands are found, p4d
runs and waits for the user to manually start a p4
pull
command. If you omit a target,
p4d
assumes the existence of an external metadata
replication source such as p4 replicate
. See
p4 pull vs. p4 replicate
for details.
Protocol | Behavior |
---|---|
|
Use |
|
Use |
|
Listen on/connect to an IPv4 address/port only. |
|
Listen on/connect to an IPv6 address/port only. |
|
Attempt to listen on/connect to an IPv4 address/port. If this fails, try IPv6. |
|
Attempt to listen on/connect to an IPv6 address/port. If this fails, try IPv4. |
|
Use |
|
Listen on/connect to an IPv4 address/port only, using SSL encryption. |
|
Listen on/connect to an IPv6 address/port only, using SSL encryption. |
|
Attempt to listen on/connect to an IPv4 address/port. If this fails, try IPv6. After connecting, require SSL encryption. |
|
Attempt to listen on/connect to an IPv6 address/port. If this fails, try IPv4. After connecting, require SSL encryption. |
P4TARGET can be the hosts' hostname or its IP address; both
IPv4 and IPv6 addresses are supported. For the listen
setting, you can use the *
wildcard to refer to all IP
addresses, but only when you are not using CIDR notation.
If you use the *
wildcard with an IPv6 address, you must
enclose the entire IPv6 address in square brackets. For example,
[2001:db8:1:2:*]
is equivalent to
[2001:db8:1:2::]/64
. Best practice is to use CIDR notation,
surround IPv6 addresses with square brackets, and to avoid the
*
wildcard.
Your search for returned result(s).