How to Create a G-Repository Server
This lesson goes over the steps that must be completed to create a G-Repository Server. Please make certain the prerequisite steps in Lesson 3 have been completed before continuing with this lesson.
Run Command to Create a G-Repository Server (GRS)
Syntax: -grsrvc repoName
Example: genrocket -grsrvc
Step-by-Step Instructions
Step 1 – Create a G-Repository Server Base Subdirectory
On the computer where you want to create a new G-Repository Server, bring up a command-line terminal. From the home directory, make a base subdirectory for the G-Repository sever.
mkdir GRepositoryServer
Change to the subdirectory you just created.
cd GRepositoryServer
Step 2 – Run the GenRocket Command to Create a G-Repository Server
Enter the GenRocket command to create your G-Repository.
> genrocket -grsrvc repoName
Step 3 – Verify You’re in the Correct Subdirectory
If you have changed to the G-Repository Server directory you created, then answer y to move to the next question; otherwise, answer n to start over.
Are you sure you want to create your G-Repository in /Users/repoServer/GRepositoryServer? (y/n): y
Step 4 – Verify the Organization
This option will only present if more than one option to choose from multiple organization was presented.
Are you sure you want to create a g-repository-server for organization GenRocket (y/n): y
Step 5 – Specify the Server port number
Define the local Server port number on which it will communicate. The default is 8020.
Please enter Server port number or hit Enter to accept port 8020:
Step 6 – Specify the Download port number
Define the local Download port number on which the data is downloaded. The default is 8021.
Please enter Download port number or hit Enter to accept port 8021:
Step 7 – Specify the Server Name
Defining a server’s name allows GenRocket to monitor a server’s health.
===== G-RepositoryServer Names Currently In Use =====
TestServer1
TestServer2
TestServer3
Please enter G-Repository Server name: TestServer1
- Enter a new name different from TestServer1
- Override the existing Server: 2
Updated the G-Repository server with name TestServer1
Links:
https://genrocket.freshdesk.com/a/solutions/articles/19000122691
https://genrocket.freshdesk.com/a/solutions/articles/19000122692