The Host's storage configuration can be found and managed in Netframe by:
- Navigating to the Host object
- Opening its Storage tab
By default, Netframe will come with two storage pools, named iso
and local-vm
.
- The
iso
pool is where you should keep .iso files for installing operating systems on new VMs.
- Note that the pool name “iso” is special – there must be a pool named “iso” to be able to be able to add a CD image to a VM.
- All other storage pools (including
local-vm
) will be available options for disk storage on VMs.
By default, the iso
and local-vm
pools will use the physical install disk for storage.
It is recommended that the default pools be deleted and replaced with NFS pools.
Important: If you are replacing the default iso
pool with an NFS (or other) pool, you must first delete the original iso
pool, and then create a new pool with the name iso
Press the bin icon under Actions
- Press the
+ Add A Pool
button.
- Name it, set its state to running, and set its type to NFS
- Input the NFS's NAS address and the directory you want to mount as a storage pool
- Press the save icon
While Netframe will manage file creation in its standard storage pools, in the case of the iso
pool, you will need to manually upload an iso file into it. This can be done by:
- Pressing the storage pool's share button
- Set your desired access password and share timeout
- Note the username listed before the password box
Password: (user: <username>)
This should be the username you used to login to Netframe
- Press confirm
- This will create an SMB/samba server that you can directly upload files to
Outside of Netframe:
- Open your system's file explorer and add a new network location
- On Windows: Go to This PC, right-click, and select “Add a Network Location”
- On Ubuntu/Gnome: Click the “Other Locations” tab
- When prompted, enter the server address as
smb://<netframe's address here>
- e.g. if Netframe is hosted at netframe.mycompany.com, then the server address should be
smb://netframe.mycompany.com
- After successfully connecting to the server, you should see the storage pool you shared as a directory
- Opening the directory will prompt you to input your authentication details
- Connect as a “Registered User”, and enter the username and password defined when you pressed the share button in Netframe
- You can keep the default domain of
WORKGROUP
- After successfully connecting, you can copy the files you want to upload from your device into the shared directory
Alternatively, the files can be uploaded via ssh using scp
. The location of all storage pools on your host is /nfpool/pools/<storage pool>
Once the file has finished copying/uploading, you can confirm that it worked in Netframe by clicking on the storage pool's name, which will list its contents.