Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HostnameDescriptionNaming Convention

S1

Host system for Registration System.

Use a 2-3 letter convention to describe the host's main function. As the purpose of the host can easily change we use a generic name, S1 for system 1.

RGH1V00WEB

Runs Apache Web Server.

RG = Registration = Overarching Project Code
H1= Hardware 1 = Physical Hardware
V = Virtual server = Denotes this is a virtual server, P would mean physical
00 = The first virtual server with allowance for relation to a corresponding server, in this case just one application server
WEB = Function

RGH1V00APP

Runs Tomcat Application Server and HypSQL Database Server.

This has both an application and database. Because the database is portable and more easier to move, we make the judgment call to name the system APP after the more primary , less likely to move, long term function of the server.

The convention follows but notice the V00.

00 = First virtual server for the specified function and it visually and via sorting will correspond to the places this server with the correspond Web Server.


Phase

...

2

At this point the hostnames are not too bad. Their real value comes when the system needs to grow.

The system grows and requires a second application server to manage the load. As in many cases, the application is the bottle neckUsually new applications are added first as they generate the most load. Here is how it will look in a sorted list,

Hostname

Description

Naming Convention

S1

Host system for Registration System.

 Existing.

RGH1V00WEB

Runs Apache Web Server.

 Existing.

RGH1V00APP

Runs Tomcat Application Server and HypSQL Database Server.

 Existing.

RGH1V01APP

Runs Tomcat Application Server. 

The first 0 in MGH1V00APP shows that the server is related to the Web Server RGH1V00WEB

The convention naturally sorts well. Now let's add something new to the mix.

...

There is need for a new system for migrating users to tokens which we'll call MG for migration. Notice that we use a generic name rather than TM as the system could evolved evolve to do other types of migrations. The system is low budget and considered temporary. As such, the customer wants to reuse the web serverserver RGH1V00WEB.

Hostname

Description

Naming Convention

S1

Host system for Registration System.

Existing.

RGH1V00WEB

Runs Apache Web Server.

Existing

RGH1V00APP

Runs Tomcat Application Server and HypSQL Database Server.

Existing

RGH1V01APP

Runs Tomcat Application Server.

Existing

MGH1V00APP

Runs Tomcat Application Server and HypSQL Database Server.

Again the V0 first 0 in MGH1V00APP clearly shows that it is connected to RGH1V00WEB and the MG indicates the systems primary function is for migrations.

Phase 4

Over time the system becomes more critical and has grown in number of users. The agrees to buy new hardware, introduce a load balancer and a second web and application server. Also, as with many systems the temporary TM system becomes permanent.

Hostname

Description

Naming Convention

S1

Host system for Registration System.

Existing.

RGH1V00WEB

Runs Apache Web Server.

Existing

RGH1V00APP

Runs Tomcat Application Server and HypSQL Database Server.

Existing

RGH1V01APP

Runs Tomcat Application Server.

Existing

RGH2V10WEBRuns Apache Web Server. 
RGH2V10APPRuns Tomcat Application Server