Skip to end of metadata
Go to start of metadata

Portable Testbed Cluster (PTC)

If you wish to test mOS locally without involving any other external resources then you must use mOSAIC PTC (Portable Testbed Cluster).

More information about PTC are at: mOSAIC Portable Testbed Cluster

mOS - IaaS image

mOS-0.8.1-b141 is deployed on:

  • Eucalyptus-2.0.3 at IeAT:
    • mOS-0.8.1-145
      • EMI-ID: emi-759C0E2C
      • EKI-ID: eki-86850EC3
      • ERI-ID: eri-7CF90EAA
  • Amazon EC2 - US-East-1:
    • EC2 region:US-East-1
    • AMI-ID: ami-29009540
    • AKI-ID:aki-b6aa75df
    • ARI-ID:not applicable (pvgrub version)

To start an instance on euca@ieat-ec2:

  • --user-data-file: (optional) you can provide an shell script that it will be executed at boot time.
  • the user-data descriptor is described here;
    • add the optional ":run:bin/run" at the end of the descriptor if you want the platform to be started after the installation;
  • if you cannot login using you private ssh key a root password has been enabled: mosaic.2011

mOS - bundle installer

mOS Bundle is a self-extracting archive that deploys mOS and the mOSAIC Plaftorm on any operating system.

The repository:

This bundle works in two ways:

  • standalone
    • description: it will deploy mOS and the platform in a chroot; all the functionality is enabled (as in IaaS image case);
    • requirements: none specific;
  • deployer
    • description: work in progress.
    • requirements: btrfs support, kernel security groups (for LXC Containers);

This bundle is designed to work on any operating system that meets the minimum requirements for each running mode apart. The workflow of running mOS Bundle is the following:

  1. Start a VM with an OS supporting the minimum requirements
  2. Login as root on the VM
  3. Download the latest mOS Bundle:
    1. wget
  4. Install the bundle:
    1. chmod +x && ./ [working mode]
  5. Startup the mOS:
    1. chroot /opt/mosaic/os /etc/init.d/mosaic start
  6. Stages:
    1. If the cloud environment is natively supported by the mOS and the user-data was specified then the platform will install and start automatically;
    2. Use the Package daemon to install and start the platform (check mOS - White paper for more details):
      1. echo '#!pkg:tazpkg:mosaic-node-boot:run:bin/run' | nc VM_IP 19999