-
thetooth
are there any gotchas attaching a USB mass storage device to a GZ as a simple means of doing zfs pool backups? thinking of using a small qnap enclosure
-
thetooth
also I have a auxilary pool that has it's root dataset delegated to a native zone, presumably this means I can't zfs send that from the GZ (direct pipe transfer)? So I would need to use ssh between the zone and GZ, or is there a better/faster way?
-
jperkin
I just pushed 22.4.0 to images.smartos.org if anyone wants to get them early while I write up the release notes
-
Smithx10
openzfs/zfs #14243 looks like a good win for nvme pools, not sure how easy that would be to bring into illumos
-
TheTim0Nat0r
nbjoerg: I get an fe80 local and an 2a02 global ipv6 address on boot, but both are similar to the MAC address of the network adapter. I can use iPerf in a linux vm or container both in client and server mode over ipv6 and ping ipv6.google.com, so its working in general. But I only got this working by importing a configfile with an ips-array(dhcp, addrconf) into vmadm on creation.
-
TheTim0Nat0r
I would like to be able to provision a new vm with a static and unique ipv6 address through the api.
-
nbjoerg
right, those would be slaac
-
nbjoerg
they are derived from the mac
-
TheTim0Nat0r
bahamat: I am using CoaL in VMWare workstation. If I manage to enable the plugin(which enables allow_ip_spoofing) you mentioned, how will I be able to communicate with cloud-init to get it to work? Could I , for example, add the cloud config(json formatted ofc) to the metadata input key in a CreateMachine call to CloudAPI?
-
bahamat
Put your cloud config in the user-script.
-
TheTim0Nat0r
Which user-script do you mean?
-
bahamat
How are you provisioning?
-
TheTim0Nat0r
I am provisioning through vmadm in SmartOS for testing purposes, but I am trying to find a way to integrate some kind of ipv6 provisioning into this platform we work with, which uses rest api to let Triton provision instances.
-
bahamat
In the vm json, customer_metadata.user-script
-
bahamat
Add your cloud-config to that key.
-
bahamat
Honestly, I wouldn't use cloud-init at all for this.
-
bahamat
I would use the plugin that I gave you, then I would do like customer_metadata.static_inet6
-
bahamat
Then a user-script that's a shell script to plumb up the interface.
-
bahamat
And turn on router advertisements so that you don't have to explicitly define the gateway.
-
bahamat
Then you can provision from the api with the cli tool
-
bahamat
It would be something like this:
-
bahamat
triton create ubuntu-22.04 sample-1G --name web0 -m static_inet --script path/to/user-script.sh
-
bahamat
Then your user-script.sh would do like 'ip addr add $int $ip6' (or whatever syntax)
-
bahamat
Or you could add a custom systemd service to manage the v6 address.
-
bahamat
That's what I do with SmartOS instances:
github.com/bahamat/smartos-ipv6-smf
-
bahamat
I have to leave, but I'll be back in about 2h if you want more help with this.
-
bahamat
And if you're considering deploying this in a production environment for a business, I strongly urge you to contact us. We can help you make sure your POC is successful.
-
TheTim0Nat0r
Thanks, I will look into these two suggestions in the meantime.
-
pjustice
jperkin: I added a note to triton/pkgsrc issue 230