on 03-30-2015 3:06 PM
Hello,
I'm tring to install SMP on azure VM, and it it getting its internal hostname .
for example, if my VM has a public name abc.cloudapp.net, it has an internal hostname used inside azure network abc.b1.internal.cloudapp.net
it is working fine and i can access it externally using its public hostname, but when i'm trying to configure internal endpoint from integration gateway SMP try to match endpoint url which has host name abc.cloudapp.net to SMP hostname abc.b1.internal.cloudapp.net and throw error that they are not the same hostname.
so, how can i change SMP server configuration to change its hostname ?
I even tried to install it again but i couldn't find anything about hostname except the notification config.
Thanks,
Hossam
I have resolved the problem by adding this two line to hosts file :
127.0.0.1 ABC.b2.internal.cloudapp.net
::1 ABC.b2.internal.cloudapp.net
so the internal name now is defined as localhost
so when I added the integration gateway endpoint using internal host name it pings successfully.
you can find hosts file on windows on this path :
C:\Windows\System32\drivers\etc\hosts
I didn't try to change the hostname and certificate, but I saved your script as I think I may need it later.
Thanks
Hossam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitendra, thanks a lot for your support .
I will give it a try and get back to you.
just have 2 questions before starting this
1 - Is there a way back to this process, can I roll back this if it failed ?
2- Is it all about certificate only ? as I think it should be another thing else contain the configuration of hostname of SMP and need to be changed also !
Thanks
Hossam
1 - Is there a way back to this process, can I roll back this if it failed ? >>
Take a backup of smp_keystore.jks file before doing any changes.
2- Is it all about certificate only ? as I think it should be another thing else contain the configuration of hostname of SMP and need to be changed also ! >> I am not sure about any other file. (it worked for me after modification certificate file)
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.