VMware Cloud Community
miladmeh8
Hot Shot
Hot Shot
Jump to solution

Opening vCenter url by the ip not fqdn

I have a vcenter server which i have to open the url by the FQDN, is there anyway to configure the vCSA to open this via ip?

Reply
0 Kudos
1 Solution

Accepted Solutions
miladmeh8
Hot Shot
Hot Shot
Jump to solution

Actually at the end the command /usr/lib/vmware-vmafd/bin/vmafd-cli set-pnid --server-name 10.5.197.110 --pnid 10.5.197.110 didnt work.

and you are right seems there is no way to change it to IP if you install a vcenter server based on FQDN

View solution in original post

6 Replies
navina
Enthusiast
Enthusiast
Jump to solution

Check if the PNID is IP or FQDN

/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost

If the PNID is IP, you should be able to access the vCenter via IP

If the PNID is FQDN, the after the login page, it would redirect to FQDN. In that case, you should have the PTR Record.

 

Regards,
Navin A
miladmeh8
Hot Shot
Hot Shot
Jump to solution

Thanks for the answer,

Is there any command or script to change it to IP?

probbaly it could be possible via rest, if you know the command please provide

 

Reply
0 Kudos
miladmeh8
Hot Shot
Hot Shot
Jump to solution

Thanks for the hints

I think this command also can change it

/usr/lib/vmware-vmafd/bin/vmafd-cli

Reply
0 Kudos
D_G_Tal
Enthusiast
Enthusiast
Jump to solution

you must used FQDN on Vcenter. 

miladmeh8
Hot Shot
Hot Shot
Jump to solution

Actually at the end the command /usr/lib/vmware-vmafd/bin/vmafd-cli set-pnid --server-name 10.5.197.110 --pnid 10.5.197.110 didnt work.

and you are right seems there is no way to change it to IP if you install a vcenter server based on FQDN