You created the 'network' vlan, but you didn't show assigning it to any specific ports. It's hard to follow this because it seems like some critical stuff is left out. Like how are you connecting (i'm assuming) from your desktop workstation to the maas server device which you have put on a different vlan?
That was interesting to watch not that I will ever use it. Kinda reminds me of the Enterprise Version of Norton Ghost when I worked for a Configuration Company many many years ago... We built the computer, then hooked a network cable, booted the computer with a floppy disk, when the computer was done it shut down and we took out the disk and unhooked all the wires and it went to shipping. We never seen what was on the image. Thanks Jay! LLAP
Further down the line right next to pfsense I would add whonix to make all traffic from the network go out in the tor network and at the exit endpoint some VPN for surfing convenience, with an option to go outside the tor after "push". Keeping in mind, however, that malware once it gets into the tor network is harmless, it doesn't know what to do when it hasn't found a way out, so it's worth catching early for analysis. This is how I would see it in outline for further construction network🖖
That’s awesome. This is useful for managing a bunch of physical hosts from the ground up. Sort of like a cloud-init but for physical devices. Question: can you set the devices to always pxe boot and let maas continue the boot process if nothing needs to be reinstalled or modified? It might be good to keep that manual step out of the way.
Yes. You set network boot priority higher than disk so that the system always boots to PXE and then to your installed OS. This way the system can be reinstalled later from MAAS without physical intervention.
This is a great video, and it comes at a good time for me, as I've recently been looking into MAAS. I do have a question and it's totally out of the scope of this video. In Pfsense with various ports available what's the benefit to having everything on one port, instead of building a lagg with various ports and having all the interfaces use the lagg instead? Is using a single port just personal preference, or is it best practice for this setup? Genuinely curious. Thanks for all the content you provide us. I love your channel and I look forward to every video! Keep up the great work!
imo depends on what your internet provider delivers, if below 100 megabit i would keep the network cards in pfsense apart unless the pfsense is used as the main switch and needs to transfer gigabytes all the time, using 1 port for everything is asking for trouble, 1 config error and all networking could be down, make config backups before changing anything and document at least the basic settings so you can setup 1 port and then use the web interface.
Thank for the Ubuntu tip on the end, I could not ssh into it without. But somehow i can't activate the GUI, with sudo systemctl set-default graphical.target. Command is acceoted but no GUI, is there something wrong with that Maas image ?
hi Jay , how were able to get internet when you change to static ip , reason , by the time of install OS there is no MAAS . if i change to static IP , threre is not internet to get the packages during installation , but in your case you have internet after changing to Static IP , i had to go update the netplan because of that , just curious
Help me . is it possible to install vs code during pxe boot ubuntu os installation. just so avoiding large number of systems to install the vscode in each systems manually.
Hi Jay. Thanx for a great video. I am unfamiliar with maas and was just wondering if it's possible to boot many nodes via pxe. i.e. setup a pxe boot server to run a live OS and then boot each node from this pxe boot server. Nothing will be installed on the nodes. They will have no disks, and they will get an ip address from a dhcp server and then boot into the OS installed on the pxe boot server. I'm not sure if this is what maas can do. Thank you
very cool. But only ubuntu images? it would be very cool if it could install raspian on raspberry pi or other OS from MAAS. That would be nice to PXE windows or others OS
On the MAAS server, shouldn't the dhcp server be restricted to VLAN 900 to prevent a conflict with the dhcp server on the pfsense box? Fabric-0 on the MAAS said untagged, or am I missing something?
ปีที่แล้ว
The isolaton to prevent DHCP outside the VLAN 900. It was kept off on the first step on MAAS installation
From my understanding they are two completely different solutions to two completely different problems. MAAS makes you able to install and manage OSs without manual interventions, while on the other hand, hypervisor creates virtual machines on top of your metal. Not only that, but you can basically create your own cloud and control it with the hypervisor. Also note that since you are booting over the network, it means you could deploy servers which are thousand kilometers away from you using MAAS!
@@СтаниславПетров-л4с I guess all that can be achieved by proxmox as well. You can mention a URL and it gets downloaded and installed without manual intervention, over thousands of kilometres apart. I don't, however, understand the own cloud part. Isn't that what we achieve with virtualization/proxmox as well?
@@therobust proxmox itself is operating system and maas is what makes you able to deploy that OS on the machine. In other words it gives you tha ability to provision and configure the machine remotely whereby proxmox gives you the ability on already provisioned machine to create and manage virtual machines. So its a matter of order which comes first and which comes second. In that case, in order to be able to create VMs you first need Proxmox right?
@@СтаниславПетров-л4с correct, we need proxmox first to provision VMs. But isn't that the case with Ubuntu MAAS? Won't we need it on the hardware first?
@@therobust exactly, we need a way to remotely deplo os on machines we dont have physical access to. Thats the peoblem maas solves. Next its up to you weather you want proxmox or xen server or ubuntu or debian. In the end of the day to operate vms you need os and maas is what makes you able to remotely deploy os.
Hey Jay, thank you so much for sharing and as always in great detail. Will give a try to figure out what else MAAS has to offer other than an existing regular PXE config using Pfsense dhcp with an external TFTP sever that is my current working PXE solution btw and works just fine booting netboot images. Lmk if you already gone through that comparison and appreciate if you can share. Thanks a lot!
It's quite clear now the advantages of using MAAS as it enables a way to abstract metal deployments and exposes an api to do so with automation and programmatically. Just read the docs 🙂 thanks once again!
This SSH Key is kicking my butt, I tried putty, SSH on Ubuntu, and Windows CMD/Powershell. I am able to get it working but after a reboot I get Permission denied (publickey). I have been doing this over and over for like 3 weeks using 4 computers and it's killing me! I am trying my best to not say Maas is a Peace of S++t. Please help me get this working and thanks!!!
For someone adding an extra VLAN to their pfsense for the first time, didn't you miss that the link between the switch and the LAN port on pfsense needs to be a trunk?
Hey! Great content. Is there a way to deploy operating systems with a custom image which has wi-fi passwords, software and certain pre-defined settings like user accounts and roles & permissions? Thanks.
This had me totally excited until I realized that it can't install anything other than Ubuntu or CentOS. Unless I'm missing something. None of my systems run that bare metal.
You created the 'network' vlan, but you didn't show assigning it to any specific ports. It's hard to follow this because it seems like some critical stuff is left out. Like how are you connecting (i'm assuming) from your desktop workstation to the maas server device which you have put on a different vlan?
Thanks, this gave me a bit of confidence for my first foray into MAAS which I'm considering to deploy CEPH on top of Ubuntu.
Awesome tutorial! Just got this installed in my development stack and is working perfectly.
Thanks so much for this. I appreciate that you carefully explain each step so that I don't get lost.
That was interesting to watch not that I will ever use it. Kinda reminds me of the Enterprise Version of Norton Ghost when I worked for a Configuration Company many many years ago... We built the computer, then hooked a network cable, booted the computer with a floppy disk, when the computer was done it shut down and we took out the disk and unhooked all the wires and it went to shipping. We never seen what was on the image.
Thanks Jay!
LLAP
Thanks Jay!, This was a great tutorial and something I think I will try out!
SO GREAT TO FIND SUCH A COMPRENSIF TUTO THANKS A LOT
This was a great video Jay. Any chance that you could do another video on MAAS but with LXC containers integrated?
I learned networking more than MAAS!
🤣🤣 good point
So cool! Can MaaS do other OSs besides just Ubuntu images?
Yes, but you have to subscribe to Ubuntu Advantage.
Yes any
Why have not been using this. Thank you for this tutorial. 👍
Further down the line right next to pfsense I would add whonix to make all traffic from the network go out in the tor network and at the exit endpoint some VPN for surfing convenience, with an option to go outside the tor after "push". Keeping in mind, however, that malware once it gets into the tor network is harmless, it doesn't know what to do when it hasn't found a way out, so it's worth catching early for analysis. This is how I would see it in outline for further construction
network🖖
Jay, you make my brain hurt. But in a good way. Good job.
super useful guide, thank you!
That’s awesome. This is useful for managing a bunch of physical hosts from the ground up. Sort of like a cloud-init but for physical devices.
Question: can you set the devices to always pxe boot and let maas continue the boot process if nothing needs to be reinstalled or modified? It might be good to keep that manual step out of the way.
Yes. You set network boot priority higher than disk so that the system always boots to PXE and then to your installed OS. This way the system can be reinstalled later from MAAS without physical intervention.
@@amosgiture ty
This is a great video, and it comes at a good time for me, as I've recently been looking into MAAS.
I do have a question and it's totally out of the scope of this video. In Pfsense with various ports available what's the benefit to having everything on one port, instead of building a lagg with various ports and having all the interfaces use the lagg instead? Is using a single port just personal preference, or is it best practice for this setup? Genuinely curious. Thanks for all the content you provide us. I love your channel and I look forward to every video! Keep up the great work!
imo depends on what your internet provider delivers, if below 100 megabit i would keep the network cards in pfsense apart unless the pfsense is used as the main switch and needs to transfer gigabytes all the time,
using 1 port for everything is asking for trouble, 1 config error and all networking could be down, make config backups before changing anything and document at least the basic settings so you can setup 1 port and then use the web interface.
Thank for the Ubuntu tip on the end, I could not ssh into it without. But somehow i can't activate the GUI, with sudo systemctl set-default graphical.target. Command is acceoted but no GUI, is there something wrong with that Maas image ?
hi Jay , how were able to get internet when you change to static ip , reason , by the time of install OS there is no MAAS .
if i change to static IP , threre is not internet to get the packages during installation , but in your case you have internet after changing to Static IP , i had to go update the netplan because of that , just curious
Great video, just gave me lots of new options. THNX.
Help me . is it possible to install vs code during pxe boot ubuntu os installation. just so avoiding large number of systems to install the vscode in each systems manually.
Hi Jay. Thanx for a great video. I am unfamiliar with maas and was just wondering if it's possible to boot many nodes via pxe. i.e. setup a pxe boot server to run a live OS and then boot each node from this pxe boot server. Nothing will be installed on the nodes. They will have no disks, and they will get an ip address from a dhcp server and then boot into the OS installed on the pxe boot server.
I'm not sure if this is what maas can do.
Thank you
Great Video, very informative...plz do video on FOG SERVER . Thanks
Now trying to add Juju to MAAS to automate deployment of more complicated setups such as Kubernetes or Openstack.
Great tutorial. When MAAS is deploying Ubuntu to the laptop, do you still have to select the install options at the laptop itself?
No
The permanent OS of the VM image is kept on MAAS. The laptop is just running OS on RAM via PXE. Keeps it on mind.
hi, can you please put video about automation installation using ks file of ubuntu 20.04.5 through ubuntu 20.04.5 PXE server(Both Focal Fossa)
very cool. But only ubuntu images? it would be very cool if it could install raspian on raspberry pi or other OS from MAAS. That would be nice to PXE windows or others OS
Great idea. But I need just plain PXE boot to "install" Live CD/.iso images to my client machine (s) . Can you do a video on that?
I don't think it will achieve MAAS adoption, but it still is a great tool! Sorry, pun totally intended 😂
What if you don't want the randomly assigned hostname?
So does MAAS install ubuntu to a local disk, or is it a ram only OS? Could this be used to boot metal to ISCSI?
I think that the conception is to use only ram. The image is keep stored on MAAS server image.
very cool! thank you for another great video!
very informative video for newbie. could you a windows install or point me in the direction to read on it. thanks!
How do you SSH to your MAAS Server device from your workstation so you can set it up when it is on a different VLAN?
if you are on default VLAN and the default can access the VLAN 900 you can login. Otherwise you gotta make this adjustement
On the MAAS server, shouldn't the dhcp server be restricted to VLAN 900 to prevent a conflict with the dhcp server on the pfsense box? Fabric-0 on the MAAS said untagged, or am I missing something?
The isolaton to prevent DHCP outside the VLAN 900. It was kept off on the first step on MAAS installation
Very nice video, THX.
Can you create a video on using Maas and juju to deploy openstack? Also wazuh.
Can you try to use πkvm with MaaS, that would be amazing, thx!
What's the advantage of using MAAS over hypervisor like proxmox?
From my understanding they are two completely different solutions to two completely different problems. MAAS makes you able to install and manage OSs without manual interventions, while on the other hand, hypervisor creates virtual machines on top of your metal. Not only that, but you can basically create your own cloud and control it with the hypervisor. Also note that since you are booting over the network, it means you could deploy servers which are thousand kilometers away from you using MAAS!
@@СтаниславПетров-л4с I guess all that can be achieved by proxmox as well. You can mention a URL and it gets downloaded and installed without manual intervention, over thousands of kilometres apart. I don't, however, understand the own cloud part. Isn't that what we achieve with virtualization/proxmox as well?
@@therobust proxmox itself is operating system and maas is what makes you able to deploy that OS on the machine. In other words it gives you tha ability to provision and configure the machine remotely whereby proxmox gives you the ability on already provisioned machine to create and manage virtual machines. So its a matter of order which comes first and which comes second. In that case, in order to be able to create VMs you first need Proxmox right?
@@СтаниславПетров-л4с correct, we need proxmox first to provision VMs. But isn't that the case with Ubuntu MAAS? Won't we need it on the hardware first?
@@therobust exactly, we need a way to remotely deplo os on machines we dont have physical access to. Thats the peoblem maas solves. Next its up to you weather you want proxmox or xen server or ubuntu or debian. In the end of the day to operate vms you need os and maas is what makes you able to remotely deploy os.
Hey Jay, thank you so much for sharing and as always in great detail.
Will give a try to figure out what else MAAS has to offer other than an existing regular PXE config using Pfsense dhcp with an external TFTP sever that is my current working PXE solution btw and works just fine booting netboot images. Lmk if you already gone through that comparison and appreciate if you can share. Thanks a lot!
It's quite clear now the advantages of using MAAS as it enables a way to abstract metal deployments and exposes an api to do so with automation and programmatically. Just read the docs 🙂 thanks once again!
I am trying this in a VM but i never get past [ | ]initializing database?
gotta enable virtualization on VM setup
This SSH Key is kicking my butt, I tried putty, SSH on Ubuntu, and Windows CMD/Powershell. I am able to get it working but after a reboot I get Permission denied (publickey). I have been doing this over and over for like 3 weeks using 4 computers and it's killing me! I am trying my best to not say Maas is a Peace of S++t. Please help me get this working and thanks!!!
Awesome!!!
For someone adding an extra VLAN to their pfsense for the first time, didn't you miss that the link between the switch and the LAN port on pfsense needs to be a trunk?
Your artwork is askew
Hey! Great content. Is there a way to deploy operating systems with a custom image which has wi-fi passwords, software and certain pre-defined settings like user accounts and roles & permissions? Thanks.
use Juju to roll out images with things you want
@@hwy9nightkid thanks I'll try it out.
Use packer
@@jamaicauptown isn't it for cloud only? I would like to load it on multiple desktops.
This had me totally excited until I realized that it can't install anything other than Ubuntu or CentOS. Unless I'm missing something. None of my systems run that bare metal.
The website says it can install ESXI and windows also..
You can deploy custom images now :)
@d3stinYwOw that is wonderful news thank you very much. Wow 2 years ago.
@@pgoof78 You're welcome. I don't have such setup like Jay have to have MAAS working, but will try again. :D
Ja dann koordiniert das. Wir haben alle die Schnauze voll von dem Drama.