Novell Home

HOWTO: miru directory server VMware LTSP demo

From Developer Community

Contents

Introduction

Using VMware's free VMware Player or VMware Server you can view and use a demonstration LTSP system as detailed in this diagram. This setup consists of four virtual machines.

  • みる directory server (Ocean).
  • FreeNAS.
  • Ubuntu LTSP server.
  • Ubuntu MueKow terminal client.


Image:Vmware_demo_setup.png


Download

An archive of all four appliances is available from the downloads page. Due to the size of the Ubuntu installation 7-zip compression has been used to create the smallest download possible: 526MB vs. 2.1GB uncompressed. 7-zip decompression tools are available for Windows, and a tool p7zip (command line: 7za) for Linux, and Unix platforms.


Memory Settings

The memory allocated to a virtual machine can be changed in the virtual machine settings window
Enlarge
The memory allocated to a virtual machine can be changed in the virtual machine settings window

The default VMware settings use 1GB of memory partitioned as follows, the values can be reduced for hosts with less memory: the absolute minimum memory has not been investigated.

Virtual machine memory
Virtual machine Default memory Minimal memory
miru directory server (Ocean) 128MB 64MB
FreeNAS 256MB 64MB
Ubuntu Server 512MB 256MB
Ubuntu MueKow 128MB 64MB
TOTAL 1024MB 448MB


Setup VMware Host-only Networking

The LTSP demo requires open network ports for the systems to communicate with each other, for security purposes the demo has been configured to use a private subnet with host-only networking. For this to work you need to configure the VMware network settings for a host-only network.

Linux

Run vmware-config.pl and enable host-only networking and use the host IP address of 10.82.6.1.

Do you want networking for your virtual machines? (yes/no/help) yes

Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) wizard

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] no
 
Do you want to be able to use host-only networking in your virtual machines?
[no] yes

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] no

What will be the IP address of your host on the private
network? 10.82.6.1

What will be the netmask of your private network? 255.255.255.0

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 10.82.6.0.

Do you wish to configure another host-only network? (yes/no) no

VMware will automatically setup a DHCP daemon for vmnet1 this needs to be terminated.

$ sudo pkill vmnet-dhcpd
$ sudo rm -rf /etc/vmware/vmnet1


Startup

In the VMware console open each of the VMware machines.

  1. FreeNAS.
  2. Ocean (miru directory server).
  3. Ubuntu Server.
  4. Thin Client.

Start one at a time and wait for the server to finish starting before continuing to the next. The Ubuntu Server and Thin Client machines cannot start without the FreeNAS host.

FreeNAS once started shows a simple console menu
Enlarge
FreeNAS once started shows a simple console menu
miru directory server also shows a simple console menu
Enlarge
miru directory server also shows a simple console menu


Ubuntu shows a high resolution graphical login screen
Enlarge
Ubuntu shows a high resolution graphical login screen
MueKow shows a basic graphical login screen
Enlarge
MueKow shows a basic graphical login screen


Login

The desktop should appear exactly the same whether you are logged into the server console or the MueKow client
Enlarge
The desktop should appear exactly the same whether you are logged into the server console or the MueKow client

In the Thin Client machine try logging in with username wendy and password miru. There is no internet connectivity in the default configuration so Firefox will not be very useful however other applications will work fine.

Summary

The following lists the IP addresses of all virtual machines and login username and passwords for administration. Note the LTSP server user is stored in /etc/passwd whilst the LTSP client user is stored in Active Directory.

Host:
    IP address:    10.82.6.1

miru directory server
    IP address:    10.82.6.2
    username:      admin
    password:      miru

FreeNAS
    IP address:    10.82.6.3
    username:      admin
    password:      miru

Ubuntu LTSP server
    IP address:    10.82.6.10
    username:      test
    password:      miru

Ubuntu MueKow client
    IP address:    10.82.6.100
    username:      wendy
    password:      miru

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.