OnApp allows us to upload custom bootable ISOs for recovery purposes. Furthermore, it can be different images for Windows/Linux/FreeBSD or any additional software.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related OnApp queries.
Following are the steps to make OnApp boot from ISO:
1. Viewing ISOs
To view the ISOs available we can use the following steps:
i. First go to Control Panel, take Cloud, and click Templates.
ii. Then Select the ISO list from the menu.
iii. We can see the list of ISOs available split into four tabs given below:
2. Boot from ISO
Now, for OnApp boot from ISO, we need to do the following steps first.
i. Share Location Where ISOs are Stored
The default configuration is to upload ISOs on the Control Panel server. Then we have to mount and share the location where the ISOs are stored at CP with all the compute resources.
Further, when the virtual servers are booted from the ISOs, it takes the ISO from the compute resource server. The on_app.yml have the location, which can be found in /onapp/interface/config/on_app.yml.
a. iso_path_on_cp – specifies the location where Control Panel Servers stores ISOs. By default the location is /data. You can change it to any other suitable location. Make sure that this location is shared with the specified iso_path_on_hv location.
b. iso_path_on_hv – specifies the location where ISOs are located on the compute resource servers. By default the location is /data. You can change it to any other suitable location with the onapp owner and read/write access. Make sure that this location is mounted to the specified iso_path_on_cplocation.
ii. Upload ISO(s) into the Cloud
To upload an ISO file, follow the next steps:
a. Go to your Control Panel > Cloud and click the Templates menu from the left navigation pane.
b. Select ISO list from the menu that expands.
c. On the page that loads, click the Upload ISO button at the bottom of the screen.
d. Further, choose the ISO to upload and fill its details:
e. Click Next. On the page that appears, click File or File Url tab depending on the upload method:
f. Finally, Click Save to upload the ISO.
Notably, after you upload an ISO to the cloud, it can be found at Cloud > Templates > ISO List > My ISOs tab. The ISOs uploaded by your users are under the User ISOs tab.
iii. Make ISO(s) Public
By default ISOs are available only to those users who uploaded them. Further, these ISO images are available in the My ISOs tab. In effect, to make your ISO public and accessible for all users:
Make sure that you have enabled the Any power action on own virtual servers and Allow own virtual servers to boot from ISO permissions for the user to be able to boot servers from ISO.
Note that you should track the Operating System Type option of the compute resource where the current VS lives.
If the compute resource is set to Any, any ISO that has other suitable requirements is available to boot from.
Alternatively, if the compute resource has Windows only option enabled, the ISO that has Windows operating system is available for selection.
If the compute resource has the Non-Windows option enabled, the ISOs with OSs Linux and FreeBSD are available for selection.
iv. Boot Virtual or Smart Server from ISO
Once you have shared the location where ISOs are stored and uploaded ISOs into the system, you can boot virtual or smart servers from them using the server’s power options menu. Thus, to boot a virtual/smart server from ISO:
This article covers how to boot from ISO on Onapp. OnApp allows uploading your custom bootable ISOs for recovery purposes. These could be different images for Windows/Linux/FreeBSD or any additional software. As a cloud administrator, you can limit user's ability to upload and manage ISOs by permissions and in buckets. You can boot virtual servers from your own ISOs or the ISOs that are uploaded and made publicly available by other users.
If your cloud deployment is not a fresh installation, make sure to enable the following permissions for your Admin and other roles as appropriate:
By default ISOs are available only to those users who uploaded them. These ISO images are available in the My ISOs tab.
To make your ISO public and accessible for all users: