Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 22 21:51

    YanChii on bhyve

    fix bhyve disk_id parsing in Vm… (compare)

  • Nov 22 20:49
    YanChii synchronize #526
  • Nov 22 20:49

    YanChii on copy-ip-to-clip

    add copy buttons to proper plac… (compare)

  • Nov 18 23:29
    YanChii assigned #526
  • Nov 18 23:29
    YanChii labeled #526
  • Nov 18 23:29
    YanChii opened #526
  • Nov 18 23:29
    YanChii labeled #526
  • Nov 18 23:26

    YanChii on copy-ip-to-clip

    fix and refactor js (compare)

  • Nov 17 22:44

    YanChii on bhyve

    fix update disks (compare)

  • Nov 17 22:22

    YanChii on bhyve

    fix update disks (compare)

  • Nov 17 22:03

    YanChii on bhyve

    update cmd error gather (compare)

  • Nov 17 21:48

    YanChii on bhyve

    fix update disks (compare)

  • Nov 17 21:40
    YanChii commented #477
  • Nov 17 21:34

    YanChii on bhyve

    fix update disks (compare)

  • Nov 17 21:25

    YanChii on bhyve

    fix update disks (compare)

  • Nov 17 20:58

    YanChii on bhyve

    fix manipulation with bhyve dis… (compare)

  • Nov 16 19:27

    YanChii on v4.4

    (compare)

  • Nov 16 19:26

    YanChii on v4.4

    (compare)

  • Nov 16 19:24

    YanChii on master

    release v4.4 (compare)

  • Nov 16 19:21

    YanChii on master

    bump version to v4.4 (compare)

Jan Poctavek
@YanChii

And the High availabilty of management VMs?

That's a different story. But now I don't know what exactly do you mean in connection to HN/CN. Same migration rules apply.

Paolo Marcheschi
@paolomarcheschi_twitter
I'd like to have two HN to have Highly Available Central Management with Automatic Failover
Jan Poctavek
@YanChii
HA is done by deploying mgmt02 and mgmt03 VMs preferably on different CNs
Paolo Marcheschi
@paolomarcheschi_twitter
now I have 1 HN and several other CN
Jan Poctavek
@YanChii

now I have 1 HN and several other CN

now you have several CNs and one of them is hosting admin VMs

Paolo Marcheschi
@paolomarcheschi_twitter
yes
Jan Poctavek
@YanChii

you have several options before choosing mgmt HA because it is the most complicated option and it's not maintentance-free.

  1. setup periodic backup of admin VMs and if your HN breaks inrecoverably , follow the DC restore procedure: https://docs.danube.cloud/user-guide/howto/disaster-recovery.html#recovery-without-danube-cloud-api-or-gui

  2. setup VM replication for mgmt01 and if the HN disappears, just start the destination mgmt01 VM on the destination node

  3. setup HA. There are ansible, python and shell scripts to do that. But you will have corosync/pacemaker postgresql cluster and you should know how to recover it in case something goes wrong... the same as with any other database cluster.

Paolo Marcheschi
@paolomarcheschi_twitter
Thank you, the simpler the better
Darth HTTP
@DarthHTTP
hi all
don't run DC but vanilla smartos latest, experimenting with bhyve and i'd like to create a vm which boots via PXE.
anyone has experimented with this ?
Jan Poctavek
@YanChii
I didn't try PXE from within bhyve (yet). But this is not SmartOS specific and it should work exactly as in FreeBSD.
62 replies
Paolo Marcheschi
@paolomarcheschi_twitter

Hi Everybody
Today I tried to install the new LX image ubuntu 20.04 from https://github.com/omniosorg/lx-images

And it worked without any modification with DC 4.3.
These are the steps I used:

I have created a new LX server with DC using the latest ubuntu LX available 16.04
I copied the <UUID> of the created zone
I stopped the zone with DC
I went to the CN node via terminal
I created a working folder under /zones
mkdir /zones/WORK
cd /zones/WORK
I Moved the existing /zones/<UUID>/root folder in /zones/WORK/rootOLD
mvdir /zones/<UUID>/root /zones/WORK/rootOLD
I downloaded the omnios LX ubuntu 20.04 available in the github site:

wget --no-check-certificate https://github.com/omniosorg/lx-images/releases/download/2020-10-05_16-35-52/lx-ubuntu-20.04-2020-10-05_16-35-52.tar.xz

