Accessing the Helix Core Server instance directly to perform administrative tasks - DigitalOcean deployment
To connect to your Helix Core instance to perform administrative tasks, such as checking backups, expanding disk file systems, adding new volumes, checking logs, and more, you can use the DigitalOcean Web Console or SSH.
For more information, see the Helix Core Command-Line (P4) Guide.
DigitalOcean Web console
-
Navigate to and click the Perforce Helix Core droplet.
-
Click Access in the left navigation bar.
-
In the Log in as box, enter root.
-
Click Launch Droplet Console.
-
After you log in, see the message of the day about switching to the
perforce
user using thesu perforce
command.. -
To verify that the Helix Core Server is running, run the following command:
p4 info
-
Close the window when you finish.
SSH
Credentials
- Username: root
- Server: <IPv4 address of DigitalOcean droplet>
Example
The following command connects to the Helix Core Server as the root user.
ssh root@<DigitalOcean droplet IP address>
Example: ssh root@35.271.43.98
In this example, 35.271.43.98
is the IPv4 address of the DigitalOcean droplet.
To perform any Helix Core administration tasks, switch to the perforce
user, and log in using the following commands:
sudo su - perforce
p4login -v 1
You will now have the P4 CLI binaries in your $PATH and can run any p4 commands, such as p4 info
.