Difference between revisions of "CDOT Development Systems"

From CDOT Wiki
Jump to: navigation, search
(Machine names, IPs, and Status)
(Machine names, IPs, and Status)
Line 113: Line 113:
 
|20" iMac
 
|20" iMac
 
|1045A
 
|1045A
|142.204.133.122
+
|142.204.133.123
 
|OS X 10.5.6
 
|OS X 10.5.6
 
|
 
|
Line 183: Line 183:
 
|PC - Quad core, 4 Gb, 500 GB
 
|PC - Quad core, 4 Gb, 500 GB
 
|T1045E - cubicle C
 
|T1045E - cubicle C
|142.204.133.123
+
|142.204.133.122
 
|F10
 
|F10
 
|
 
|

Revision as of 14:45, 14 May 2010

These machines are in the CDOT area on the first floor of the TEL building.

Ground Rules

  1. Take responsibility for your actions.
  2. Don't blow up other people's stuff.
  3. Expect other people to blow up your stuff.
  4. Don't turn these machines off.
  5. Before rebooting, check with the other logged-in users, and check on #seneca on IRC on both Freenode and Moznet.
  6. Work under your own account, using root as sparingly as possible. If you need additional accounts, create them, but put your name in the comment (GCOS) field.
  7. Don't create public services.
  8. These machines are never backed up. Backup your own stuff, frequently.

Disk Space

Keep an eye on disk space -- both your own usage and the free space on the machine. Delete stuff you don't need (especially temp files and build debris).

