Created 06-05-2018 03:26 PM
how to disable ambari access to public-repo-1.hortonworks.com , or to disable network to block geting update from public-repo-1.hortonworks.com
we want this in order to not get update from public-repo-1.hortonworks.com repo
ping public-repo-1.hortonworks.com 64 bytes from server-52-85-183-236.fra50.r.cloudfront.net (52.85.183.236): icmp_seq=1 ttl=242 time=57.4 ms 64 bytes from server-52-85-183-236.fra50.r.cloudfront.net (52.85.183.236): icmp_seq=2 ttl=242 time=57.8 ms 64 bytes from server-52-85-183-236.fra50.r.cloudfront.net (52.85.183.236): icmp_seq=3 ttl=242 time=58.2 ms 64 bytes from server-52-85-183-236.fra50.r.cloudfront.net (52.85.183.236): icmp_seq=4 ttl=242 time=58.6 ms 64 bytes from server-52-85-183-236.fra50.r.cloudfront.net (52.85.183.236): icmp_seq=5 ttl=242 time=57.8 ms
Created 06-10-2018 11:43 PM
I meant using i.e Firewall to block the public-repo-1.hortonworks.com public IP or disable it in the repo by setting enabled=0 (false) instead of 1 (true) see below
[HDP-UTILS-1.1.0.21] name=HDP-UTILS-1.1.0.21baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/xx path=/ enabled=0
That you can use a script
Created 06-05-2018 03:40 PM
There are 3 ways to avoid updates just tweak you disable ambari & hdp* repos by changing the URL o a non-existant host
/etc/yum.repos.d/ *.repo
Hope that helps
Created 06-05-2018 03:58 PM
regarding the /etc/hosts , do you mean to put as:
1.1.1.1 public-repo-1.hortonworks.com
while no access to 1.1.1.1
Created 06-05-2018 03:59 PM
regarding the last option - Just block the public-repo-1.hortonworks.com public IP
what you mean just "lock the public-repo-1.hortonworks.com public IP"
HOW?
remark we use only scripts to install ambari & HDP , so if we need to change someting in ambari we need to use API in order to perfrom some changing
Created 06-10-2018 11:43 PM
I meant using i.e Firewall to block the public-repo-1.hortonworks.com public IP or disable it in the repo by setting enabled=0 (false) instead of 1 (true) see below
[HDP-UTILS-1.1.0.21] name=HDP-UTILS-1.1.0.21baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/xx path=/ enabled=0
That you can use a script