Hardware
From Peyton Hall Documentation
All the software in the world won't mean much unless you have some hardware on which to run it. From desktops to laptops, single servers to Beowulf clusters, hardware is both diverse and important in the department. Though as of right now we have mostly PCs running Linux, there's a few Mac OS desktops, a lot of Mac laptops, and things could change tomorrow if the needs of the people require it. This article aims to answer questions you may have about computer hardware in the building.
Contents |
FAQ
Here's some FAQs regarding computing hardware, and their answers (or links to their answers).
What machines are available?
We have an automated page which will list the machines registered in the LDAP database; in order for a department machine to function properly, it must be listed in LDAP, so if a machine is going to be available for use it will be there. That doesn't mean that all machines listed there are available, as some may be offline for maintenance, or may be for private use only. The list is located at http://www.astro.princeton.edu/private/machines.php.
NOTES:
- For security reasons, the above link will not work unless you're plugged in to the Peyton Hall network directly (not even over wireless in the building).
- The "primary user" field usually lists the person or group who owns the machine; this may be because they bought the machine themselves, or in the case of graduate student desktops they are the primary user (it's in their office). If you want to run something on one of these machines, and cannot run your job through Condor, you must ask that person first if you may do so.
- If the primary user is "dept", the machine is owned by the department, and as a general rule anyone could be using them. While there's a few general-purpose servers, many are desktops (undergraduates, visitors, postdocs who have not purchased their own machine and received an older used one, etc).
The recommended way to run jobs on any available machines is to use Condor to manage your processes. This way, you can queue up multiple jobs which will be run on whatever machine is available at the time, and should a machine become used by its primary user the job will be moved off to another available host or held until something becomes idle. Jobs that are run on department machines directly, not through Condor, may be killed off without warning since they won't be nicely moved out of the way if an interactive user needs the machine.
Laptops
What is supported?
No laptops are directly supported by the department. Though many people use them for their everyday work, there are too many hardware and software variations for us to fully support them without making them "department machines" (which would also mean the end-user would not have administrative access to it, so we can ensure that things don't get changed that break its functionality). However, if you're having problems with your laptop, feel free to contact us and mention it. We may be able to give you some pointers that will get you up and running again, before you have to resort to calling the hardware/software vendor for service.
What is recommended?
In either the case of a PC (Windows-based) laptop, or a Mac laptop, there's too many variables to really recommend anything. As of when this article was written, one particular model or brand could be the best thing going, but that can change within hours. The best laptop is really whatever is the best for what you want to do with it.
If you're comfortable running Windows, then just about anything you can buy with Windows preloaded is probably the best bet for you. If you want to run Linux on the laptop, have a look at the Linux-on-Laptops website to see if there's mention of the model you're considering.
If you want to get a Mac, there's a general guideline for new laptop purchases. Still not a recommendation (nor a rule) since we do not support them, but we've been recommending that people get Macbook Pros for a few reasons. One is the fact that much of the Unix software you'd want to run on a laptop is either already installed, or readily available. Also, you don't have the problems that tend to associate with trying to get Linux to run properly on a laptop (for example, configuring wireless drivers, tweaking X to run just right, making it not crash when you close the lid, etc). And lastly, you're not running a Microsoft laptop, which if you're anti-MS or pro-security, is a Good Thing.
Recent Macbooks come in various sizes, with displays comparable to most PC laptops. All models have decent speed processors, and can handle quite a bit of RAM; plus they come with a CD-RW drive which can also read (and some can write) DVDs as well, nice for long plane/train rides.
We've also found that in more cases than not, the people using Macs have fewer problems with the machines. After helping to install X11, Fink and some other packages, we generally don't hear about them anymore.
Regarding accessories, I tend to recommend an additional power adapter for the laptop. Then you can leave one in the office, and one at home, and not have to carry the brick with you between the two locations or plug it in every time you get to work/home. If you're the type who frequently takes long airplane trips, you may also want a second battery for the laptop which you can charge before leaving on your trip so you have more runtime for working (or watching your own DVDs) while at 30,000 feet. A snug-fitting case for the laptop, with plenty of padding, is also essential for its safety, and a plan for backing it up regularly is required (either over the network somehow, or with an external drive that you plug in to copy your data; see Backups).
How do I register my laptop?
NOTE:
- We may first need to activate an additional network port in your office. This requires OIT to come out to turn it on, and may take a few days.
If your laptop is already registered on Dormnet, then there's nothing extra needed since it will use its Dormnet registration to connect once the port is turned on. In the meantime you can use any of the open ports in the Library (on the right-hand wall, near the computers with the scanner attached). If you live in a dorm, then your laptop cannot be registered through us but must be done through Dormnet. The website to do so is http://www.net.princeton.edu/hostmaster/dormnet.html
If it is not already registered, then there's a couple pieces of information we need from you. One will be the computer's name, the hostname it will have on the network. This can be different from what you call it, since for the most part they are mutually exclusive (except in the case of Linux, which can complain if misconfigured, and is given a different hostname from what it expects). To check to see if the hostname is taken already, login to a Linux machine and type 'host [hostname]', where [hostname] is the name you'd like to use. For example:
$ host xanadu xanadu.astro.Princeton.EDU. has address 128.112.24.13
You now know that the name 'xanadu' is already taken, however:
$ host foo Host foo. not found: 3(NXDOMAIN)
'foo' is not taken (at least at the time of this writing).
Another thing we'll need to know is the network card's MAC address. MAC stands for 'Media Access Control', and is like an IP address, only on a different level. MAC addresses are also called "ethernet address", "physical address" or "hardware address". An example MAC address is 00:B0:D0:3E:0F:80. MAC addresses are sometimes separated by colons (as above), or dashes, or represented as a long hexadecimal string as in '0x00B0D03E0F80'. You get the MAC address from the computer differently, depending on the operating system it runs:
- Linux
- '/sbin/ifconfig eth0' - look for line that starts "HWaddr"
- Windows NT/2000/XP
- Start -> Run -> 'cmd /k ipconfig /all'
- Mac OS
- Open Terminal.app (Applications -> Utilities) and type '/sbin/ifconfig en0', or open the network panel in System Preferences and select the tab for the ethernet device.
Once you have the desired hostname and MAC address, contact us to get the process rolling. If you're a visitor to the department, we need to know when you anticipate leaving as well, so we can set a proper expiration date on the record. If your device has a wireless interface, we'll need to know the MAC address for it as well (if you want to use it). The process is similar for each OS above; the device will just have a different name.
Desktops
Linux
We've been purchasing desktop (and server) machines from ASL Inc. They have wonderful support and warranties, and their hardware will definitely run Linux - unlike some other computer vendors, where you may have issues getting Linux to run on the hardware because of proprietary drivers required and such nonsense. While we could possibly support hardware from other vendors, we will definitely need to see reason why some other vendor would be preferred - and support may be limited in the case of hardware failures or conflicts and diagnosis.
Mac
The only officially supported configuration for a Mac in Peyton Hall is one configured similarly to our standard Linux setup. User home directories will be mounted from our central NFS server, and the systems administration staff are the only ones with administrator (root) access to the machine. From the end-user point of view it'll work just like any Mac, but with the added advantage of having your network home directory available to you and, once it's available, standard licensed software (such as Mathematica and IDL) available for use right on your Mac.
Due to the nature of the changes needed to integrate the Macs with our environment, there are a few caveats to be aware of. If you are considering a Mac, please keep these issues in mind during your decision, and as always feel free to contact us with your questions or concerns.
- Microsoft Office extension issues
- Microsoft Office (at least in versions 2001 and 2004) has an issue with home directories running off NFS. It's a minor issue, but it can cause Office applications to not find extensions such as the equation editor after the first time you run them. We have a workaround that has to be applied to an individual user's profile, so if you encounter this issue please let us know. The only issue with the workaround is that it will cause Office applications to have to search for extensions every time you run them. This will add an additional 20-30 seconds to the time it takes for Office programs to load.
- Apple Mail issues
- Apple's standard Mail application (aka Mail.app) appears to have some issues running off NFS home directories. While we have some theories as to what is happening exactly, we don't have any concrete workaround as of yet. As such, we don't recommend using Mail.app, and instead recommend using Alpine or Thunderbird.
- Automounts/NFS Exports
- Peyton standard automounts, such as /peyton/scr/machinename1, don't work on the Macs. We'd like to implement something comparable, but right now, it's not possible. Additionally, Mac drives aren't NFS exported.