UNSOLVED

richard100030

updated

4 years ago

R

richard100030

1 Rookie

•

14 Posts

0

633

August 3rd, 2022 09:00

Can I use Ansible or CLI to finish the initialization of Unity VSA?

Hi all,

I'm learning for Unity. I use Ansible to deploy a new Unity VSA. But I don't want to use Unisphere UI to finish the initial configuration. Can I use Ansible or CLI(uemcli or svc_) to finish it?

I check [Ansible Modules for Dell Technologies Uni](https://github.com/dell/ansible-unity) and it seems not to do for this scope.

Could you show me the path? Thank you.

  • DELL-Josh Cr

    Community Manager

    •

    9790 Posts

    •

    45217 Points

    515

    0

    Posted August 4th, 2022 07:00

    Hi,

    Thanks for your question about Unity VSA install. What has completed so fa? The install guide only provides a method for using Unisphere. https://dell.to/3oQ9mjT

     

     

    Let us know if you have any additional questions.

  • richard100030

    1 Rookie

    •

    14 Posts

    476

    0

    Posted August 10th, 2022 00:00

    Thank you for your reply.

    But I really wish that I can use CLI or Ansible to control the Dell EMC Unity for configuration and management. Now I can deploy Unity VSA via Ansible and I can SSH to the Dell EMC Unity after enabling SSH service by 'svc_ssh --enable`.
    I also find out some svc_commands and I seem to be able to use these svc_commads to initialize my Unity VSA or uemcli.

    Last week, I use `svc_shutdown --system-halt --force` to shut down the VSA  with SSH.


    Problems to be solved:

    - how to get System UUID via CLI/Ansible

    - request a license via CLI/Ansible

    - install a language package via CLI/Ansible

    Studying and Learning ......

    螢幕快照 2022-08-10 14-53-58.png

     

  • DELL-Josh Cr

    Community Manager

    •

    9790 Posts

    •

    45217 Points

    471

    0

    Posted August 10th, 2022 06:00

    The best way to request new features is through sales. If you figure it out let us know so it can help others who want to do it too.

  • richard100030

    1 Rookie

    •

    14 Posts

    461

    0

    Posted August 11th, 2022 18:00

    Thank you for your support.

    I quit running Unisphere Initial Configuration Wizard to execute the first-time configuration. I'll try to use `uemcli` to finish this target.

  • richard100030

    1 Rookie

    •

    14 Posts

    391

    0

    Posted September 6th, 2022 20:00

    Now I can use the following `uemcli` to finish some steps of the initial configuration.

    Still learning......



    $ uemcli -sslPolicy accept -noHeader -d ${unity} -u ${admin_user} -p ${admin_pass} /sys/eula set -agree yes

    $ uemcli -sslPolicy accept -noHeader -d ${unity} -u ${admin_user} -p ${admin_pass} /user/account -id user_admin set -passwd ${admin_new_pass} -oldpasswd ${admin_pass}

    $ uemcli -sslPolicy accept -noHeader -d ${unity} -u ${admin_user} -p ${admin_new_pass} /service/user set -passwd ${svc_new_pass} -oldpasswd ${svc_pass}

    $ uemcli -sslPolicy accept -noHeader -d ${unity} -u ${svc_user} -p ${svc_new_pass} /service/ssh set -enabled yes