22. 07. 2020 Juergen Vigna NetEye

Updating NetEye 4 Using ‘neteye upgrade’ with a Proxy

In NetEye 4.11 the neteye upgrade command was introduced and has to be used when updating to the next release. Now, everything is all well and good if you have direct access to the Internet from your NetEye 4 server, but if you have to use a proxy to update your servers then the procedure gets a bit more complicated.

So what do you need to do to be able to launch the command neteye upgrade with success? Just substitute server/port and/or user/password with your own values in the appropriate case below.

  1. Single Instance
    • You have to set these environment variables, using the following format if no authentication is necessary:

      export http_proxy=http://server:port/
      export https_proxy=http://server:port/
      export no_proxy=localhost,127.0.0.0/24,.neteyelocal

      or else this format if you have to use authentication on your proxy:

      export http_proxy=http://user:password@server:port/
      export https_proxy=http://user:password@server:port/
    • After this, launch neteye upgrade
    • Unset http_proxy and https_proxy and proceed with the “normal” upgrade procedure
  2. Cluster
    • Create an executable file /etc/profile.d/proxy.sh with these lines:
      export http_proxy=http://server:port/
      export https_proxy=http://server:port/
      export no_proxy=localhost,127.0.0.0/24,.neteyelocal
    • Rsync or scp the file to the other nodes in the cluster
    • On the node where you run neteye upgrade, execute the script in your shell as follows:
      . /etc/profile.d/proxy.sh
    • Execute neteye upgrade on this node
    • Comment out all the lines in the proxy.sh file by putting a # as the first character in the file, on all nodes of the cluster
    • Unset http_proxy and https_proxy
    • Proceed with the “normal” upgrade procedure

I hope this will help you to successfully update your NetEye 4 infrastructure when having to use a Proxy Server.

Juergen Vigna

Juergen Vigna

NetEye Solution Architect at Würth Phoenix
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.

Author

Juergen Vigna

I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.

Leave a Reply

Your email address will not be published.

Archive