Submitted by just_me on Sun, 09/11/2016 - 05:58
Well, I will probably take over an existing Ubuntu 16.04 server, which has lxc and lxd installed. Since there is no really working backupsolution gor lxc / lxd, i am wondering whether i can install cloudmin on top of that. Ubuntu16.04 is running under ZFS, btw.
Do you see any issues? Can i, after installation and setup of cloudmin administer the existing container and replicate/backup them? I do not want to break everything :-)
Thanks and best
Status:
Active
Comments
Submitted by just_me on Sun, 09/11/2016 - 05:58 Comment #1
Submitted by JamieCameron on Sun, 09/11/2016 - 11:17 Comment #2
Yes, you can install Cloudmin and import the existing LXC containers into Cloudmin's control.
Submitted by just_me on Wed, 09/14/2016 - 00:57 Comment #3
I have an out of the box LXD/LXC/ZFS setup, cloudmin runs on the host machine (ub1604), no extra software. Cloudmin recognizes lxdbr0, finds other physical machines on the network and even sees the used bridged IPs but doesn't find any lxc instance. Is there any known trick that I could apply to register my containers? Thanks and best
Submitted by just_me on Wed, 09/14/2016 - 15:17 Comment #4
Submitted by JamieCameron on Thu, 09/15/2016 - 00:07 Comment #5
Did you try to import them into Cloudmin using the page at Add System -> Add LXC Instance?
Submitted by just_me on Fri, 09/16/2016 - 03:13 Comment #6
sure I did. No ssh since there is none, the right webmin port although there isn't any, the right container name - no luck. But the lxd documentation says somewhere: don't mix lxd lxc with standard lxc.
Best
Submitted by JamieCameron on Fri, 09/16/2016 - 22:24 Comment #7
What error message did you get exactly? Were you even able to select the LXC container on the Add LXC Container page?
Submitted by just_me on Sun, 09/18/2016 - 04:54 Comment #8
No error message. cloudmin said: 0 container found. Tried every option which i could google and even changed the standard directory from lcx to lxd. No avail
:-( Best
Submitted by JamieCameron on Sun, 09/18/2016 - 12:47 Comment #9
What does the command
lxc-ls -1
output when run on your host system?Submitted by just_me on Wed, 09/21/2016 - 01:11 Comment #10
Usage: lxc [subcommand] [options]
Available commands:
config - Manage configuration.
copy - Copy containers within or in between lxd instances.
delete - Delete containers or container snapshots.
exec - Execute the specified command in a container.
file - Manage files on a container.
help - Presents details on how to use LXD.
image - Manipulate container images.
info - List information on LXD servers and containers.
launch - Launch a container from a particular image.
list - Lists the available resources.
move - Move containers within or in between lxd instances.
profile - Manage configuration profiles.
publish - Publish containers as images.
remote - Manage remote LXD servers.
restart - Changes state of one or more containers to restart.
restore - Set the current state of a resource back to a snapshot.
snapshot - Create a read-only snapshot of a container.
start - Changes state of one or more containers to start.
stop - Changes state of one or more containers to stop.
version - Prints the version number of this client tool.
Options:
--all Print less common commands.
--debug Print debug information.
--verbose Print verbose information.
--version Show client version.
Environment:
LXD_CONF Path to an alternate client configuration directory.
LXD_DIR Path to an alternate server directory.
Submitted by JamieCameron on Wed, 09/21/2016 - 19:21 Comment #11
Ok, it looks like the version of LXC that you're using there is quite different to what Cloudmin expects. I think we'd need to do some work to support LXD properly - right now, only plain LXC is supported.
Submitted by just_me on Thu, 09/22/2016 - 01:28 Comment #12
i think ZFS is not fully supported, is it?
Submitted by JamieCameron on Thu, 09/22/2016 - 22:33 Comment #13
No, there's no support in Cloudmin for ZFS.
Submitted by just_me on Sat, 09/24/2016 - 06:34 Comment #14
just curious.