Difference between revisions of "CDOT Development Systems"

From CDOT Wiki
Jump to: navigation, search
(Ground Rules)
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:CDOT]]These machines are in the CDOT area on the first floor of the TEL building.
+
[[Category:CDOT]]{{Admon/obsolete}}These machines are in the CDOT area on the first floor of the TEL building.
  
 
= Ground Rules =
 
= Ground Rules =
Line 14: Line 14:
 
= IP Information =
 
= IP Information =
  
See http://scotland.proximity.on.ca/cdot/network/
+
Contact a CDOT faculty member or administrative support person for information on IP addresses.
  
 
= Disk Space =
 
= Disk Space =
Line 20: Line 20:
 
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).
 
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.
+
Many of the CDOT Linux 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 =
 
= Virtual Machines =
Line 60: Line 60:
 
|[[CDOT Development Systems/iraq|iraq]]
 
|[[CDOT Development Systems/iraq|iraq]]
 
|PC - Quad i7
 
|PC - Quad i7
|T1045
+
|T1045C
|142.204.133.89
+
|142.204.133.80
|F13
+
|F16
 
|
 
|
 
|Dual LCD
 
|Dual LCD
Line 74: Line 74:
 
|[[CDOT Development Systems/romania|romania]]
 
|[[CDOT Development Systems/romania|romania]]
 
|PC - Quad i7
 
|PC - Quad i7
|T1045
+
|T1045C
|142.204.133.90
+
|142.204.133.82
|F13
+
|F16
|
 
|Dual LCD
 
|2x2TB
 
|12G
 
|Nvidia - dual monitors
 
|
 
|930 (Quad i7 2.8GHz)
 
 
 
|-
 
|[[CDOT Development Systems/chile|chile]]
 
|PC - Quad i7
 
|T1045
 
|142.204.133.101
 
|F13
 
 
|
 
|
 
|Dual LCD
 
|Dual LCD
Line 102: Line 88:
 
|[[CDOT_Development_Systems/germany|germany]]
 
|[[CDOT_Development_Systems/germany|germany]]
 
|PC - Quad Core, 8GB, 1TB
 
|PC - Quad Core, 8GB, 1TB
|T1045
+
|T1045D
 
|142.204.133.24
 
|142.204.133.24
 
|Fedora 10 32-bit
 
|Fedora 10 32-bit
Line 110: Line 96:
 
|8GB - 4 banks
 
|8GB - 4 banks
 
|Intel
 
|Intel
|Intel DQ45CB
 
|Intel Q6600
 
 
|-
 
|[[CDOT_Development_Systems/hongkong|hongkong]]
 
|PC - Quad Core, 8GB, 1TB
 
|T1036
 
|142.204.133.150
 
|F15
 
|
 
|NEC 661F
 
|1TB
 
|8GB - 4 banks
 
|ATI RV710/Radeon HD 4550
 
 
|Intel DQ45CB
 
|Intel DQ45CB
 
|Intel Q6600
 
|Intel Q6600
Line 133: Line 105:
 
|142.204.133.28
 
|142.204.133.28
 
|F12<br />
 
|F12<br />
|
 
|Viewsonic VA2226w (VSC 2051)
 
|1TB
 
|8GB - 4 banks
 
|Intel
 
|Intel DQ45CB
 
|Intel Q6600
 
 
|-
 
|[[CDOT_Development_Systems/australia|australia]]
 
|PC - Quad Core, 8GB, 1TB
 
|T1045B
 
|142.204.133.152
 
|Fedora 10 x86_64
 
 
|
 
|
 
|Viewsonic VA2226w (VSC 2051)
 
|Viewsonic VA2226w (VSC 2051)
Line 213: Line 171:
 
|-
 
|-
 
|[[CDOT_Development_Systems/china|china]]
 
|[[CDOT_Development_Systems/china|china]]
|PC - Quad core, 4 Gb, 500 GB
+
|PC - 8 cores, 12 Gb, 4 TB
 
|T1045E - cubicle B
 
|T1045E - cubicle B
 
|142.204.133.36
 
|142.204.133.36
|F12
+
|Windows 7
 
|
 
|
|Viewsonic VA2226w (VSC 2051)
+
|2 x SyncMaster 2443
|500GB (Failing!)
+
|2 x 2 TB generic Hard drives
|4GB - 4 banks
+
|12GB - 4 banks
|nVidia GeForce 8600 GT
+
|nVidia GeForce GTX 560 Ti
|Intel DQ35JO
+
|Intel DX58SO2
|Intel Q6600
+
|Intel Core i7 950 @ 3.07GHz (8 CPUs)
  
 
|-
 
