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 309: Line 309:
 
|-
 
|-
 
|[[CDOT_Development_Systems/bahamas|bahamas]]
 
|[[CDOT_Development_Systems/bahamas|bahamas]]
|PC - Q6600
+
|PC - Quad Core
 +
|Tel 1045V
 
|142.204.133.79
 
|142.204.133.79
 
|F16
 
|F16
 
|Function: Developer PC, Virtualization Host, Web Server
 
|Function: Developer PC, Virtualization Host, Web Server
 +
| 2x Samsung SyncMaster 2443
 
|Layout: 2x2TB Raid 1
 
|Layout: 2x2TB Raid 1
 
|8GB
 
|8GB

Revision as of 15:36, 1 May 2012

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.

IP Information

See http://scotland.proximity.on.ca/cdot/network/

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
iraq PC - Quad i7 T1045C 142.204.133.80 F16 Dual LCD 2x2TB 12G Nvidia - dual monitors 930 (Quad i7 2.8GHz)
romania PC - Quad i7 T1045 142.204.133.82 F16 Dual LCD 2x2TB 12G Nvidia - dual monitors 930 (Quad i7 2.8GHz)
germany PC - Quad Core, 8GB, 1TB T1045C 142.204.133.24 Fedora 10 32-bit DELL 4001 1TB 8GB - 4 banks Intel 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
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, 8 GB, 1TB T1045E - cubicle C 142.204.133.122 Windows 7 SyncMaster 2443 - Dual Monitors 1TB 8GB nVidia GeForce 8600 GT Intel DQ35JO Intel Core2 Quard CPU Q6600 @ 2.40GHz 2.30GHz
newzealand PC - Quad core, 8 GB, 4TB T1045C 142.204.133.81 F16 Samsung 1080P x 2 2X2TB 8GB - 4 banks nVidia GeForce 8600 GT (?) ? Intel Q6600
peru 27" iMac 142.204.133.7 Mac OS/X
poland 27" iMac 142.204.133.26 Mac OS/X
hongkong PC - Quad Core Armory 142.204.133.150 F15 Function: Koji hub/web

Services: apache (httpd)

KVM Layout: 4x2TB Disks

Config: raid 1 (primary partitions)

Config: raid 5 (data partitions)

12GB ATI Intel i7 CPU 950 @ 3.07GHz
ireland PC - Quad core Armory 142.204.133.153 F15 Function: database

Services: PostgreSQL

KVM Layout: 500GB, 2x128GB (solid state), 2TB, 1.5TB

Config: raid 1 (data partitions)

8GB NVIDIA Intel Core2 Quad CPU Q6600 @ 2.40GHz
chile PC - Quad core Armory 142.204.133.101 F15 Function: Koji repo

Services: NFS export

KVM Layout: 3x2TB, 3x600GB (solid state)

Config: raid 0 (solid state partitions)

Config: raid 1 (mechanical partitions)

12G NVIDIA Intel i7 CPU 930 @ 2.80GHz
australia PC - Quad Core Armory 142.204.133.152 F15 Function: Koji Scratch

Services: NFS exports

KVM Layout: 1TB, 4x160GB (solid state)

Config: raid 0 (solid state partitions)

8GB Intel Intel Core2 Quad CPU Q6600 @ 2.40GHz
bahamas PC - Quad Core Tel 1045V 142.204.133.79 F16 Function: Developer PC, Virtualization Host, Web Server 2x Samsung SyncMaster 2443 Layout: 2x2TB Raid 1 8GB Intel

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.152      australia
142.204.133.25      russia
142.204.133.153      ireland
142.204.133.28      india
142.204.133.150      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


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

2x2TB Drives

  • Drive 1
    • Partition 1: 500M /boot
    • Partition 2: 500G PV
    • Partition 3: 500G PV
    • Partition 4: 500G PV
    • Partition 5: 500G PV
  • Drive 2
    • Partition 1: 500G PV
    • Partition 2: 500G PV
    • Partition 3: 500G PV
    • Partition 4: 500G PV

Initial Linux LVM LV layout:

  • 100G / ext4
  • 1T /home ext4

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.

Resources

Ori-macmini.jpg Ori-pc.jpg