#!/bin/sh -f ################################################################################ # Perforce and Perforce Broker start-up script # # NOTE: this script should be run as the perforce helix admin # ################################################################################ #--------------------------------------- # STOP p4 and p4 broker daemon processes #--------------------------------------- # shutdown the p4 process. note: this may generate a warning if p4 is not running. p4 -p 1666 admin stop # kill off the p4broker process. note: this will generate a warning if the # p4broker is not running. killall -u p4user p4broker #--------------------------------------- # START p4 and p4 broker daemon processes #--------------------------------------- # start the perforce helix process using port 1666 # the perfoce file/log/journal depot is specified by the -r <path> option. # create a log file calle 'log' and -d indicates p4d should run as a daemon # process. # note there are no special requirements for the p4 flex broker. so modify # the p4d command line as appropriate for your application. p4d -p 1666 -r /ce_projects/perforce/p4_depot -Llog -d # start the p4 broker. The configuration file 'broker.cfg' specifies the # options for loading the p4 flex broker script. The -d option indicates the # p4broker should run as a daemon process. /sbin/p4broker -c broker.cfg -d #--------------------------------------- # DEBUG HELP #--------------------------------------- # Check that the processes are running properly # %> ps -ef | grep p4 # ec2-user 8377 1 0 Apr25 ? 00:00:00 p4d -p 1666 -r /ce_projects/perforce/p4_depot -Llog -d # ec2-user 8379 1 0 Apr25 ? 00:00:00 /sbin/p4broker -c broker.cfg -d -v server=1
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #6 | 20103 | netapp |
Latest code - Aug 15, 2016. Changes made to address : 1. Added in functionality for snapshot delete ('snapshot -V volname -d snapshotsname') 2. Corrected volume delete to not allow for Helix database volume delete, unless all clones are first removed 3. 'p4 flex clones' now produces full table showing Parent Volume, Parent-Snapshot, FlexClone name, Parent volume space consumed, FlexClone volume space consumed, FlexClone acutal (space versus parent volume), and the Clone-path 4. Flex Clones now thinly provisioned to allow for storage space savings 5. Code change to process P4 first when taking snapshots, and then follow with NetApp step versus previous reverse order |
||
| #5 | 19478 | netapp |
Additons: 1. Added in snapshot deletion capability 2. Created separate user clone mount directory, which can be different from the base directory 3. Cleaned up error handling for all p4 flex calls, so errors are handled with understandable output, versus program crashes 4. Added in ability to specify volume owner when creating a volume with �p4 flex volume �s �u�. |
||
| #4 | 19476 | netapp |
added new files to address these changes: 1. Added in snapshot deletion capability 2. Created separate user clone mount directory, which can be different from the base directory 3. Cleaned up error handling for all p4 flex calls, so errors are handled with understandable output, versus program crashes 4. Added in ability to specify volume owner when creating a volume with �p4 flex volume �s �u�. |
||
| #3 | 19475 | netapp | revise list | ||
| #2 | 19474 | netapp |
Uploaded new files for project. Enhancements include: 1. Added in snapshot deletion capability 2. Created separate user clone mount directory, which can be different from the base directory 3. Cleaned up error handling for all p4 flex calls, so errors are handled with understandable output, versus program crashes 4. Added in ability to specify volume owner when creating a volume with �p4 flex volume �s �u�. |
||
| #1 | 18997 | netapp |
Rename/move file(s) Project name change: moving //guest/netapp/p4flexclone/main/… to //guest/netapp/p4flex/main/… |
||
| //guest/netapp/p4flexclone/main/demo/start.sh | |||||
| #1 | 13859 | Paul Allen | Config details for cloud demo + NaServer test | ||