Completely restructure the daemon code to move the 4 discrete daemons into a single daemon that can be run on every hypervisor. Introduce the idea of a static list of "coordinator" nodes which are configured at install time to run Zookeeper and FRR in router mode, and which are allowed to take on client network management duties (gateway, DHCP, DNS, etc.) while also allowing them to run VMs (i.e. no dedicated "router" nodes required).
		
			
				
	
	
		
			17 lines
		
	
	
		
			443 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			443 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| # Parallel Virtual Cluster virtualization daemon unit file
 | |
| [Unit]
 | |
| Description = Parallel Virtual Cluster node daemon
 | |
| After = network-online.target libvirtd.service zookeeper.service
 | |
| 
 | |
| [Service]
 | |
| Type = simple
 | |
| WorkingDirectory = /usr/share/pvc
 | |
| Environment = PYTHONUNBUFFERED=true
 | |
| Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcd.conf
 | |
| ExecStart = /usr/share/pvc/pvcd.py
 | |
| KillSignal = SIGINT
 | |
| Restart = on-failure
 | |
| 
 | |
| [Install]
 | |
| WantedBy = multi-user.target
 |