PostImage

From MozillaWiki
Revision as of 18:43, 4 March 2011 by Lsblakk (talk | contribs)
Jump to navigation Jump to search

After cloning a system from the ReferencePlatforms, the following steps need to be done on the new system. In general, IT will take care of the steps here. The releng crew (usually slave duty) will then finish things up with ReleaseEngineering/How To/Set Up a Freshly Imaged Slave

Leopard/Snow Leopard

  • Set the hostname by opening up Terminal and typing:
    • scutil --set HostName hostname.domain.tld
  • Replacing hostname.domain.tld with the actual fully qualified domain name.
  • Ensure that resistor dongle is installed.
  • Go to System Preferences -> Bluetooth -> Advanced and clear the checkbox for "Open Bluetooth Setup Assistant at startup when no input device is present"

Fedora/CentOS

  • Open a terminal window and "su -" to become root.
  • Then edit the file /etc/sysconfig/network , changing the hostname to the hosts fully qualified domain name.
  • If a machine has been recloned/replaced then you also do this as root@{staging,production}-puppet
puppetca --clean moz2-linux-slaveNN.build.mozilla.org

Note: If you run into a "GRUB GRUB" error while booting, open the the IPMI console on a machine, boot an Ubuntu ISO(Virtual Storage), boot a 'rescue environment', then run "grub", with the commands "root (hd0,0)", and "setup (hd0)". After that, issue the command "dd if=/dev/sda of=mbr bs=512 count=63". Copy(and overwrite) the 'mbr' file onto the DeployStudio server into /Volumes/Deploy/Masters/PC/ImageName/mbr. That should fix the booting issue for all other imaged servers.

verification

Verify the hostname, checking that it ends in 'build.mozilla.org', not a datacenter-specific hostname:

hostname --fqdn

Windows XP

Open System Properties and go to Computer Name tab, click on Change and enter the host's hostname there. Then click on 'more settings' to add the hosts domain name to the DNS suffix field.

Windows 7

Make sure Windows is activated (see bug 630108).

  • Log on to an RDP session with the machine there might be an activation request window up or you might need to go to Control Panel -> System -> Activate Windows
  • The activation window gives the option to activate online or through other methods, choose other and then activate by phone
  • The activation window will ask you to call 1-888-725-1047 which has an automated system that asks you to speak/enter the 9 sets of digits that are on the screen
  • Once that is done the automated system will read back a series of numbers to you that need to be entered in corresponding boxes organized by letter
  • When you have all the confirmation numbers, click Next, and windows is activated.