You can increase or change the amount of storage available for Git repositories, databases, search indexes, and other persistent application data. Use your virtualization platform's tools to allocate additional physical storage to the user volume.
Warning: The process for allocating new system resources will vary by virtualization platform and resource type, but the first step is always to configure monitoring and alerting of key system resources.
As more users join your GitHub Enterprise instance, you may need to resize your storage volume accordingly.
Note: You'll need to place your instance in maintenance mode before resizing the user storage volume.
Platform | Information on resizing storage |
---|---|
Amazon AWS | http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html |
Azure | https://msdn.microsoft.com/en-us/library/dn168976%28v=nav.70%29.aspx |
Hyper-V | https://technet.microsoft.com/en-us/library/dn282284.aspx |
VMware | http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1004071 |
XenServer | http://support.citrix.com/article/CTX120865 |
Based on your seat count, we recommend this hardware configuration:
Seats | vCPUs | Memory | Attached Storage | Root Storage |
---|---|---|---|---|
0-500 | 2 | 16 GB | 100 GB | 80 GB |
500-3000 | 4 | 32 GB | 250 GB | 80 GB |
3000-5000 | 8 | 64 GB | 500 GB | 80 GB |
In order to complete the data storage expansion, you'll need to run the ghe-storage-extend
command:
-
As a site admin, SSH into your GitHub Enterprise instance:
ssh -p 122 admin@hostname
Place the instance in maintenance mode.
-
Stop the
ghe-storage
process:sudo stop ghe-storage
-
Expand the filesystem to take advantage of the newly allocated space:
echo 1 | sudo tee /sys/class/scsi_device/*/device/rescan ghe-storage-extend