Automated installation

From Wikitech
(Difference between revisions)
Jump to: navigation, search
m
(Redirected page to Build a new server)
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
We have an automated installation system for Ubuntu server, using the [[Ubuntu installer]] and preseeding.
+
#REDIRECT [[Build a new server]]
 
+
== How to install a server ==
+
 
+
=== Information needed ===
+
 
+
* MAC Address
+
** Note the mac address either from it being printed on the hardware, seeing it on boot or looking it up from the system bios within the management console.
+
* Internal or external based host
+
** Choose whether this will be an externally routable host like ''zwinger.wikimedia.org'' or if its just internally routable like ''srv98.pmtpa.wmnet''
+
*** [[Network_design]] is a good reference point for understanding what vlans are available for the network.
+
** Apply the correct vlan settings as documented at [[IOS_howto#moving_vlans]].
+
 
+
=== System Install ===
+
 
+
* Add the host to the dhcpd.conf file on zwinger found in ''/etc/dhcp.conf'' and restart dhcpd.
+
* Connect through the management interface of your new host, power on the server, and netboot the box (e.g. hit F-12 during bootup if it's a Dell).
+
** There are far more detailed instructions on how to interact with the remote management interfaces at [[Remote_management]]
+
 
+
If all works well, you should pull down an automated install from zwinger and lots of magical things will transpire until you
+
get to the partitioning screen.
+
 
+
* Follow the guidelines at [[partitioning]] on how best to slice up the disks.
+
* After boot up, log in using the root ssh key, and manually set the root password.
+
 
+
=== Post Install ===
+
 
+
At this point you can add, migrate and install whatever in needed and available from our ubuntu repo.
+
* Add your new host to the [http://wikitech.wikimedia.org/view/Server_roles ServerRoles] page to properly track it.
+
* Monitoring ?
+
 
+
== Outstanding issues ==
+
 
+
* [[Partitioning]]
+
* mcelog
+
* security.ubuntu.com
+
* SSH keys repository
+
* Grub PXE booting
+
* Automatic setting of root password
+
 
+
== Problems ==
+
 
+
My host turned on through the management interface but got no dhcp lease
+
 
+
* Check ''/var/log/dhcpd.log'' on zwinger to see if the hosts request was ever received.
+
** If it wasn't then there might be a link issue between the two hosts.
+
** If it is there then pay attention to the error message. A message of no leases available can mean many things.
+
*** Check the mac address in dhcpd.conf to make sure you entered in the right address.
+
*** Make sure you have set the proper vlan on the switch that your new host is connected to.
+
 
+
==Links==
+
 
+
=== Ubuntu ===
+
* https://www-s.acm.uiuc.edu/wiki/space/ubuntu-cluster
+
* http://ftp.ubuntulinux.org/ubuntu/dists/breezy/main/installer-i386/current/doc/manual/en/ch04s06.html
+
* http://faiwiki.informatik.uni-koeln.de/index.php/Installing_Ubuntu_Linux_with_FAI
+
* http://dev.laptop.org/~krstic/dapper.seeds/
+
 
+
[[Category:Operating system]]
+
[[Category:Ubuntu]]
+

Latest revision as of 23:34, 12 February 2013

  1. REDIRECT Build a new server
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox