Difference between revisions of "Physical server setup"

From PrgmrWiki
 
Line 1: Line 1:
#switch setup
+
=switch setup=
##set the switch port to the right vlan
+
The dell, cisco (except for catos), hp and foundry switches all use a fairly similar cisco ios-like syntax. CatOS is totally different (and evil). These examples are from a cisco 3750 but other ios-like switch command lines are similar.
##set the port description to the hostname
+
*set the switch port to the right vlan
#console server setup
+
<pre>
##set the speed of the port
+
daiba#configure terminal
##set the name of the port to the hostname
+
Enter configuration commands, one per line.  End with CNTL/Z.
#pdu setup
+
daiba(config)#interface GigabitEthernet1/0/2
##turn on the port
+
daiba(config-if)#switchport mode access
##set the name of the port to the hostname
+
daiba(config-if)#switchport access vlan 42
#pxe setup
+
</pre>
##add the host to dhcpd.conf on the appropriate dhcp server
+
*set the port description to the hostname of the server
##setup a pxe configuration file named as the mac address in the tftpboot directory
+
<pre>
##make a kickstart file referred from the pxe configuration file
+
daiba(config-if)#description exampleserver.prgmr.com
#network boot the server
+
</pre>
 +
*The new configuration is now active, but it should be saved.
 +
<pre>
 +
daiba(config-if)#exit
 +
daiba(config)#exit
 +
daiba#
 +
32w4d: %SYS-5-CONFIG_I: Configured from console by console             
 +
daiba#copy run start
 +
Destination filename [startup-config]?
 +
Building configuration...
 +
[OK]
 +
daiba#
 +
</pre>
 +
 
 +
=console server setup=
 +
The opengear console server ports should be configured with the gui. The cyclades ts series
 +
=pdu setup=
 +
==turn on the port==
 +
==set the name of the port to the hostname==
 +
=pxe setup=
 +
==add the host to dhcpd.conf on the appropriate dhcp server==
 +
==setup a pxe configuration file named as the mac address in the tftpboot directory==
 +
==make a kickstart file referred from the pxe configuration file==
 +
=network boot the server=

Revision as of 06:25, 4 February 2011

switch setup

The dell, cisco (except for catos), hp and foundry switches all use a fairly similar cisco ios-like syntax. CatOS is totally different (and evil). These examples are from a cisco 3750 but other ios-like switch command lines are similar.

  • set the switch port to the right vlan
daiba#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
daiba(config)#interface GigabitEthernet1/0/2
daiba(config-if)#switchport mode access
daiba(config-if)#switchport access vlan 42
  • set the port description to the hostname of the server
daiba(config-if)#description exampleserver.prgmr.com
  • The new configuration is now active, but it should be saved.
daiba(config-if)#exit
daiba(config)#exit
daiba#
32w4d: %SYS-5-CONFIG_I: Configured from console by console              
daiba#copy run start
Destination filename [startup-config]? 
Building configuration...
[OK]
daiba#

console server setup

The opengear console server ports should be configured with the gui. The cyclades ts series

pdu setup

turn on the port

set the name of the port to the hostname

pxe setup

add the host to dhcpd.conf on the appropriate dhcp server

setup a pxe configuration file named as the mac address in the tftpboot directory

make a kickstart file referred from the pxe configuration file

network boot the server