Version #1

  • //
  • guest/
  • perforce_software/
  • p4dctl/
  • main/
  • Version
  • View
  • Commits
  • Open Download .zip Download (90 B)
RELEASE		= 2013.1 public ;
APIVERSION	= 2013.1 ;
PATCHLEVEL	= 8326 ;
DATE		= 2013 06 28 ;
# Change User Description Committed
#1 16543 Matt Attaway Update P4DCTL with code from 15.2 and reorg files
//guest/perforce_software/p4dctl/src/Version
#1 8907 Matt Attaway Branch Tony Smith's p4dctl tool into perforce_software area

p4dctl is a tool that helps admins to manage multiple Perforce servers. This
tool is used by the Perforce Linux packages to help manage servers.
//guest/tony_smith/perforce/p4dctl/src/Version
#11 8326 Tony Smith Some significant updates to p4dctl.

1. Support for interacting with SSL enabled servers
2. New command 'list' to list configured servers

      p4dctl [ options ] list [ -t type ] -a
             p4dctl [ options ] list [ -t type ] servername

3. New command 'env' to allow you to fetch arbitrary
   settings from a configured server in a form suitable for use
   with 'eval'.

    p4dctl [ options ] env [ -t type ] -a var [ var...  ]
    p4dctl [ options ] env [ -t type ] servername var [ var...  ]

4. Supply a new manpage for p4dctl
#10 8172 Tony Smith Update p4dctl with a few fixes and enhancements:

1. New 'Enable=(true|false)' flag for servers so you can
   temporarily prevent servers from starting.

2. Ensure exit status is correct when commands partially fail. For
   example, start now exits with non-zero status if there are
   some failures.

3. Remove debug printf() that was left over from the change that
   introduced include files.
#9 8093 Tony Smith Make p4dctl support including configuration files from
a specified path. This change allows it to support including from
both files and directories.

e.g.

    include /path/to/file.conf
    include /path/to/dir

A common use of this might be something like:

    include /etc/p4d.d
#8 8003 Tony Smith Updated 32-bit and 64-bit Linux binaries for p4dctl
#7 7996 Tony Smith Add support for checkpoint and journal prefixes - configured in
the server block. For example:

    Prefix = /some/disk/p4backup
#6 7830 Tony Smith Bug fixes to previous change.
Now broker support works properly.

Updated the linux26x86 prebuilt binary
#5 7828 Tony Smith Add support for the broker to p4dctl andupdate version file.
Simplified
the code, and removed some ugly duplication which was bothering me.
#4 7190 Tony Smith Bug fix: Empty argument lists weren't handled correctly.
This
change fixes that
#3 7185 Tony Smith Updated linux26x86 and linux26x86_64 binaries with bugfix for
failure to override global environment variables with local
replacements
#2 7180 Tony Smith Update p4dctl Version file, and linux26x86_64 binary
#1 5945 Tony Smith Release p4dctl, a program for starting/stopping Perforce services
on Unix operating systems. Similar to, and developed in concert
with, Sven Erik Knop's p4dcfg.

For example:

    p4dctl start -a

Can start multiple P4D, P4P, P4Web, or P4FTP servers in one easy
command line. It can be executed by root, or by the 'owners' of
the configured services and it maintains pidfiles no matter who
uses it (so they remain accurate).

An init script using p4dctl will typically just use:

    p4dctl start -a
    p4dctl stop -a
    p4dctl restart -a

And check the exit status.