Skip to main content
Question

Update Remote serve -poller without internet

  • October 3, 2023
  • 9 replies
  • 53 views

Forum|alt.badge.img+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

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • October 3, 2023

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


Forum|alt.badge.img+2
  • Author
  • Steward *
  • October 3, 2023

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


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • October 4, 2023

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>

 


Forum|alt.badge.img+2
  • Author
  • Steward *
  • October 4, 2023

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


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • October 4, 2023

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.


Forum|alt.badge.img+2
  • Author
  • Steward *
  • October 4, 2023

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


Forum|alt.badge.img+2
  • Author
  • Steward *
  • October 4, 2023

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

 


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • October 6, 2023

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.


Forum|alt.badge.img+2
  • Author
  • Steward *
  • October 6, 2023

Yes, i get it, that was impossible