Difference between revisions of "ISO Installation"

From Luna Node
Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
Here, we cover how to install a virtual machine from ISO on Luna Node Dynamic.
 
Here, we cover how to install a virtual machine from ISO on Luna Node Dynamic.
  
* '''Add the ISO to your account''': if the ISO is not already provided (we have some like Ubuntu and Fedora Server), go to [https://dynamic.lunanode.com/panel/newimage.php Add a new image] to add the ISO file. The ISO file needs to be available for download from a web or FTP server; if it is not, then you can create a temporary VM to host the ISO file. After adding the ISO, please wait for ten to fifteen minutes to allow time for the download to complete; depending on the size of the file and the download speed, this process may take significantly longer.
+
* '''Add the ISO to your account''': if the ISO is not already provided (we have some like Ubuntu and Fedora Server), go to [https://dynamic.lunanode.com/panel/images Add a new image] to add the ISO file. The ISO file needs to be available for download from a web or FTP server; if it is not, then you can create a temporary VM to host the ISO file. After adding the ISO, please wait for ten to fifteen minutes to allow time for the download to complete; depending on the size of the file and the download speed, this process may take significantly longer.
* '''Provision the VM''': [https://dynamic.lunanode.com/panel/newvm.php?region=toronto create a new VM] from the ISO file.
+
* '''Provision the VM''': [https://dynamic.lunanode.com/panel/newvm create a new VM] from the ISO file.
 
* '''Install the OS''': once the VM is ready, go to the VM management page and select VNC connection. From here, complete installation of the operating system.
 
* '''Install the OS''': once the VM is ready, go to the VM management page and select VNC connection. From here, complete installation of the operating system.
 
** Note that you should delete any existing partitions on the disk when installing, otherwise you may encounter issues like "partition in use" or "grub-install failed"; when in doubt, use guided partitioning
 
** Note that you should delete any existing partitions on the disk when installing, otherwise you may encounter issues like "partition in use" or "grub-install failed"; when in doubt, use guided partitioning
* '''Shut down the VM''': after you have finished installing, turn the VM off by hitting Shutdown.
+
* '''Swap the boot order''': hit Swap boot order so that the VM boots to the first disk instead of to the CD-ROM ISO.
* '''Swap the boot order''': while the VM is offline, hit Swap boot order so that the VM boots to the first disk instead of to the CD-ROM ISO. You may notice that the image source will change to "blank"; this lets OpenStack know that it should no longer treat the VM as an ISO.
+
** Note: if you have JavaScript enabled, the swap boot order button will take care of shutting down and starting the VM as well.
+
* '''Start up the VM''': now you can start the VM and enjoy your operating system! To do this, hit Start, then Shutdown, then Start again (this sequence of commands is needed in order to clear the cache; note that if you have Javascript enabled, this is done automatically).
+
  
 
== Taking a snapshot ==
 
== Taking a snapshot ==
  
You may also want to provision more virtual machines from the ISO. Live snapshots are not possible for operating systems installed from ISO files; instead, you must do a cold snapshot by first turning off the VM. You must also ensure that the boot order has been swapped so that the VM is set to boot to the first disk and not the ISO image. Then, enter a name for the snapshot and hit Snapshot.
+
You may also want to provision more virtual machines from the ISO. Make sure that the boot order has been swapped so that the VM is set to boot to the first disk and not the ISO image. Then, enter a name for the snapshot and hit Snapshot. Both live snapshots, which are performed while the VM is online, and cold snapshots, which are performed while the VM is shutoff, can be performed.
  
 
When the snapshot is ready, you can provision additional VM from it as usual.
 
When the snapshot is ready, you can provision additional VM from it as usual.

Latest revision as of 00:28, 26 March 2016

Here, we cover how to install a virtual machine from ISO on Luna Node Dynamic.

  • Add the ISO to your account: if the ISO is not already provided (we have some like Ubuntu and Fedora Server), go to Add a new image to add the ISO file. The ISO file needs to be available for download from a web or FTP server; if it is not, then you can create a temporary VM to host the ISO file. After adding the ISO, please wait for ten to fifteen minutes to allow time for the download to complete; depending on the size of the file and the download speed, this process may take significantly longer.
  • Provision the VM: create a new VM from the ISO file.
  • Install the OS: once the VM is ready, go to the VM management page and select VNC connection. From here, complete installation of the operating system.
    • Note that you should delete any existing partitions on the disk when installing, otherwise you may encounter issues like "partition in use" or "grub-install failed"; when in doubt, use guided partitioning
  • Swap the boot order: hit Swap boot order so that the VM boots to the first disk instead of to the CD-ROM ISO.

Taking a snapshot

You may also want to provision more virtual machines from the ISO. Make sure that the boot order has been swapped so that the VM is set to boot to the first disk and not the ISO image. Then, enter a name for the snapshot and hit Snapshot. Both live snapshots, which are performed while the VM is online, and cold snapshots, which are performed while the VM is shutoff, can be performed.

When the snapshot is ready, you can provision additional VM from it as usual.