VMware Cloud Community
miladmeh8
Enthusiast
Enthusiast

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
6 Replies
navina
VMware Employee
VMware Employee

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
Enthusiast
Enthusiast

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
Enthusiast
Enthusiast

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

you must used FQDN on Vcenter. 

miladmeh8
Enthusiast
Enthusiast

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

Reply
0 Kudos