Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Mastering Proxmox
  • Toc
  • feedback
Mastering Proxmox

Mastering Proxmox

By : Ahmed
4.2 (5)
close
Mastering Proxmox

Mastering Proxmox

4.2 (5)
By: Ahmed

Overview of this book

Proxmox is an open source server virtualization solution that has enterprise-class features to manage virtual machines, to be used for storage, and to virtualize both Linux and Windows application workloads. You begin with refresher on the advanced installation features and the Proxmox GUI to familiarize yourself with the Proxmox VE hypervisor. You then move on to explore Proxmox under the hood, focusing on the storage systems used with Proxmox. Moving on, you will learn to manage KVM Virtual Machines and Linux Containers and see how networking is handled in Proxmox. You will then learn how to protect a cluster or a VM with a firewall and explore the new HA features introduced in Proxmox VE 4 along with the brand new HA simulator. Next, you will dive deeper into the backup/restore strategy followed by learning how to properly update and upgrade a Proxmox node. Later, you will learn how to monitor a Proxmox cluster and all of its components using Zabbix. By the end of the book, you will become an expert at making Proxmox environments work in production environments with minimum downtime.
Table of Contents (16 chapters)
close
15
Index

What you need for this book

Since we will be working with Proxmox clusters throughout the book, it will be extremely helpful to have a working Proxmox cluster of your own. A very basic cluster of two to three nodes will be fine. The steps should be performed as listed in a way that it prepares the system environment to be able to test the codes of the book:

  1. Proxmox VE:
    • Download ISO, then burn a disk from the image.
    • Load CD/DVD into drive and power up the node.
    • Press Enter at the prompt boot to begin installation.
    • The entire installation process is graphical with some text boxes to fill in. When prompted, enter a new password, select country, IP address, and netmask, gateway. IP address, netmask, and gateway should be based on the network the server is being installed on.
    • When prompted, eject the disk and reboot to finish installation.
    • Follow these steps for the other Proxmox node.
    • Use a browser and enter the link in this format to go to the Proxmox GUI, https://<node_ip_address>:8006. When prompted, enter the user name, root, and password, the same one created during installation.
    • Click OK when prompted with nonsubscription message box.
    • Use Putty software to access Proxmox Node through SSH. Use <node_ip_address> as host and port 22.
    • CEPH requires a separate network to operate correctly. Here, we will configure the second network interface card for all Proxmox nodes with a different subnet. Do this on all nodes:
      	# nano /etc/network/interfaces
      	auto eth2
      	iface eth2 inet static
      	address 192.168.20.1
      	netmask 255.255.255.0
      
    • Use the preceding format for other two nodes and use IP address 192.168.20.2 and 192.168.20.3, respectively.
    • Install CEPH on all Proxmox nodes by running this command:
      	
      # pveceph install –version firefly
      
    • Create the initial CEPH cluster from one node only:
      	# pveceph init –network 192.168.20.0/24
      
    • Create the first CEPH monitor from the first Proxmox node:
      	# pveceph createmon
      
    • Create other two monitors from the Proxmox GUI | CEPH | Mon menu system.
    • Create OSDs from the Proxmox GUI | CEPH | OSD menu. Select a drive other than the drive used to install Proxmox OS.
  2. FreeNAS:
    • Download the FreeNAS ISO file from their website and prepare a disk with the image file.
    • Plug in an USB flash drive. Load the CD into the drive and power up the node.
    • FreeNAS also has graphical installation. Simply, press Enter to go through every prompt. FreeNAS does not require any text box information.
    • Select Install/upgrade when prompted.
    • Select the USB flash drive to install FreeNAS when prompted.
    • Eject the installation disk and select Reboot when prompted at the end of installation process.
    • If the existing network has a DHCP server available, the FreeNAS node will automatically pick up an IP address. You will find the assigned IP address at the prompt after reboot is completed.
    • Use a browser and enter the IP address to access FreeNAS web management GUI.
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete