oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions for Intel oneAPI Toolkits, Intel Parallel Studio XE and Intel System Studio
1217 Discussions

How mirror locally repo "oneAPI" for Cobbler deployment

Daniel_Ruiz
Beginner
1,120 Views

Hello,

 

I would like to mirror (sync) Intel oneAPI repo to create a local mirror for Cobbler. I have added Intel oneAPI repo in Cobbler, but when I run "reposync", repo created and mirrored is too big (more than 100 GB...). What is the size of the Intel oneAPI repo? Is it possible to mirror only some packages discarding old versions and, only, mirror newest version of each package?

 

Thanks.

0 Kudos
10 Replies
ArpanB_Intel
Moderator
1,108 Views

Hi Daniel, could you share the OS Platform on which you are using the software? Also, please share the toolkit or tool you are using?



We would like to know.


0 Kudos
Daniel_Ruiz
Beginner
1,104 Views

Hi,

 

I have installed Intel-oneAPI in some machines from my students lab. That machines are Intel i7 and Intel Xeon. OS is, in all machines, CentOS-7, but in a few weeks, all nodes are going to be upgraded to Rocky Linux.

I'm the lab sysadmin, so I can't specify the tools that are being used by teachers and students, but, for example, I know that "icc" compiler is one of the tools more frequently used.

 

Thanks.

0 Kudos
ArpanB_Intel
Moderator
1,083 Views

Daniel, thank you for the information.


We will move your thread to the relevant forum for further support.


0 Kudos
NoorjahanSk_Intel
Moderator
1,045 Views

Hi,


Thanks for posting in Intel Communities.


>>Is it possible to mirror only some packages...


You can install the required packages(latest version) using the standalone version of the components.


You can use the "--newest-only" flag so that it will download the newest version of each package in the repository by discarding older versions.


Please refer to the below link to get standalone components:

https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html



Thanks & Regards,

Noorjahan. 


0 Kudos
Daniel_Ruiz
Beginner
928 Views

Hello,

 

I have added "-n" flag to Cobbler reposync options (reposync_flags: "-l -n -d") to allow option "--newest-only" but, when I run "cobbler reposync --only=Intel-oneAPI", I get this:

