Adventures in Networking

Main menu:

Linux

OES 2 Installation and Setup

Complete the installation of SLES 10 first as per http://danobarrjr.net/2010/01/sles-10-installation-and-setup.html.

Install OES Components and Configure eDirectory:

  • Start the OES install:
    • YaST: Software, Add-on Product
  • Select Local Directory or NFS (depending on where your ISO images are)
  • If using NFS, specify the source server’s fully qualified name address
  • Check the ISO Image box and set the path to /install/OES2-SP1-x86_64-CD1.iso
  • Select and install the following packages:
    • Novell Backup / Storage Management
    • Novell eDirectory
    • Novell iManager
    • Novell iPrint (if needed)
    • Novell Linux User Management
    • Novell NCP Server
    • Novell Remote Manager
    • Novell CIFS (if needed – only works on NSS volumes)
    • Novell Storage Services (if needed)
  • eDirectory Configuration – New or Existing Tree
    • Select Existing Tree
    • eDirectory Tree Name: (enter the existing tree name)
    • Check Use eDirectory Certificates
  • eDirectory Configuration – Existing Tree Information
    • IP Address of an existing eDirectory server: (use the IP of a server hold a replica of root)
    • FDN Existing admin name: cn=admin,o=xxxxx
    • Enter Admin Password
  • eDirectory Configuration – Local Server Configuration
    • Enter Server Context: ou=Servers,ou=Sitename,o=XXXX
  • eDirectory Configuration – NTP & SLP
    • Network Time Protocol Server: (use the IP address of a server holding the master replica of root)
    • Select Configure SLP to use an existing Directory Agent
    • Service Location Protocol Scopes: (enter your scope name)
    • Add SLP Directory Agents: XX.XX.XX.XX
  • Novell Modular Authentication Service – accept defaults
  • You’ll now be at the Novell Open Enterprise Server Configuration summary screen
  • Click on LDAP Configuration for Open Enterprise Services
    • Remove the IP address of your master replica server
  • Click on Linux User Management
    • Accept the defaults on the first screen
    • Select All services to LUM-enable
  • IF installing CIFS, click on Novell CIFS
    • Change the Proxy user name to: cn=cifsProxyUser,o=xxxx
    • Set Search context to o=DOC
    • Set the Proxy user password
  • Click Next on the summary screen to start the installation into eDirectory
  • There will be a few miscellaneous prompts to respond to, such as to restart eDirectory
  • iManager/ConsoleOne Tasks:

    • Add an eDirectory replica to new server:
      • In iManager, go to Partition and Replica Management, Replica View
      • Enter SITE.XXXX, click OK
      • Click Add Replica. Select the new server and click OK.

    Configure NSS (not needed if only re-installing the OS for a failed server – following these steps will delete existing NSS pool/volumes):

    • Run nssmu from the command shell
    • Go to Devices, select the logical drive for the NSS pool, and hit F3 to Initialize it (be careful, make sure you have selected the correct drive!)
    • Create new pool named DATA using all of the logical drive
    • Create new volumes on DATA pool

    Turn off oplocks:

    • Edit /etc/opt/novell/nspserv.conf and make sure it has these two lines:
      • OPLOCK_SUPPORT_LEVEL 0
      • CROSS_PROTOCOL_LOCKS 1
    • This change requires a restart of NCP server (reboot)

    Register and Patch the server:

    • Register the server with Novell:
      • At the command prompt:
        suse_register -a email=xxx@xxxxx -a regcode-sles=XXXXXXXXXXXX -a regcode-oes=XXXXXXXXXXXX

    • Update the server using YaST, Software, Online Update (this works in text mode with screen)

    Updating Java on SLED 10


    How to install the latest version of Sun Java JRE on SLED 10 and use it as default.

    Download and installing the latest version of Java:

    • Download and install the latest Sun Java RPM.
    • Use su to become root for the rest of these steps.
    • Set the downloaded file to executable (chmod +x) and run it.
    • Accept the license agreement, and it will the extract the RPM and install the JRE to /usr/java.
    • The installer will automatically update the symlink /usr/java/latest to point at the most recently installed JRE.

    The following steps are performed the first time only. For future updates, just follow the above steps to download and install the latest version, and everything should use the new version automatically.

    To make it the default JRE for your system:

    • cd /usr/lib/jvm
    • rm jre (it should be a symlink)
    • ln -s /usr/java/latest jre

    To make it the default JRE for GroupWise Client:

    • cd /opt/novell/groupwise/client
    • rm -rf jre (GroupWise installs its own JRE, you can delete or just rename with mv jre jre.bkp)
    • ln -s /usr/java/latest jre

    To make it the default JRE for GroupWise Messenger:

    • cd /opt/novell/messenger/client
    • rm -rf jre (Messenger installs its own JRE, you can delete or just rename with mv jre jre.bkp)
    • ln -s /usr/java/latest jre

    To make it your default JRE for FireFox:

    1. cd /usr/lib/firefox/plugins
    2. rm libjavaplugin_oji.so
    3. ln -s /usr/java/latest/libjavaplugin_oji.so
    4. cd /usr/lib/mozilla/plugins
    5. Repeat steps 2 & 3
    6. cd /usr/lib/browser-plugins
    7. Repeat steps 2 & 3

    Possibly you don’t need to add the symlink to all three locations for FireFox, but it takes essentially no space on disk and guarantees you get the latest version loaded.

    SLES 10 Installation and Setup


    Setup instructions for base SUSE Linux Enterprise Server in preparation for OES install

    Staging Step 1 – Initial Install:

    • Storage setup for a standard file and print server:
      • Need two logical drives, RAID 1, 5 or 10
      • First logical drive is for /boot, swap and / partitions (recommend 50GB)
      • Second logical drive is for NSS pool (size accordingly)
    • Installation options:
      • Local DVD install: Boot SLES 10 SP1 DVD and start a new install
      • Network install: Boot SLES 10 SP1 CD1 and use the following options:
        • hostip=xx.xx.xx.xx/24
        • gateway=xx.xx.xx.xx
        • nameserver=xx.xx.xx.xx
        • nfs://servername/install/SLES-10-SP2-DVD-x86_64-GM-DVD1.iso
      • To perform install remotely with VNC (DVD or network), add these options:
        • vnc=1
        • vncpassword=password
    • Select Language, Accept License, select New Installation
    • Set Clock and Time Zone info:
      • Set Hardware Clock Set To UTC
      • Region: USA, Time Zone: Pacific
      • Set Time and Date to current at your location (look at your watch)
    • Click Partitioning:
      • Create Custom Partition Setup, Custom Partitioning (for experts)
      • You should have two logical drives available, sda and sdb:
        • Create 1GB primary partition on sda, format as ext2, mount as /boot
        • Create 2GB primary partition on sda, format as swap
        • Create a primary partition on sda, use remaining space, format as ext3, mount as /
        • sdb will hold the NSS pool, which will be configured after OES installation
    • You can leave the defaults for software selection.
    • Click Accept to start installation – Server will format partitions, install software, and reboot.

    Staging Step 2 – Final Setup After Reboot:

    • Enter password for root
    • Enter hostname and domain (use lower case)
      • Uncheck Change Hostname via DHCP
    • Network Configuration:
      • Click to Enable Firewall for SSH
      • Make sure VNC Remote Administration is enabled
      • Click Network Interfaces, Edit:
        • Add Name Servers
        • Add search domains
    • Don’t check for Internet connectivity
    • Accept defaults on CA Management and click Next
    • Leave Authentication Method on Local, click Next
    • Don’t create a local user, just click Next, and Yes that it’s OK
    • Next on Release Notes
    • Next on Hardware Configuration
    • Uncheck Clone This System for Autoyast
    • Base install is finished at this point. If you’re doing a VNC install, your installation session will die here. You can reconnect to the new server at this point if needed.

    Staging Step 3 – Other Settings:

    • If it is a normal file server, copy SLES and OES source ISO’s to server:
      • Create /install
      • Copy the following ISO’s to /install:
        • SLES-10-SP2-DVD-x86_64-GM-DVD1.iso
        • OES2-SP1-x86_64-CD1.iso
    • Delete CD/DVD or network install source and add local source for SLES:
      • YaST: Software, Installation Source
    • Delete any CD/DVD or network sources
    • Click Add new, then select Local Directory (if it is a normal site file server, otherwise select NFS and use stewart-mis or hdsp-mis)
    • Set Path to /install/SLES-10-SP2-DVD-x86_64-GM-DVD1.iso
    • Check ISO Image
    • YaST: Network Services, NTP Configuration:
      • Change Automatically Start NTP Daemon to start During Boot
      • Go to Advanced Configuration
      • Add server ntp.doc.nv.gov and Enable for initial sync
    • Configure and start SNMP:
      • Copy /etc/snmp/snmpd.conf from another server
      • Enter chkconfig snmpd on to set daemon to auto-start
      • Enter rcsnmpd start to start the daemon
    • Enable Systat:
    • Enable with chkconfig systat on
    • Start with /etc/init.d/xinetd restart