XServe setup instructions (for MacOS Server 10.2) Dave Pugh, July 25, 2003 Perform the physical server installation as instructed in the manual. It's much easier to attach the power cord retaining clip before racking the server. We found that in both of our types of cabinets, the cable management arm will not work because it kinks the power cord at too sharp of an angle. Mounting it on the opposite side leaves too much slack and also creates a risk of the arm becoming overextended when the server is pulled out. Be sure the Xserve lock is set to "unlock" (fully clockwise) NOTE: If the machine needs RAID set up on the boot disk, you'll have to do that before anything else: - hook a keyboard and monitor up to the xserve - you cannot create a RAIDed boot disk remotely - put the OSX Server Software CD in the drive, and boot while holding down the "c" key (a blue screen will come up, and sit there for about 3 minutes... just keep on waiting...) - From the "Installer" pulldown menu at the top, Open Disk Utility - select the RAID tab - in our typical setup, we'll create two RAID sets: Volume Name: OSDisk (put the two smaller disks here) Volume Name: DataDisk (put the two larger disks here) - drag the two disks you want mirrored to the "Disk" area - change the RAID Scheme to "Mirror" - enter the RAID Set Name (volume name) - Select the Volume format (either Mac OS Extended or Mac OS Journaled) - Click the "Create" button - Repeat for the other RAID set on the machine - exit disk util - reinstall the OSX Server Software using the default configuration (be sure you install the operating system on the "OSDisk" and not the "DataDisk") Since you already may have a keyboard and monitor attached to the xserve, you can do the configuration steps listed below at the console of the machine instead of on a laptop as described below. Install Server Admin Tools on a laptop from the "Admin Tools" CD included with the XServe (NOT the Xserve RAID Admin Tools) plug in a straight-through or crossover ethernet cable between laptop and xserve. Plug it into the main (non-PCI) ethernet port on the XServe. run /Applications/Utilities/Server Assistant Select "Set up a server", click right arrow for Remote Setup. Turn on the Xserve Wait... occasionally hit the refresh button until the server shows up. This could take upwards of a few minutes. When the server shows up, highlight it, and click the lock button to make changes. Enter the password, which should default to the first 8 characters of the XServe's serial number. Inside the "Quick Start" packet of manuals is the MacOSX Server Software Serial Number. This is entered at this step. Be sure to record which server gets which serial number and return the serial number to the software licensing department (currently Scott Lemm). Administrator: Enter "macroot" as the Name and Short Name Enter the password to be used for that account. Global TCP/IP & Appletalk: Enter the fully qualified host name DNS Servers: 141.211.211.180,141.211.144.17,141.211.125.17 - Doublecheck that you typed the DNS Servers correctly Search Domains: Computer Name: enter the same fully qualified host name Port Planning: Uncheck everything except "Built-in Ethernet TCP/IP" Enter the IP information for this host when prompted on the next screen Services: Don't start any services yet (leave all checkboxes blank). We'll turn them on later. QuickTime Streaming Server Administrator: Name: qtroot Password: (get password from LSA SST Unix team) Time Zone: Set to anything in the eastern timezone except Indiana. Click "Go Ahead" to save the settings It takes a few minutes for the settings to be applied Click "Continue" when it's done. It will appear to do nothing - wait for it to do something - this could take a couple minutes. DO NOT CLICK CONTINUE A SECOND TIME --- Open Directory Assistant will run now Indicate that the server "is using a temporary IP and Subnet" Follow the prompts to Finish up the installation Click the button to restart the server (if the server doesn't reboot at this point [watch the front panel LEDs], don't be surprised if the rest doesn't work - you may need to start over from the first step) Unplug the ethernet hooking the two machines together Plug the server into its permanent location Plug your administrator computer (laptop) into a normal port (one that you could websurf from, for example) and be sure you have an IP address either through DHCP or statically assigned Re-run Open Directory Assistant and connect to the server using it's permanent IP address, with macroot as the username. Indicate that the server is using a permanent IP address Directory Use: The server will "provide directory information to other computers" Configure: Check the box to "Enable LDAP support on this server" Security: Password and authentication information will be: Provided to other systems The administrator name will be displayed. Click the right arrow to continue. Security: Set it so only "CRAM-MD5" is checked. (unselect SMB-*, WebDAV) Click "Go Ahead" to configure the server Click the button to restart the server ---- BEFORE YOU LEAVE THE SERVER: If you want Apple Remote Desktop installed on the server, you must do that at the keyboard and monitor of the server. You cannot install ARD remotely Once ARD is installed (and updated to the latest version), enable it by selecting the "Remote Desktop" System Preferences icon, and enable the macroot account along with all of the permissions for it. Again, this must be done at the system console - it cannot be enabled remotely ---- ssh -l macroot servername run the software update utility by typing "softwareupdate" at the command prompt. This is a command-line version of the GUI software update tool you're all used to. This will list the available software updates. To install any of them, type: sudo softwareupdate NameOfUpdaterPackage To reboot via the commandline: sudo /sbin/reboot ----- If you need to force the ethernet interface to use particular settings, add the following to /System/Library/StartupItems/Network/Network ifconfig en0 media 100baseTX mediaopt full-duplex (this example assumes 100baseTX and full duplex - you should obviously use the appropriate options there) immediately before the "CheckForNetwork" line near the top. ----- Some useful command-line utilities: /usr/sbin/systemsetup -help /usr/sbin/networksetup -help /System/Library/ServerSetup/serversetup