[root@puppet Intel-oneAPI]# ls -lhart
total 196K
-rw-r--r-- 1 root root 2,6K ene 30 20:36 intel-aikit-32bit-2022.1.2-2022.1.2-135.i686.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:36 intel-aikit-32bit-2022.1.1-2022.1.1-106.i686.rpm
-rw-r--r-- 1 root root 3,1K ene 30 20:36 intel-aikit-2021.1.0-2021.1.0-935.x86_64.rpm
-rw-r--r-- 1 root root 6,9K ene 30 20:36 intel-aikit-32bit-2023.0.0-2023.0.0-26100.i686.rpm
-rw-r--r-- 1 root root 6,9K ene 30 20:36 intel-aikit-32bit-2022.3.1-2022.3.1-20890.i686.rpm
-rw-r--r-- 1 root root 6,9K ene 30 20:36 intel-aikit-32bit-2022.3.0-2022.3.0-8775.i686.rpm
-rw-r--r-- 1 root root 6,8K ene 30 20:36 intel-aikit-32bit-2022.2.0-2022.2.0-231.i686.rpm
-rw-r--r-- 1 root root 2,4K ene 30 20:36 intel-aikit-runtime-2021.1.0-2021.1.0-935.x86_64.rpm
-rw-r--r-- 1 root root 9,1K ene 30 20:36 intel-aikit-getting-started-2023.1.0-31760.noarch.rpm
-rw-r--r-- 1 root root 6,9K ene 30 20:36 intel-aikit-32bit-2023.1.0-31760.i686.rpm
-rw-r--r-- 1 root root 6,9K ene 30 20:36 intel-aikit-32bit-2023.1.0-2023.1.0-31760.i686.rpm
-rw-r--r-- 1 root root 3,4K ene 30 20:36 intel-aikit-2022.1.1-2022.1.1-106.x86_64.rpm
-rw-r--r-- 1 root root 3,4K ene 30 20:36 intel-aikit-2021.4.0-2021.4.0-1460.x86_64.rpm
-rw-r--r-- 1 root root 6,9K ene 30 20:37 intel-aikit-runtime-2023.1.0-31760.x86_64.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-runtime-2022.1.2-2022.1.2-135.x86_64.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-runtime-2022.1.1-2022.1.1-106.x86_64.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-runtime-2021.4.0-2021.4.0-1460.x86_64.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-runtime-2021.3.0-2021.3.0-1370.x86_64.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-runtime-2021.2.0-2021.2.0-1101.x86_64.rpm
-rw-r--r-- 1 root root 3,4K ene 30 20:37 intel-aikit-2022.1.2-2022.1.2-135.x86_64.rpm
-rw-r--r-- 1 root root 3,4K ene 30 20:37 intel-aikit-2021.2.0-2021.2.0-1101.x86_64.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-32bit-2021.4.0-2021.4.0-1460.i686.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-32bit-2021.3.0-2021.3.0-1370.i686.rpm
-rw-r--r-- 1 root root 2,6K ene 30 20:37 intel-aikit-32bit-2021.2.0-2021.2.0-1101.i686.rpm
-rw-r--r-- 1 root root 2,5K ene 30 20:37 intel-aikit-32bit-2021.1.0-2021.1.0-935.i686.rpm
-rw-r--r-- 1 root root 7,7K ene 30 20:37 intel-aikit-2023.1.0-31760.x86_64.rpm
-rw-r--r-- 1 root root 7,7K ene 30 20:37 intel-aikit-2023.1.0-2023.1.0-31760.x86_64.rpm
-rw-r--r-- 1 root root 7,7K ene 30 20:37 intel-aikit-2023.0.0-2023.0.0-26100.x86_64.rpm
-rw-r--r-- 1 root root 7,7K ene 30 20:37 intel-aikit-2022.3.1-2022.3.1-20890.x86_64.rpm
-rw-r--r-- 1 root root 7,7K ene 30 20:37 intel-aikit-2022.3.0-2022.3.0-8775.x86_64.rpm
-rw-r--r-- 1 root root 7,7K ene 30 20:37 intel-aikit-2022.2.0-2022.2.0-231.x86_64.rpm
-rw-r--r-- 1 root root 3,4K ene 30 20:37 intel-aikit-2021.3.0-2021.3.0-1370.x86_64.rpm
drwxr-xr-x 3 root root 26 feb 20 08:49 ..
drwxr-xr-x 2 root root 31 feb 20 08:49 .origin
-rw-r--r-- 1 root root 129 feb 20 08:49 config.repo
-rw-r--r-- 1 root root 0 feb 20 08:49 intel-aikit-runtime-2022.2.0-2022.2.0-231.x86_64.rpm
-rw-r--r-- 1 root root 0 feb 20 08:49 intel-aikit-runtime-2022.3.0-2022.3.0-8775.x86_64.rpm
drwxr-xr-x 3 root root 4,0K feb 20 08:49 .

[...]

 

Here, you can see that, for example, for package "intel-aikit", cobbler reposync has downloaded some versions, not only newest.

 

Thanks.

0 Kudos
SeshaP_Intel
Moderator
957 Views

Hi,


Has the information provided above helped? If yes, could you please confirm whether we can close this thread from our end?


Thanks and Regards,

Pendyala Sesha Srinivas


0 Kudos
Daniel_Ruiz
Beginner
943 Views

Hi,

 

I have answered above. I think "--newest-only" doesn't solve my problem... or I'm doing some wrong...

 

Thanks.

0 Kudos
Soumya_M_Intel
Moderator
881 Views

Hi Daniel,


Thanks for getting back to us with the information. We are checking on the issue with our resources. Please wait for 2-3 business days. We will get back to you as soon as possible.

 

Hope you have a nice day ahead!


Regards,

Soumya


0 Kudos
ArpanB_Intel
Moderator
796 Views

Daniel, the oneAPI repository also contains standalone components, which are packages that provide a specific tool for cases where you do not need an entire toolkit which might take up more space than it is required for our users.


To know more on this, visit here: https://www.intel.com/content/www/us/en/docs/oneapi/installation-guide-linux/2023-0/list-available-toolkits-components-and-runtime.html#LIST-AVAILABLE-PACKAGES


0 Kudos
ArpanB_Intel
Moderator
766 Views

Daniel, unfortunately we were unable to hear back from you.


If you have any further queries, please post a new question as this thread will no longer be monitored by Intel®.


0 Kudos
Reply