CASA Build Test Darwin 11
This page describes how to setup an OS X 10.7 computer for use for CASA automated build and test work.
Disks
Before installing OS X, use the Disk Utility on the OS X install disk to remove ALL existing partitions and RAID configuration data. Partition and format disks as follows.
- Always partition the 1st disk as
- one partition
- Mac OS Extended, Journaled - NOT CASE SENSITIVE
- This is required for some CASA testing, and to install the Intel C++ compiler.
- If the computer contains 2 disks, format the 2nd disk as
- one partition
- Mac OS Extended, Case-sensitive, Journaled
- This is required for some CASA testing.
- If the computer contains 3 or more disks, group all but the system disk into a striped RAID array
- one partition per disk
- group all but the system disk into a striped RAID array
- format the RAID array as Mac OS Extended, Case-sensitive, Journaled
- This is required for some CASA testing.
OS Installation
Perform a clean install of OS X 10.7, per NRAO conventions, including:
- admin account (powermac)
- DHCP
- Inventory
- NRAO NTP
- Munki
Do not upgrade from previous OS X versions using either Apple OS X upgrades or NRAO managed software updates. This is likely to create a system we can not reproduce in the future.
DO NOT USE SPACES IN ANY PATHS! Unix developers have not learned how to deal with spaces in directory or file names.
File System
Disable Automount in /home
NRAO does not support automount of user directories in /home/. OS X does. This interferes with other use of /home.
- Comment out the line starting with /home in /etc/auto_master
User Accounts and Groups
Create the following Unix user groups
Create the following user accounts locally on the computer, per NRAO conventions. If possible, match the NRAO Linux network user ID.
- An admin user account for the primary console user, with group casadev.
- An admin user account named "casaadm", with primary group casadev.
- An admin user account named "casabld", with primary group casadev.
- A standard user account named "casatest", with primary group casadev.
Add all these users to groups "everyone", "staff". Add admin accounts to group "admin".
Ensure user accounts are on the system disks. Users can use symbolic links to use space on the RAID array. This ensures user accounts are preserved through RAID disk failures.
Headless Operation
These machines are often used "Headless". Configure "Sharing" to allow
- Remote Login - Allow access for: All users
- Remote Management - Allow access for: "Only these users"
- Add the primary console user to the list of
- Under "Options...", enable all options.
--
ScottRankin - 2013-06-04