DevOps Megathread: what you need and how we can help!
-
Hello everyone,
We’re gathering all your DevOps needs in this thread to ensure our DevOps tools (Terraform, Packer, Pulumi, Ansible, and more) support what matters to you.
Don’t hesitate to share what you need! If it’s not available yet, we’ll do our best to make it happen.
Looking forward to your input
-
-
@olivierlambert wow, We'll surely ask many things in this thread. Thank you.
-
Hi, there,
You would need an ansible XOA provider to be able to create virtual machines with a template like vmware does:- name: clone VM vmware_guest: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: "{{ vcenter_validate_certs }}" datacenter: "{{ vcenter_datacenter }}" cluster: "{{ vcenter_cluster }}" name: SRV-NAMEVM folder: FOLDERTEST template: "{{ vm_template }}" networks: - name: LAN NETWORK ip: "{{ new_ip }}" netmask: "{{ netmask }}" gateway: "{{ gateway }}" domain: "{{ domain }}" wait_for_ip_address: True customization: hostname: "{{ hostname }}" domain: "{{ domain }}" dns_servers: - "{{ dns1 }}" - "{{ dns2 }}" dns_suffix: - "{{ domain }}" state: poweredon
Same for recovering and deleting the VM from ansible :
- name: INFO VM vmware_guest_info: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: "{{ vcenter_validate_certs }}" datacenter: "{{ vcenter_datacenter }}" name: SRV-NAMEVM delegate_to: localhost register: vm_info
- name: Shutdown VM... vmware_guest: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: "{{ vcenter_validate_certs }}" datacenter: "{{ vcenter_datacenter }}" name: SRV-NAMEVM state: poweredoff - name: delete VM... vmware_guest: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: "{{ vcenter_validate_certs }}" datacenter: "{{ vcenter_datacenter }}" name: SRV-NAMEVM state: absent
-
@kiu Thanks, it's in our backlog. We'll update you when it would move to planned tasks.
-
The existing technical documentation is great. An operations guide would be helpful. Here are a couple of chapter ideas:
-
Best practices for setting up your environment
(eg, odd number of hosts, isolate management network, treat your hosts like cattle, etc) -
Preparing for disasters (eg, requirements for restoring pool metadata, how to recover a single VM if your pool data is gone, etc)
-
-
Hello everyone,
i just got the news email for the devops team.
recently used the backup replication offsite method for only the full backups (enable option). But still this is not handy, because i need only the last 3 full backups to go offsite.
So to do this, i have created a separate backup job , weekly, full only, retention 3 on another backup repository, so i can choose this repository for the backup replication offsite job.XOA is great ! , i'm just saying there is room for improvement on the options of the offsite backups.