Perforce SysAdmin

 


Install and Upgrade

  1. Getting Perforce

  2. Installing Perforce
    1. Download the files and make executable
    2. Perforce server root directory
    3. Perforce server port
    4. Telling Perforce client programs which port to talk to
    5. Starting the Perforce server
    6. Stopping the Perforce server

  3. Installation and Administration Tips
    1. Release and license information
    2. Observe proper backup procedures
    3. Use separate filesystems for server root and journal
    4. Use protections and passwords
    5. Allocate disk space
    6. Managing disk space after installation
    7. Large filesystem support
    8. NFS support
    9. Run p4d as a non-privileged user
    10. Logging errors
    11. Case sensitivity issues
    12. Tune for performance

 

Backup and Recovery

  1. Backup and Recovery Concepts
    1. Checkpoint files
    2. Journal files
    3. Versioned files

  2. Backup Procedures

  3. Recovery Procedures
    1. Database corruption, versioned files unaffected
    2. Both database and versioned files lost or damaged
    3. Ensuring system integrity after any restoration

 

Superuser Tasks

  1. Basic Perforce Administration
    1. Resetting user passwords
    2. Creating new users
    3. Preventing creation of new users
    4. Deleting obsolete users
    5. Reverting files left open by obsolete users
    6. Reclaiming disk space by obliterating files
    7. Deleting changelists and editing changelist descriptions
    8. File verification by signature
    9. Defining filetypes with p4 typemap
    10. Forcing operations with the -f flag

  2. Advanced Perforce Administration
    1. Running Perforce through a firewall
    2. Specifying IP addresses in P4PORT
    3. Running from inetd on UNIX
    4. Case sensitivity and multi-platform development
    5. Perforce server trace flags

  3. Migrating to a new machine
    1. Moving your versioned files and Perforce database
    2. Changing the IP address of your server
    3. Changing the hostname of your server

  4. Using Multiple Depots
    1. Remote depot notes
    2. Defining new depots
    3. Other depot operations
    4. Limiting access from other servers
    5. Users working with multiple depots

 

Protections

  1. When Should Protections Be Set?

  2. Setting Protections with "p4 protect"
    1. The permission lines' five fields
    2. Access levels
    3. Which users should receive which permissions?
    4. Default protections
    5. Interpreting multiple permission lines
    6. Exclusionary protections

  3. Granting Access to Groups of Users
    1. Creating and editing groups
    2. Groups and protections
    3. Deleting groups

  4. How Protections are Implemented

  5. Access Levels Required by Perforce Commands

 

Job Specifications

  1. The Default Perforce Job Template

  2. The Job Template's Fields
    1. The Fields: field
    2. The Presets: field
    3. The Values: fields
    4. The Comments: field

  3. Caveats, Warnings, and Recommendations

  4. Example: A Custom Template

  5. Working with third-party defect tracking systems
    1. Using P4DTI - Perforce Defect Tracking Integration
    2. Building your own integration
    3. Getting more information

 

Daemons and Triggers

  1. Triggers
    1. Using triggers
    2. Triggers and security
    3. Triggers and Windows

  2. Daemons
    1. Perforce's change review daemon
    2. Creating other daemons
    3. Commands used by daemons
    4. Daemons and counters
    5. Scripting and buffering

 

Performance

  1. Tuning for Performance
    1. Memory
    2. Filesystem performance
    3. Disk space allocation
    4. Network
    5. CPU

  2. Diagnosing Slow Response Times
    1. Hostname vs. IP address
    2. Try p4 info vs. P4Win
    3. Windows wildcards
    4. DNS lookups and the hosts file
    5. Location of the "p4" executable

  3. Preventing Server Swamp
    1. Using tight views
    2. Assigning protections
    3. Limiting "maxresults"
    4. Scripting efficiently

  4. Checkpoints for Database Tree Rebalancing

 

Perforce and Windows

  1. Using the Perforce installer
    1. Upgrade notes
    2. Installation options

  2. Windows services vs. Windows servers
    1. Starting and stopping the Perforce service
    2. Starting and stopping the Perforce server
    3. Installing the Perforce service on a network drive

  3. Multiple Perforce services under Windows

  4. Windows configuration parameter precedence

  5. Resolving Windows-related instabilities

  6. Users having trouble with P4EDITOR or P4DIFF

 

Perforce Server (p4d) Reference

  1. Synopsis
  2. Syntax
  3. Description
  4. Exit Status
  5. Options
  6. Usage Notes
  7. Related Commands
Index