VeeamHub / veeam-ansible

Sample code for deploying and configuring various Veeam solutions using Ansible.
GNU Lesser General Public License v3.0
47 stars 18 forks source link

Error when installing Veeam Backup & Replication v12 #43

Closed bharath8671 closed 1 year ago

bharath8671 commented 1 year ago

Describe the bug When I run the playbook using roles from VeeamHub and used playbook with ISO download and installing community version of veeam and with out ISO download and installing community edition of Veeam Backup and Replication

To Reproduce Steps to reproduce the behavior: Installled roles - VeeamHub from ansible-galaxy used the playbook from github

Screenshots

image

Operating system used for Veeam Installation

Could anyone solve this issue

carceneaux commented 1 year ago

Thanks for including a copy of your playbook.

As shown in the playbook samples, your sql_username needs to be postgres.

This is because version 12 installs a local PostgreSQL instance instead of SQL Express. The default username for PosgreSQL is postgres.

If this does not resolve your issue, feel free to reopen.

bharath8671 commented 1 year ago

Thank you for your help I'm using this code from the repo - https://github.com/VeeamHub/veeam-ansible/tree/master/roles/veeam_vas#veeam-backup--replication-community-edition-install-without-iso-download which is why I get that error I think.

kbreit-insight commented 1 year ago

I am seeing this error even though I am specifying postgres. This is copied from the documentation so the credentials should look familiar. Windows 2022 Server and Veeam 12.

- name: Install Veeam Backup & Recovery
  hosts: all
  tasks:
    - include_role:
        name: veeamhub.veeam.veeam_vas
        tasks_from: vbr_install
      vars:
        version: "12"
        iso_download: true
        sql_install_username: "sql_install"
        sql_install_password: "ChangeM3!"
        sql_service_username: "svc_sql"
        sql_service_password: "ChangeM3!"
        sql_username: "postgres"
        sql_password: "ChangeM3!"
        license: true
        source_license: licenses/vrb.lic
        iso_download: false
        # https://docs.ansible.com/ansible/latest/user_guide/playbooks_vault.html#single-encrypted-variable
    - name: Applying tuning on a local PostgreSQL server running as the VBR DB
      veeamhub.veeam.veeam_vbr_set_postgres_database_server_limits:
carceneaux commented 1 year ago

@kbreit-insight You're most likely experiencing a different error. Please check the log specified in the error for more details.

Using the default folder it's: C:\install\logs\BackupServer. log

Looking at your playbook, your source_license parameter is most likely to blame. It needs to be a fully qualified path.

For example:

source_license: "/root/ansible/license.lic"

Please open a new issue if you require further assistance.