Most of the CDOT machines have unassigned storage within their volume group. If you need additional space in a filesystem and know how to use LVM safely, feel free to allocate additional space as needed, but do not assign more space than required for your work (it's easier to add space to a filesystem than to remove it to add it to another filesystem). If you do not know how to administer LVM safely, ask an experienced user to add space to the filesystem for you -- it's very easy to destroy a filesystem. Please experiment with and learn about LVM on your own systems or in a virtual machine.

Virtual Machines

Please feel free to configure KVM virtual machines on the PCs. Because virtualization technologies conflict, please discuss the use of other hypervisors before deploying them.

When using virtual machines, please:

  • Shutdown the VM when not in use


Machine names, IPs, and Status

Please update this information as you work on the machines' configuration.
Click on a machine name to go to the page for that system. Please record details on that page about how the system is being used. A sample machine pages is located at CDOT_Development_Systems/ExampleSystem

Hostname Type Location IP OS Notes Monitor(s) Disk RAM Video Motherboard CPU
germany PC - Quad Core, 8GB, 1TB T1045 142.204.133.24 Fedora 10 32-bit DELL 4001 1TB 8GB - 4 banks Intel Intel DQ45CB Intel Q6600
hongkong PC - Quad Core, 8GB, 1TB T1036 142.204.133.14 F12 NEC 661F 1TB 8GB - 4 banks ATI RV710/Radeon HD 4550 Intel DQ45CB Intel Q6600
india PC - Quad Core, 8GB, 1TB T1045B 142.204.133.28 F12
Viewsonic VA2226w (VSC 2051) 1TB 8GB - 4 banks Intel Intel DQ45CB Intel Q6600
australia PC - Quad Core, 8GB, 1TB T1045B 142.204.133.102 Fedora 10 x86_64 Viewsonic VA2226w (VSC 2051) 1TB 8GB - 4 banks Intel Intel DQ45CB Intel Q6600
canada 20" iMac 1045A 142.204.133.123 OS X 10.5.6 Built-in
russia 20" iMac T1045 142.204.133.101 OS X 10.5.6 Built-in
easterisland Mac mini T1045H - cubicle E 142.204.133.121 Mozilla build environment installed:
Xcode, MacPorts, Mercurial, Autoconf, libidl
Currently awaiting re-installation Samsung Syncmaster 245B Internal + FW
spain Mac mini T1045E - cubicle A 142.204.133.122 Mozilla build environment installed:
Xcode, MacPorts, Mercurial, Autoconf, libidl
Samsung Syncmaster 245B Internal + FW
china PC - Quad core, 4 Gb, 500 GB T1045E - cubicle B 142.204.133.36 F12 Viewsonic VA2226w (VSC 2051) 500GB (Failing!) 4GB - 4 banks nVidia GeForce 8600 GT Intel DQ35JO Intel Q6600
liberia PC - Quad core, 4 Gb, 500 GB T1045E - cubicle C 142.204.133.122 F10 Viewsonic VA2226w (VSC 2051) 500GB 4GB - 4 banks nVidia GeForce 8600 GT Intel DQ35JO Intel Q6600
newzealand PC - Quad core, 4 Gb, 500 GB T1045E - cubicle D 142.204.133.124 XP (with ethernet drivers installed) dual-boot with F10 (?) Viewsonic VA2226w (VSC 2051) x 2 500GB 4GB - 4 banks nVidia GeForce 8600 GT (?) Intel DQ35JO Intel Q6600
ireland PC - Quad core, 4 Gb, 500 GB T1045B 142.204.133.121 F12 Viewsonic VA2226w (VSC 2051) 500GB 4GB - 4 banks nVidia GeForce 8600 GT Intel DQ35JO Intel Q6600
peru 27" iMac 142.204.133.7 Mac OS/X
poland 27" iMac 142.204.133.26 Mac OS/X

Tip:

These hostnames have all been added to the cdot.proximity.on.ca domain for convenience. If you add that domain to your search domains in your DNS configuration, you can refer to the CDOT hosts by name. If you are using Linux or Mac OSX, you can add a search domain in your /etc/resolv.conf file by editing the search line:

search whatever.was.already.here.com cdot.proximity.on.ca

To configure this on a Linux/Unix/OSX system for which you do not have administrative rights, use the LOCALDOMAIN environment variable. For example, you could add this line to your ~/.bash_profile or ~/.profile:

export LOCALDOMAIN="cdot.proximity.on.ca senecac.on.ca senecacollege.ca"

Alternately, you can append the machine names and IPs to the hosts file (/etc/hosts on Linux and Mac OSX, c:\windows\system32\drivers\etc\hosts on Windows) -- do not delete the existing contents of that file, just add this text:

# CDOT host file - from http://zenit.senecac.on.ca/wiki/index.php?title=CDOT_Development_Systems - 2009.01.28 version:
142.204.133.7       canada
142.204.133.22      scotland
142.204.133.24      australia
142.204.133.25      russia
142.204.133.26      ireland
142.204.133.28      india
142.204.133.30      hongkong
142.204.133.36      china
142.204.133.121     easterisland
142.204.133.122     spain
142.204.133.123     liberia
142.204.133.124     newzealand

After doing this, you can access the machines by name: ssh userid@liberia

CDOTnet

A gigabit ethernet LAN connects the PCs in the south end of CDOT (Australia, India, China, Ireland, and Scotland). The IP addresses on this LAN are 172.30.30.X, where X is the same last octet as the machine's external interface. These machines have DNS entries within the cdot.proximity.on.ca subdomain which are the same as the hostname with "2" appended (e.g., india2.cdot.proximity.on.ca refers to the CDOTnet interface on the host "india").

CDOTnet has no external interface and is therefore only useful for communication between the machines directly connected to it.

Equipment

  • Four PCs - quad-core, 8GB RAM, 1TB disk
  • Four PCs - quad-core, 4GB RAM, 500GB disk
  • One PC - quad-core, 8GB RAM, 6*1.5TB disk
  • Two Mac Minis - dual-core, 2GB RAM, 120GB disk + external drive, 24" displays
  • Two iMacs - dual-core, 4GB RAM, ???GB disk, 20" display

Configuration

  • On the 64-bit PCs:
    • Install the current version of Fedora as the base OS
    • Use virtual machines (KVM) as necessary:
      • Linux (Fedora or other)
      • Windows Vista
      • Windows XP SP3
  • Some PCs will have Windows XP/Vista installed as the base OS (for high-performance video access, i.e., Canvas3D):
    • NewZealand
  • Install the toolchain(s) required (e.g., for Mozilla development - Win/Linux/Mac)

PC Partitioning

500GB Drives

Drives are ~500 GB:

  • Partition 1: 150 GB NTFS containing XP SP2
  • Partition 2: 100 GB NTFS containing Vista
  • Partition 3: 100 MB Linux boot partition
  • Partition 4: Extended partition
  • Partitions 5-9: 50 GB Linux LVM PVs (last one will be smaller)

Linux LVM LV layout:

  • 50 GB / filesystem (ext3)
  • 80 GB /home filesystem (ext3)
  • 50 GB /var filesystem

1TB Drives

Drives are ~1000 GB:

  • Partition 1: 200 MB ext3 /boot
  • Partition 2: 200 MB ext3 /boot2
  • Partition 3: 200GB LVM PV
  • Partition 4: Extended partition
  • Partitions 5-9: 200GB LVM PV (last one sized as needed)

Linux LVM LV layout:

  • 50 GB / filesystem (ext3)
  • 50 GB /home filesystem (ext3)
  • 50 GB /var filesystem
  • 8 GB swap filesystem

Software to be installed

(Remember, other tools can be added later!)

  • Build tools required for Mozilla build (Win/Linux/Mac). NOTE: use VS.NET Pro on Win32 vs. Express
  • PuTTY on WinXP/Vista
  • Current version of FF and TB

Mac installed software

  • Xcode3.0
  • fink - (http://www.finkproject.org/download/srcdist.php)
    • download tarball, untar and ./boostrap (prees enter all the time to choose default)
    • . /sw/bin/pathsetup.sh
    • fink selfupdate-cvs
    • fink install orbit orbit-dev
    • sudo apt-get glib

Computer setup

Windows setup

  1. I used CPUID to discover the motherboard
  2. Install ethernet drivers (Installed PRO2KXP.exe -- Ver:12.4 -- Date:2/24/2008 -- Size:11414 KB)
  3. http://www.windowsupdate.com until you get all updates

Network setup

* 142.204.133.65   Gateway
* 255.255.255.192  Netmask
* 142.204.43.43    DNS 1
* 142.204.1.2      DNS2

Security

  • Disable remote root/admin login on all operating systems.

Accounts

  • Please create an account for yourself and use it for all development work on these machines.

Summer 2010 Reassignments and Upgrades

For summer 2010 we will be reassigning machines and performing upgrades. We may need to consolidate services in order to do this.

Machines which have important data/software/services:

  • Australia: DXR
  • Scotland: RPM repositories
  • HongKong: ARM Koji-Hub
  • Ireland: Videos
  • Others???

Machines which can probably be reinstalled without saving/moving data (?):

  • Germany
  • Liberia
  • China
  • India
  • New Zealand (???)

Resources

Ori-macmini.jpg Ori-pc.jpg