Swarm is available as an OVA (Open Virtualization Appliance) that requires minimal configuration.
Use the Swarm OVA if you want to:
Helix Core Server can refer to a Helix Server
machine (p4d
), proxy, broker, replica, edge server, or commit server.
For simplicity, the term Helix Server
is used to refer to any configuration of a Helix Core Server machine.
Review the Helix Server requirements before you install Swarm, see Helix Core Server requirements.
You will need the following information to deploy the Swarm Virtual Machine (VM) from the OVA:
If your Helix Core Server is deployed using the commit-edge architecture, ensure that the Swarm port value points to the commit server.
For more information, see the Commit-edge chapter in the Helix Core Server Administrator Guide: Multi-Site Deployment.
To deploy the Swarm OVA, follow the instructions on this page.
Follow the configuration script prompts to configure the Swarm VM passwords and hostname:
The configuration script displays the following prompt:
Do you want to proceed with Swarm configuration (Y/n)?
You now have two choices:
When you have finished making changes to the VM, rerun the configure-swarm.sh
script from the /opt/perforce/swarm/sbin
directory:
root@swarm:~# /opt/perforce/swarm/sbin/configure-swarm.sh
Follow the Swarm configuration script prompts to finalize Swarm VM configuration:
Enter the Helix Core Server port (P4PORT) number.
If your Helix Core Server is deployed using the commit-edge architecture, ensure that the Swarm port value points to the commit server.
For more information, see the Commit-edge chapter in the Helix Core Server Administrator Guide: Multi-Site Deployment.
The Swarm configuration script completes the configuration and the welcome screen is displayed.
The welcome screen lists the links to access Swarm, its documentation, trigger configuration information, the VM management console, Perforce support, and the PHP website:
Update the VM with security updates and bug fixes:
ssh
to log into the VM as the root user.Enter the following commands to update the VM packages list and to apply any available upgrades.
$ apt-get update
$ apt-get upgrade
See OVA Management for more details.
Now that the Swarm VM is configured and running, you can edit the configuration by using ssh
to connect to the VM as the system swarm user and editing the Swarm configuration file /opt/perforce/swarm/data/config.php
. The Swarm installation folder is /opt/perforce/swarm/
.
The basic Swarm configuration is now complete.
Configure the Swarm triggers on the Helix Server, see Helix Core Server configuration for Swarm.
The Swarm OVA works with several VMWare virtualization products, such as Player, Workstation, and Fusion.
swarm.ova
file and click Open.The Swarm OVA works with Oracle VirtualBox, version 4.x+.
swarm.ova
file and click Open.