P4_Server_Overview.md #3

  • //
  • p4-sdp/
  • dev_rebrand/
  • doc/
  • P4_Server_Overview.md
  • Markdown
  • View
  • Commits
  • Open Download .zip Download (2 KB)

Perforce Server Overview

Overview

This page documents a list of commands to be executed with super user access to give quick and basic insights into a P4D server's topology, complexity, data scale, etc. This is useful when planning a migration to the Server Deployment Package (SDP) and/or for Onboarding for P4RA (P4 Remote Administration).

Please have someone with super user access run these commands and capture the output, and then send it back to us here at Perforce Software.

Instructions

You must be logged in as a super user to the primary/commit server. Run these commands and capture both the commands and their output in a text file:

p4 -ztag info
p4 license -u
p4 -s diskspace
p4 configure show allservers
p4 servers -J
p4 -ztag servers
p4 -ztag depots
p4 triggers -o
p4 extension --list --type extensions
p4 extension --list --type global
p4 extension --list --type instance
p4 extension --list --type certs
p4 property -n P4.Swarm.URL -l
p4 keys -e "swarm-*" -m 1
p4 keys -e "git-*" -m 1
p4 typemap -o
p4 jobspec -o
p4 counter change
p4 -s dbstat -s
p4 -s journals -m 3
p4 protects -u remote

Any annotation you think we can use will be appreciated. For example, if there are custom triggers, describe of the complexity and purpose of those triggers.

In addition, the output of the p4 protect -o might be useful, but we exclude that from the list of commands above, as it may be deemed sensitive.

Describe any integrations with other systems that will need to be maintained, such as custom authentication mechanisms, integrations with bug trackers or workflow managers, code review tools other than P4 Code Review, etc.

Finally, provide any information you believe would be helpful in understanding your current environment. This may include key tools used by users, architecture diagrams, and the like.

# Perforce Server Overview

## Overview

This page documents a list of commands to be executed with super user access to give quick and basic insights into a P4D server's topology, complexity, data scale, etc.  This is useful when planning a migration to the [Server Deployment Package (SDP)](https://workshop.perforce.com/projects/p4-sdp) and/or for Onboarding for P4RA (P4 Remote Administration).

Please have someone with super user access run these commands and capture the output, and then send it back to us here at Perforce Software.

## Instructions

You must be logged in as a super user to the primary/commit server. Run these commands and capture both the commands and their output in a text file:

```
p4 -ztag info
p4 license -u
p4 -s diskspace
p4 configure show allservers
p4 servers -J
p4 -ztag servers
p4 -ztag depots
p4 triggers -o
p4 extension --list --type extensions
p4 extension --list --type global
p4 extension --list --type instance
p4 extension --list --type certs
p4 property -n P4.Swarm.URL -l
p4 keys -e "swarm-*" -m 1
p4 keys -e "git-*" -m 1
p4 typemap -o
p4 jobspec -o
p4 counter change
p4 -s dbstat -s
p4 -s journals -m 3
p4 protects -u remote
```

Any annotation you think we can use will be appreciated. For example, if there are custom triggers, describe of the complexity and purpose of those triggers.

In addition, the output of the `p4 protect -o` might be useful, but we exclude that from the list of commands above, as it may be deemed sensitive.

Describe any integrations with other systems that will need to be maintained, such as custom authentication mechanisms, integrations with bug trackers or workflow managers, code review tools other than P4 Code Review, etc.

Finally, provide any information you believe would be helpful in understanding your current environment. This may include key tools used by users, architecture diagrams, and the like.
# Change User Description Committed
#3 31723 C. Thomas Tyler Merge Down dev -> dev_rebrand.
#2 31615 C. Thomas Tyler First pass at rebranding changes, including:
* Changes to remove 'swarm.' from Workshop URLS, so swarm.workshop -> workshop.
* Changed URL for Copyright.
* Renamed get_helix_binaries.sh -> get_p4_binaries.sh, with associated directory and doc changes.
* Accounted for rename of HAS -> P4AS.
* Changed HMS references to P4MS.
* Replaced "Helix" and "Helix Core" references.
* Renamed variables to reduce tech debt buildup induced by rebranding.
* Changed default mount points:
/hxdepots[-1,N] -> /p4depots[-1,N]
/hxmetadata[1,2] -> /p4db[-1,2]
/hxlogs -> /p4logs

Also made some changes related to rebranding going out with r25.1.
#1 31592 C. Thomas Tyler Populate stream //p4-sdp/dev_rebrand from //p4-sdp/dev.
//p4-sdp/dev/doc/P4_Server_Overview.md
#1 31574 C. Thomas Tyler Merged SDP 2024.2 Patch 4 from Classic to Streams.
p4 merge -b SDP_Classic_to_Streams
//guest/perforce_software/sdp/dev/doc/P4_Server_Overview.md
#2 31395 C. Thomas Tyler Added URLs and reference to P4RA.
#1 31384 C. Thomas Tyler Added doc to aid in migrations to SDP (e.g.
for P4RA).