alex_vsphere
Enthusiast
Enthusiast

vdcrepadmin - command unknown

Hello.

I confused why when connecting to a PSC, using the roo user, when running the vdcrepadmin command, the system does not reccognize it.

I have installed 3 PSC servers and 2 vCenter servers.

PSC 1 and 2 used by vCenter 01. PSC3 used by vCenter02.

I use only one single sign on domain. Two sites

I try to see the agreement and eventully reconfigure it, between the different PSCs. But the system does not seem to recognize the command.

I did enabled the shell and used shell command to start the shell

shell.set --enabled true

shell

the command I try to run i this

vdcrepadmin -f showpartners -h ifqdn_psc1 -u administrator

and I get this

bash: vdcrepadmin: command not found

Thank you in advance!

Best regards!

0 Kudos
5 Replies
IRIX201110141
Virtuoso
Virtuoso



root@psc [ ~ ]# vdcrepadmin

bash: vdcrepadmin: command not found

root@psc [ ~ ]# find / -name "vdcrepadmin"

/usr/lib/vmware-vmdir/bin/vdcrepadmin

This is how it looks on 6.5u2 latest external PSC.

You should re-think about your PSC design because VMware switch slowly to a always embedded design into near future.

Regards,

Joerg

0 Kudos
alex_vsphere
Enthusiast
Enthusiast

Hello Joerg,

I did cd into /usr/lib/vmware-vmdir/bin/

But it does not work. I use 6.5. Without any U*.

So using embedded design is the way to go? Thanks for sharing this.

Best regards!

0 Kudos
IRIX201110141
Virtuoso
Virtuoso

Can you try

root@psc [ ~ ]# find / -name "vdcrepadmin"

Important! Its only available when there is a PSC installed! You dont find it on the standalone VCSA (no PSC installed)!!

Command> shell

Shell access is granted to root

root@vcsa [ ~ ]# find / -name "vdcrepadmin"

root@vcsa [ ~ ]#

About the PSC design pls take a look on youtube or to the vmworld theatre to find some recorded session about PSC in vsphere 6.7 and upcomming version.

Regards,

Joerg

0 Kudos
Bobhomer
Contributor
Contributor

Not sure if you ever resolved this or got past it. Once you cd into the right directory where vdcrepadmin is you can try to append ./ to the command so ./vdcrepadmin

Hope that helps.

If it is useful, please mark answer as correct or helpful.
aar1
Contributor
Contributor

I had the same issue and using "./vdcrepadmin" worked. Thanks! 

Tags (1)
0 Kudos