VMware Cloud Community
cstewart28
Contributor
Contributor
Jump to solution

vCloud Director IP address issue

After the installation I'm having an issue with the IPs being aligned properly to the correct networks.

Here is my current network topoogy:

10.0.0.0/24 - network management

10.0.6.0/24 - external network connectivity

Would like the vCloud console access to be 10.0.0.10 and the access for the HTTP Service to be 10.0.6.10

But during the setup I notice that it will take the lowest as the HTTP serve access, so in my case it would be 10.0.0.10 which is not what I want.  I would have to reIP my network.

So after the install I'm thinking I woud change the IPs I get the KB artical on how to do that, but it does not work when I try to run:

sqlplus vcloud-db-user/vcloud-db-user-password

I get an error:

You may need to set ORACLE_HOME to your Oracle software directory

What is that all about?  I have little expeience with Oracle so not sure what they want me to accomplish.

I saw another article and it told me to "mkdir $ORACLE_HOME/oradata" so I did and still get the same issue.

Any ideas?

0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Following the procedure outlined in the VMware KB to change the vCD IPs is the correct approach. Changing the values in the public addresses screen of the UI will not cause the Java processes to bind to different IPs, it only dictates what responses from the API will show instead of the current hostname or IP address of the machine servicing the request, and similarly for the console.

That particular KB entry was created originally for vCD 1.0, which only supported Oracle DB. So the first question is, are you using Oracle or SQL Server?

If you're using Oracle, the instructions have you use the Oracle SQL Plus client to connect to the vCD database and change the necessary values. Usually on a properly configured Oracle DB machine the (shell) environment is configured such that user's can run the sqlplus command directly. If this is not the case you'll want to review the Oracle DB docs and make the appropriate changes. Note that you do not have to do it from the DB machine as long as you have some form of Oracle client (SQL Plus, SQL Developer, etc.) available and it has network connectivity to the Oracle instance hosting the vCD database.

If you're using SQL Server, you will need to use a client tool such as SQL Server Management Studio to connect to the database and make the outlined updates.

View solution in original post

0 Kudos
4 Replies
_morpheus_
Expert
Expert
Jump to solution

You can use whichever IP you want for the console or HTTP service. It picks the lowest for first one and highest for console because it's suggesting a default, but you don't have to go with the default.

0 Kudos
cstewart28
Contributor
Contributor
Jump to solution

The issue is when I go in and create an organization it put the url as 10.0.0.10/....  I want it to be 10.0.6.10/....

The clients cannot get to the 0 network only the 6 network.

0 Kudos
cfor
Expert
Expert
Jump to solution

Odd, that it does that - however you should be able to override...

System-Administration tab

Public Addresses...

By default they are empty and will make some best guesses.  If you set them you can override the best guesses (that seem to be off).

ChrisF (VCP4, VCP5, VCP-Cloud) - If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
admin
Immortal
Immortal
Jump to solution

Following the procedure outlined in the VMware KB to change the vCD IPs is the correct approach. Changing the values in the public addresses screen of the UI will not cause the Java processes to bind to different IPs, it only dictates what responses from the API will show instead of the current hostname or IP address of the machine servicing the request, and similarly for the console.

That particular KB entry was created originally for vCD 1.0, which only supported Oracle DB. So the first question is, are you using Oracle or SQL Server?

If you're using Oracle, the instructions have you use the Oracle SQL Plus client to connect to the vCD database and change the necessary values. Usually on a properly configured Oracle DB machine the (shell) environment is configured such that user's can run the sqlplus command directly. If this is not the case you'll want to review the Oracle DB docs and make the appropriate changes. Note that you do not have to do it from the DB machine as long as you have some form of Oracle client (SQL Plus, SQL Developer, etc.) available and it has network connectivity to the Oracle instance hosting the vCD database.

If you're using SQL Server, you will need to use a client tool such as SQL Server Management Studio to connect to the database and make the outlined updates.

0 Kudos