|-
 
|[[CDOT_Development_Systems/liberia|liberia]]
 
|[[CDOT_Development_Systems/liberia|liberia]]
|PC - Quad core, 4 Gb, 500 GB
+
|PC -Quad Core, 8 GB, 1TB
 
|T1045E - cubicle C
 
|T1045E - cubicle C
 
|142.204.133.122
 
|142.204.133.122
|F10
+
|Windows 7
 
|
 
|
|Viewsonic VA2226w (VSC 2051)
+
|SyncMaster 2443 - Dual Monitors
|500GB
+
|1TB
|4GB - 4 banks
+
|8GB
 
|nVidia GeForce 8600 GT
 
|nVidia GeForce 8600 GT
 
|Intel DQ35JO
 
|Intel DQ35JO
|Intel Q6600
+
|Intel Core2 Quard CPU Q6600 @ 2.40GHz 2.30GHz
  
 
|-
 
|-
 
|[[CDOT_Development_Systems/newzealand|newzealand]]
 
|[[CDOT_Development_Systems/newzealand|newzealand]]
|PC - Quad core, 4 Gb, 500 GB
+
|PC - Quad core, 8 GB, 4TB
|T1045E - cubicle D
+
|T1045C
|142.204.133.124
+
|142.204.133.81
|XP (with [http://www.intel.com/products/motherboard/DQ35JO/index.htm ethernet drivers] installed) dual-boot with F10 (?)
+
|F16
 
|
 
|
|Viewsonic VA2226w (VSC 2051) x 2
+
|Samsung 1080P x 2
|500GB
+
|2X2TB
|4GB - 4 banks
+
|8GB - 4 banks
 
|nVidia GeForce 8600 GT (?)
 
|nVidia GeForce 8600 GT (?)
|Intel DQ35JO
+
|?
|Intel Q6600
 
 
 
|-
 
|[[CDOT_Development_Systems/ireland|ireland]]
 
|PC - Quad core, 4 Gb, 500 GB
 
|T1045B
 
|142.204.133.153
 
|F14
 
|
 
|Viewsonic VA2226w (VSC 2051)
 
|500GB
 
|4GB - 4 banks
 
|nVidia GeForce 8600 GT
 
|Intel DQ35JO
 
 
|Intel Q6600
 
|Intel Q6600
  
Line 295: Line 239:
 
|
 
|
  
 +
|-
 +
|[[CDOT_Development_Systems/hongkong|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
 +
 +
|-
 +
|[[CDOT_Development_Systems/ireland|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
 +
 +
|-
 +
|[[CDOT Development Systems/chile|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
 +
 +
|-
 +
|[[CDOT_Development_Systems/australia|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
 +
 +
|-
 +
|[[CDOT_Development_Systems/bahamas|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
 +
|Nvidia GTX 470 1GB
 +
|Intel
 +
|Q6600
 
|}
 
|}
  
Line 325: Line 350:
 
After doing this, you can access the machines by name: <code>ssh '''userid'''@liberia</code>
 
After doing this, you can access the machines by name: <code>ssh '''userid'''@liberia</code>
  
= CDOTnet =
+
<!-- = 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").
 
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.
 
CDOTnet has no external interface and is therefore only useful for communication between the machines directly connected to it.
 +
 +
### CDOTNet is no longer connected ###
 +
 +
-->
  
 
= Equipment =
 
= Equipment =
Line 430: Line 459:
  
 
* Please create an account for yourself and use it for all development work on these machines.
 
* 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 =
 
= Resources =

Latest revision as of 22:35, 30 January 2015

Important.png
This page may be obsolete.
It contains historical information.
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

Contact a CDOT faculty member or administrative support person for information on IP addresses.

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).

Many of the CDOT Linux 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 T1045C 142.204.133.82 F16 Dual LCD 2x2TB 12G Nvidia - dual monitors 930 (Quad i7 2.8GHz)
germany PC - Quad Core, 8GB, 1TB T1045D 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 - 8 cores, 12 Gb, 4 TB T1045E - cubicle B 142.204.133.36 Windows 7 2 x SyncMaster 2443 2 x 2 TB generic Hard drives 12GB - 4 banks nVidia GeForce GTX 560 Ti Intel DX58SO2 Intel Core i7 950 @ 3.07GHz (8 CPUs)
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 Nvidia GTX 470 1GB Intel Q6600

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