Rubrik Backup Service (RBS) is the core service responsible for performing and managing backup and recovery operations on a Rubrik node. It coordinates communication between the Rubrik cluster and the protected workloads (VMware, Hyper-V, databases, file systems, etc.).
---
- name: (Red Hat) Download the Rubrik Connector
get_url:
url: "https://{{ rubrik_cluster_ip }}/connector/rubrik-agent.x86_64.rpm"
dest: /tmp/rubrik-agent.x86_64.rpm
validate_certs: no
force: no
- name: (Red Hat) Install the Connector
yum:
name: /tmp/rubrik-agent.x86_64.rpm
state: present
- name: (Red Hat) Start and Enable the Rubrik Services (RHEL 7+)
systemd:
name: rubrikagents
state: started
enabled: yes
when: ansible_distribution_major_version|int > 6
For Windows
---
- name: (Windows) Create a Temporary Download Location
win_file:
path: C:\Temp
state: directory
- name: (Windows) Download the Rubrik Connector
win_get_url:
url: "https://{{ rubrik_cluster_ip }}/connector/RubrikBackupService.zip"
dest: C:\Temp\RubrikBackupService.zip
validate_certs: no
force: no
- name: (Windows) Unzip the Connector Archive
win_unzip:
src: C:\Temp\RubrikBackupService.zip
dest: C:\Temp\
- name: (Windows) Install the Rubrik Connector
win_package:
path: C:\Temp\RubrikBackupService.msi
state: present
creates_service: 'Rubrik Backup Service'
wait: yes
- name: (Windows) Set Logon for the Rubrik Connector Service
win_service:
username: "{{ ansible_user }}"
password: "{{ ansible_password }}"
name: 'Rubrik Backup Service'
Powershell
Get-Service -Name "Rubrik Backup Service"
Start-Service -Name "Rubrik Backup Service"
Stop-Service -Name "Rubrik Backup Service"
No comments:
Post a Comment