Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create a new Virtual Machine
    • With Name of your choice say CentOS6_VM1 with Linux as Type and RedHat as Version.
    • Assign at least 8 GB of memory to VM
    • Create a virtual hard drive with disk type either as VDI or VHD with a size of 75GB. You can pre-allocate 75 GB by choosing Fixed Size.
    • The new VM is initially created in powered off state.
  • Assign installation media file 
    • Before you start the VM, assign the installation media ISO file as the optical drive by clicking on Machine->storage→Disk ICON
  • Additional Configuration
    • Configure Network Type by clicking on Machine->Settings->NetWork->Enable Network Adapter as Bridged Adapter
    • Enable Copy and Paste between the host and guest OS by clicking on Machine->settings->General->Advanced->Birectional for Shared ClipBoard and Drag'N'Drop
  • Start the VM
    • The cursor pointer is confined to the VM window once it is clicked within the window. You can move the cursor out of VM window by pressing right ctrl key and move the cursor out of VM window.
    • This installs CentOS VM and prompts you for root password, for additional user creation, time zone etc
    • Before you restart the VM, remove disk from virtual drive by clicking on Machine->Setting->Storage→Disk ICON→Remove Disk from Virtual drive,  If this step is missed you might end of installing  CentOS repeatedly.

...

Common problems observed while using Trafodion sandbox

  • The cursor pointer is confined to the VM window once it is clicked within the window. You can move the cursor out of VM window by pressing right ctrl key and then move the cursor out of VM window.
  • After the VM is started,

...

  • please ensure that you are able to visit webpages using firefox browser in the VM. Only when you are able to browse the internet from Linux VM, you will be able to install other packages needed for Trafodion. If you are unable to connect,, please correct your network configuration. Some of the network configuration becomes effective only after the VM is restarted.
  • I had configured two network adaptors; one with NAT and another as bridged adapter. NAT requires Port Forwarding.
  • I couldn't get copy-paste to work between the host and guest OS though I have enabled it.  But you can use scp to move the files such as private and public key via scp command.
  • Update your .bashrc file with the following
    • ulimit -u 65536
    • export TRAF_HOME=~/trafodion/core/sqf
    • export JAVA_HOME and TOOLSDIR
  • For git to work from Linux VM, you need to do the following in root user shell.
    • install ssh server using yum install openssh-server command.
    • You need to stop the iptables service using service iptables stop command.
    • You need to start the ssh service using service sshd start command.
  • Before installing the hadoop environment via install_local_hadoop step in the VM
    • You need to set the environment variable MY_LOCAL_SW_DIST export MY_LOCAL_SW_DIST=~/Downloads
    • Copy tpcds_kit.zip to the folder pointed by MY_LOCAL_SW_DIST.
    • install_local_hadoop