Changes between Version 5 and Version 6 of Paravmssh


Ignore:
Timestamp:
May 8, 2009, 1:03:56 PM (15 years ago)
Author:
quentin
Comment:

major cleanup

Legend:

Unmodified
Added
Removed
Modified
  • Paravmssh

    v5 v6  
    1 Go to xvm.mit.edu and log in with your personal certificate.
    2 To create a new paraVM first enter a name , description, then click the Autoinstall radial button and select one of three operating systems from the drop-down menu. and finally, click "Create it!"
    3 --note: you may only use <quota> MiB of RAM. if you already have two VMs, you may not have enough left.
     1XVM supports running paravirtualized guests. Paravirtualized guests are not virtual machines in the traditional sense; instead of running on emulated hardware, they are aware that they are running inside a VM system and can talk directly to the host. The result is that paravirtualized guests are significantly faster than fully virtualized guests ("HVMs"). To create a new ParaVM, first enter a name and description, then click the "Autoinstall" radio button and select one of the available operating systems from the menu. Finally, click "Create it!"
    42
    5 After creating the vm, you should wait about 5-6 minutes. This is an excellent time to get coffee, or to begin a short boffing match with one of your collegues
     3(Note that the default RAM quota is 512MiB, so if you already have two running VMs, you'll need to shut one of them down to create a new machine.)
    64
    7 After 5<?> minutes you can access the machine's console from an athena machine or any machine that has kerberos tickets.
    8 assuming you have called your vm "myParaVM"
     5After creating the VM, you should wait about 5-6 minutes for the install to complete. During this time, the VM will show as "on" in the web interface. Do not power it off; the operating system is being installed. If you want to watch the progress, you can follow the next set of instructions to see the install's debugging output.
     6
     7After about 5 minutes, the installation will be done. You can then press the power button in the web interface to turn the VM on. You can access the machine's console from an Athena machine or from any machine that has Kerberos tickets. Assuming you have called your machine "myparavm", you can connect to it with
    98{{{
    10 athena% ssh myParaVM@xvm-console.mit.edu
    11 }}}
    12 this will take a half-minute, but your terminal should then read
    13 {{{
     9athena% ssh myparavm@xvm-console.mit.edu
    1410Type Ctrl-e, then c, then . to escape from the console
    1511
     
    1713
    1814}}}
    19 hit enter. It will display information about the OS and vm name and a login promt. Type "root". If asked for a password, just hit enter.
    20 Normally, we don't want to login as root, so we need to add a user
     15Hit enter to be given a login prompt. Type "root", and if asked for a password, just hit enter. At this point the machine will only allow logins as root and only allow logins from the console. Normally, we don't want to login as root, so we need to add a user:
    2116{{{
    2217root@myParaVM:~# adduser username
     
    3025}}}
    3126
    32 If you chose Debian, add yourself to /etc/sudoers:
     27If you chose Debian, you'll need to add yourself to /etc/sudoers:
    3328{{{
    3429root@myParaVM~# visudo
    3530}}}
    36 this opens /etc/sudoers using an available text editor (probably nano if you're in Debian).
     31
     32This opens /etc/sudoers using the best available text editor (probably nano if you're in Debian).
    3733
    3834If nano is used, it should be intuitive - add the following line at the end, save with Ctrl-O, and exit with Ctrl-X:
     
    4137}}}
    4238
    43 If you are unfamiliar with original vi, you can type the following sequence of keys (where <enter> and <ctrl> stand for the enter and control keys and [username] is the username you just added:
     39If you instead get an original vi, you can type the following sequence of keys (where <enter> and <ctrl> stand for the enter and control keys and [username] is the username you just added:
    4440{{{
    454119jo[username]<space><space><space><space>ALL=(ALL) ALL<esc>:wq<enter>
    4642}}}
    47 <do I actually want it to be username ALL=(ALL) ALL?>
    4843
    49 Lastly, we need to start the ssh daemon:
    50 {{{
    51 root@myParaVM~# /etc/sbin/sshd
    52 }}}
    53 <what distribution is this valid in?>
    54 
    55 now open up another local terminal and try to ssh into your VM:
     44Now just open up another local terminal and try to ssh into your VM:
    5645{{{
    5746athena% ssh username@myParaVM.xvm.mit.edu