Question

Update Remote serve -poller without internet

  • 3 October 2023
  • 9 replies
  • 43 views

Badge +2

I have a server isolated from the internet, and I would like to update/upgrate my remote server/poller it without having access to the internet. But I don't know how to proceed? can you give me a procedure? 
I used this link:

https://docs.centreon.com/fr/docs/installation/offline/#:~:text=Pour%20pouvoir%20installer%20Centreon%20sur,acc%C3%A8s%20internet%20sur%20celui%2Dci.

but there are things to install so I have no internet; I have an idea download the mirror and transfer it by scp but there are always dependencies, so please if you have solutions I await your return?


9 replies

Userlevel 6
Badge +19

You need Centreon but you need also the repository of the OS and EPEL

Badge +2

Yes I want to transfer all (all dependencies also) and do my upgrade centreon of remote server

Userlevel 6
Badge +19

You may also create a new server with Internet access and use this command to download all packages and dependancies in a directory, then copy those on your server:

yum install --downloadonly --downloaddir=<directory> <package>

 

Badge +2

You give more information , i mean the package et all dependancies to upgrape my poller/remote server please , i don’t get any page who give all package and all dependancies...please any help

Userlevel 6
Badge +19

Hi @Said , Centreon packages use dependencies which use dependencies which use dependencies etc.

Regarding the type of OS you installed (minimal, from DVD, etc), it is impossible to make a list.

That’s why I propose you to install a new server based on the same installation OS type you used with an Internet access, then use following command to get all packages including dependencies:

yum install --downloadonly --downloaddir=<directory> <package>

Then you just need to create an archive of <directory> you precise and copy it on your production server.

Then install/update all packages from the archive.

 

The other way is to create a clone repository of all repository configured on your production server and change repositories configuration to access to clones.

Badge +2

Hi @Laurent  ,I understant but I can’t a new server because my server is in production. I want to upgrate in hot.

Badge +2

For exemple , i get an error like this because i don’t have all dependancies/mirrorlist

 

Userlevel 6
Badge +19

Hi @Said without creating clones repository or installation a new server with Internet connection, it will be impossible to get all packages to update your server.

Badge +2

Yes, i get it, that was impossible

Reply