mkdir /zones/WORK/root
xz -d lx-ubuntu-20.04-2020-10-05_16-35-52.tar.xz
tar xvf lx-ubuntu-20.04-2020-10-05_16-35-52.tar -C root
mvdir root /zones/<UUID>/root

At this point I restarted the zone from DC and it booted correctly:
[root@node (DC) ~]# zlogin 16bd71ff-8dd4-43bf-b556-58723a289b90
[Connected to zone '16bd71ff-8dd4-43bf-b556-58723a289b90' pts/2]
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 4.4 x86_64)
Documentation: https://help.ubuntu.com
Management: https://landscape.canonical.com
Support: https://ubuntu.com/advantage
Last login: Thu Oct 22 07:13:57 UTC 2020 from zone:global on pts/4
root@16bd71ff-8dd4-43bf-b556-58723a289b90:~# ls
root@16bd71ff-8dd4-43bf-b556-58723a289b90:~# uname -a
Linux 16bd71ff-8dd4-43bf-b556-58723a289b90 4.4 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux

FilipFrancis
@FilipFrancis
Nice work
Jan Poctavek
@YanChii
Cool.
Before first start of the zone, you can do a snapshot and create an image from that snapshot.
Paolo Marcheschi
@paolomarcheschi_twitter
Ok I started the process again and now I have an image.
Jan Poctavek
@YanChii
if the images really work, we can automate it and publish them on images.danube.cloud. But before that I'd like to add metadata processing service into them (to enable setting ssh keys using mdata).
Paolo Marcheschi
@paolomarcheschi_twitter
It seems to work, I installed a new server from image
Paolo Marcheschi
@paolomarcheschi_twitter
well I tried to install postgres but it does not work :(
Paolo Marcheschi
@paolomarcheschi_twitter
but the same procedure does not work also with latest 16.04 LX for me
Jan Poctavek
@YanChii
does apt dist-upgrade work?
Paolo Marcheschi
@paolomarcheschi_twitter
yes
Paolo Marcheschi
@paolomarcheschi_twitter
devuan linux works better, and I installed postgres successfully
Paolo Marcheschi
@paolomarcheschi_twitter
I tried also linux void and it works
Paolo Marcheschi
@paolomarcheschi_twitter
Also joyent official repository now has linux void (20201016)
03e83dc2-0ff9-11eb-873f-071a5e00e534
matrixbot
@matrixbot
otis void linux seems to have some "good" concept
otis * void linux seems to have some "good" concepts
matrixbot
@matrixbot
toybomb Yeah I guess I get why devuan and void work
toybomb But void may actually allow me to run mailinabox by manually setting package versions
matrixbot
@matrixbot
toybomb cgroups makes a lot of current services unable to run
toybomb on the ubuntu 18.04 and 20.x images
toybomb * on the ubuntu 18.04 and 20.x lx zones
Paolo Marcheschi
@paolomarcheschi_twitter
Yes this is very annoying this is why I'd like to switch to bhyve for those that need ubuntu 20.04
I do not want to loose the versatility of LX for the rest services
matrixbot
@matrixbot
toybomb i'm kinda wondering what's needed for the cgroups to allow for those services
toybomb i spent a few days trying to get some services running last month when tried those images
toybomb but devuan might really be a good idea
toybomb it's debian without systemd after all
Paolo Marcheschi
@paolomarcheschi_twitter
Do you know How it is possible to pass Http proxy to LX server creation?
4 replies
Jan Poctavek
@YanChii
yes, there's a PAM security issue... not affecting us much but we'll be releasing a new platform anyway
infinity202
@infinity202
superb! When do you think you will be able to release ?
And will it support the new piadm command from SmartOS too? (this will enable on-disk storage of the USB files)
Jan Poctavek
@YanChii
I've started to gather issues that can make it into this release. Then testing it. If everything goes fine, in two weeks it can be out.
We don't need piadm. DC has disk install for years already. And as a bonus, disk installed SmartOS from DC has writable root (as opposed to ramdisk when booting from USB or using piadm).
infinity202
@infinity202
OMG? Am I so stupid ?
Jan Poctavek
@YanChii
We have beadm.
and esdc-platform-upgrade
infinity202
@infinity202
So I could start installing Danube on a bare metal server from OVH right now ?
Jan Poctavek
@YanChii
yes, no prob
infinity202
@infinity202
ah, crap. then i do need ipxe don't I ?
Jan Poctavek
@YanChii
PXE can be used only to do disk install http://pxe.danube.cloud/pxe/