Template:Server

From Wikitech
Jump to navigation Jump to search
server
Location: sandbox
Cluster: Example services
Node name: foo.examplenet (fingerprint)
Status
Overall: Symbol support vote.png Active
Icinga?: host status services status
Hardware
Software

This template categorizes the host page into:

Parameters

location
(required) Which data center this server is located in.
name
(optional: defaults to {{PAGENAME}}
serial
(optional)
usage
(optional) ID of usage (see Category:Servers by usage for possible values)
usage-multi
(optional) Overwrites usage for embedding multiple templates directly.
status
(optional) Use active or decom (see Template:Server/status)
memory
(optional)
cpu
(optional)
hdd
(optional)
os
(optional)
kernel
(optional)
cluster
(optional) Name of organizational server group (not physical per se).
server_nodename
(optional) "Node" hostname.
racktables_id
(optional) The "object_id" of the server in Racktables
netbox
(optional) The "object_id" of the server in Netbox

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the server

Default
{{PAGENAME}}
Stringoptional
Locationlocation

Which data center this server is located in.

Example
eqiad
Stringrequired
Statusstatus

Use one of "active", or "decom"

Default
active
Stringoptional
Usageusage

Main purpose of the server. See "Category:Servers by usage" for expected values.

Stringsuggested
Clustercluster server_group

no description

Stringoptional

Usage

{{Server
| location = 
| name = 
| netbox = 
| usage = 
| status = online
| cluster = 
| server_nodename = 
}}

Example