Options

vMA cli Issue...

JohnnyBigglesJohnnyBiggles Member Posts: 273
I was able to successfully install the vMA appliance and update it in my vSphere environment, then added servers to it (2 hosts and the VMware vCenter Server appliance). I ran the 'vifp listservers' command and it successfully lists the 3 that I added. The next step, as I understand is to add a target, so when I ran the command 'vifptarget -s <vCenter Server IP>', it returns '-bash: vifptarget: command not found'. I read somewhere that you can change the directory to '/opt/vmware/vma/bin' but when I did I got the same error. What can I do here? Anyone else have this issue?

Comments

  • Options
    blargoeblargoe Member Posts: 4,174 ■■■■■■■■■□
    Do you see the vifptarget binary in the location '/opt/vmware/vma/bin' ?
    IT guy since 12/00

    Recent: 11/2019 - RHCSA (RHEL 7); 2/2019 - Updated VCP to 6.5 (just a few days before VMware discontinued the re-cert policy...)
    Working on: RHCE/Ansible
    Future: Probably continued Red Hat Immersion, Possibly VCAP Design, or maybe a completely different path. Depends on job demands...
  • Options
    JohnnyBigglesJohnnyBiggles Member Posts: 273
    How can I check? This is the output:
    login as: vi-admin
    Welcome to vSphere Management Assistant
    vi-admin@192.168.xxx.xxx's password:
    Last login: Thu May  2 07:05:55 2013 from 192.168.xxx.xxx
    Welcome to vMA
    vi-admin@localhost:~> cd /opt/vmware/vma/bin/
    vi-admin@localhost:/opt/vmware/vma/bin> ls
    completion_vifp        resxtopWrapper        vmaclean
    completion_vifptarget  verifyuuid            vma-system-control.pl
    completion_vifs        vifp                  vmatargetcon
    esxcliWrapper          vifpd                 vmware-vma
    firstboot              vifptarget            vmware-vma-cert-install.pl
    migrateconfig          vifsTab               vmware-vma-netconf.pl
    migratecredstore       vitargetenumerate.pl  vmware-watchdog
    repLine.pl             vitargetquery.sh
    vi-admin@localhost:/opt/vmware/vma/bin> vifptarget --help
    -bash: vifptarget: command not found
    vi-admin@localhost:/opt/vmware/vma/bin>
    
    
    
  • Options
    JohnnyBigglesJohnnyBiggles Member Posts: 273
    This is how I tried it originally:
    login as: vi-admin
    Welcome to vSphere Management Assistant
    vi-admin@192.168.xxx.xxx's password:
    Last login: Thu May  2 07:05:55 2013 from 192.168.xxx.xxx
    Welcome to vMA
    vi-admin@localhost:~> vifptarget --help
    -bash: vifptarget: command not found
    vi-admin@localhost:~>
    
  • Options
    dave330idave330i Member Posts: 2,091 ■■■■■■■■■■
    I've ran into this problem when I wasn't using vi-admin account. Don't remember having this problem with vi-admin account.
    2018 Certification Goals: Maybe VMware Sales Cert
    "Simplify, then add lightness" -Colin Chapman
  • Options
    JohnnyBigglesJohnnyBiggles Member Posts: 273
    Any suggestions or a have workaround? Does this weigh a lot on how much I'll be able to get done using the CLI if there's no solution?
  • Options
    dave330idave330i Member Posts: 2,091 ■■■■■■■■■■
    I would remove the hosts from vifp, delete vMA and re-install.
    2018 Certification Goals: Maybe VMware Sales Cert
    "Simplify, then add lightness" -Colin Chapman
  • Options
    JohnnyBigglesJohnnyBiggles Member Posts: 273
    What version have you used? I removed the servers, then deleted the entire VM from disk, reinstalled it (from the OVF), updated it via the web interface and now it's doing the same thing. It updated to

    Appliance Version:


    5.1.0.1 Build 1062361







    Do you think using the default version would allow this command icon_confused.gif: because this new one doesn't seem to have it...
  • Options
    JohnnyBigglesJohnnyBiggles Member Posts: 273
    I just discovered that the version I downloaded as shown:



    Appliance Version:
    5.1.0.0 Build 782391




    is able to run the command I have been trying in the newer version 5.1.0.1 Build 1062361 which I updated to. They must have changed or broken something with the update.
Sign In or Register to comment.