Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing Veeam Backup & Replication v12 #43

Closed
bharath8671 opened this issue Apr 10, 2023 · 4 comments
Closed

Error when installing Veeam Backup & Replication v12 #43

bharath8671 opened this issue Apr 10, 2023 · 4 comments

Comments

@bharath8671
Copy link

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

  • name: Veeam Backup & Replication Install
    hosts: all
    tasks:
    • name: Copy Veeam ISO file to Windows
      copy:
      src: "/XXXX/VeeamBackup&Replication_12.0.0.1420_20230209.iso"
      dest: "C:\Downloads\"

    • include_role:
      name: veeamhub.veeam.veeam_vas
      tasks_from: vbr_install
      vars:
      version: "12"
      destination: "C:\Downloads\"
      destination_iso_file: "VeeamBackup&Replication_12.0.0.1420_20230209.iso"
      sql_install_username: "sql_install"
      sql_install_password: "PassW0rd!"
      sql_service_username: "svc_sql"
      sql_service_password: "PassW0rd!"
      sql_username: "sa"
      sql_password: "PassW0rd!"

Screenshots

image

Operating system used for Veeam Installation

  • OS: Windows server 2019

Could anyone solve this issue

@carceneaux
Copy link
Contributor

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.

@carceneaux carceneaux pinned this issue Apr 10, 2023
@carceneaux carceneaux changed the title Ansible playbook gets error while installing community edition v12 with or without ISO Error when installing Veeam Backup & Replication v12 Apr 10, 2023
@bharath8671
Copy link
Author

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
Copy link

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
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants