Hi All, if i start viya3.5 installation in this way "ansible-playbook site.yml" as root user it's fails, because "sda2" it's too small, i need to install as root user SAS viya3.5 on external disk "data-data_lv " instead "sda2", how can I do that?
Tnx in advance for further replies.
Here more information:
List disks:
[root@test-interni sas]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 208K 16G 1% /dev/shm
tmpfs 16G 18M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 30G 6.5G 24G 22% /
/dev/mapper/data-data_lv 252G 33G 207G 14% /opt/sas
/dev/sdb1 148G 61M 140G 1% /mnt/resource
tmpfs 3.2G 0 3.2G 0% /run/user/1000
[root@test-interni sas_viya_playbook]# ansible-playbook system-assessment.yml
........
PLAY RECAP ****************************************************************************************************************************************************
deployTarget : ok=129 changed=9 unreachable=0 failed=0 skipped=65 rescued=0 ignored=0
localhost : ok=10 changed=0 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0
If this is a new install why aren't you choosing the latest Viya 4 release? There have been so many improvements since Viya 3.5.
Hi, thx for your answer and usufull suggest. I changed this parameter as here below:
# Recommended Ansible version MAXIMUM_RECOMMENDED_ANSIBLE_VERSION: "2.14" # DEPLOYMENT_LABEL sets the datacenter for the Consul server. In addition, any # local Consul agents will use DEPLOYMENT_LABEL to become members of a # multi-machine deployment. A valid label can contain only lowercase characters, # numeric characters, and hyphens. DEPLOYMENT_LABEL: "{{ DEPLOYMENT_ID }}" # run deployment assessment during playbook execution VERIFY_DEPLOYMENT: false
I need to install viya 3.5, single tenant, on external partition disk (/opt/sas), here below which one, usually when i start installation the root partition fill up at 100% :
/dev/sda2 30G 6.5G 24G 22% /
/dev/mapper/data-data_lv 252G 33G 207G 14% /opt/sas
More information about ansible version:
[root@test-interni tmp]# ansible --version [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Nov 14 2023, 16:29:52) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]. This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6. from cryptography.exceptions import InvalidSignature ansible [core 2.11.12] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.6/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.6.8 (default, Nov 14 2023, 16:29:52) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] jinja version = 3.0.3 libyaml = True
So, after this modify i tried to execute "ansible-playbook site.yml" as root user and now i get this java error:
TASK [sas-requirements-java : Install the SAS Java configuration] ******************************************************************************** skipping: [deployTarget] TASK [sas-requirements-java : Set SAS_JAVA_HOME] ********************************************************************************* fatal: [deployTarget]: FAILED! => {"changed": false, "msg": "Destination /opt/sas/viya/config/etc/sysconfig/sas-javaesntl/sas-java does not exist !", "rc": 257} NO MORE HOSTS LEFT ********************************************************************************* PLAY RECAP ********************************************************************************* deployTarget : ok=137 changed=16 unreachable=0 failed=1 skipped=68 rescued=0 ignored=0 localhost : ok=8 changed=0 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0
Could you please have more suggest for me?
Tnx in advance.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.