wiki:Internal/SandboxConsoleSetup

Version 6 (modified by jsingh, 15 years ago) ( diff )

Sandbox is a ubuntu machine Steps on setting up this ubuntu Server are as follows

  1. Attach a usb cd drive and start the cd install.
  2. Create the root partition and a swap partition of 4 gigs (James can you please put the exact sizes you use).
  3. Setup the Network Interfaces
    eth0 - Goes into the DMZ network, so please modify the /etc/network/interfaces file to for eth0
    the ability to attain an ip address using dhcp.
    Please update the dhcpd.conf file with eth0 mac address for console.sbX
    eth1 - Is the ConsoleC address for sandbox.
    Please update /etc/network/interfaces to
    iface eth1 inet static
    address 10.1x.0.10 - (x) is the sandbox number
    netmask 255.255.0.0
  4. Please Install libpam-ldap,libnss-ldap,autofs and autofs-ldap packages using apt.
  5. Please modify /etc/ldap/ldap.conf to the following
    BASE dc=orbit-lab,dc=org
    URI ldap://ldap.orbit-lab.org
  6. You can copy /etc/ldap.conf from another sandbox or set the following attributes yourself

host ldap.orbit-lab.org
base dc=orbit-lab,dc=org
ldap_version 3
rootbinddn cn=admin,dc=orbit-lab,dc=org
timelimit 30
bind_timelimit 30
idle_timelimit 360
pam_check_host_attr yes
pam_password crypt
Copy the /etc/ldap.secret file from another sandbox or ask the administrator for the password.

  1. For autofs we need to modify /etc/default/autofs file so that the autofs daemon knows what the master map is.

    LDAPURI="ldap://ldap.orbit-lab.org/" [[BR]]
    LDAPBASE="ou=auto.master,dc=orbit-lab,dc=org"

Copy the /etc/nsswitch.conf file to this new machine from another sandbox or modify the file for your
self to include ldap for login and automount to be done by ldap.

Please ensure that you start autofs

Modify the sudoers file to include sysadmin group with privileges to become root without password or just
copy the sudoers file from an existing sandbox.

  1. OMF Install -To manage your nodes To install omf packages modify your apt source tree to include mytestbed url and then run update on the apt for it to pull down the package information. The above steps can be done by these steps
     echo "deb http://pkg.mytestbed.net/ubuntu hardy/" >> /etc/apt/sources.list
       apt-get update
    

For the console we need to add the following packages

omf-resctl liboml omf-expectl omf-common omf-aggrmgr . Please try and install the latest release

    apt-get install liboml omf-expctl-5.2 omf-common-5.2 omf-aggmgr-5.2
  1. OMF Configuration Copy a working config file for /etc/omf-expctl-5.2/nodehandler.yaml from another sandbox and modify its ip addresses for the Sandbox

Attachments (3)

  • ldap.conf (9.0 KB ) - added by ssugrim 13 years ago. /etc/ldap.conf
  • ldap.2.conf (214 bytes ) - added by ssugrim 13 years ago. /etc/ldap/ldap.conf
  • nsswitch.conf (527 bytes ) - added by ssugrim 13 years ago. /etc/nsswitch.conf

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.