Pagine

Showing posts with label artifactory. Show all posts
Showing posts with label artifactory. Show all posts

Monday, 19 June 2017

How to manage offline and online mode in your JFrog Artifactory

JFrog Artifactory supports two kind of offline cases: when the whole organization is disconnected from remote repositories and when one or more remote repositories needs to be put offline.
When the artifactory server (or single repo) is not possible the artifact downloads from remote repositories as maven repository (https://mvnrepository.com/).
It is possible to set your JFrog Artifactory in "Global Offline Mode" via Admin Console Web. In detail, select Admin -> Configuration -> General and flag the checkbox with label "Global Offline Mode". See the screenshot below:

Only an user with admin grant can set on/off this mode. Of course when "Global Offline Mode" is enabled, options online/offline on individual repositories are not considered because all repositories
become offline.
Instead, you can configure your artifactory server online and some repositories offline. In this case, select Admin -> Repositories -> Remote, choose the repository and flag the checkbox with label "Offline". See the screenshot below:
Again, you need a user with admin grant can set on/off this mode.

Tuesday, 18 April 2017

Artifactory - How to get the storage informations via web console.

Artifactory allows you to monitor various statistics related to the amount of storage that repositories occupy in your server. For example, you can view the artifacts number, binaries size and free disk space. To monitor usage of storage in your server, need the admin grants.
In some older versions of Artifactory (as 3.x), this section is available in Admin -> Advanced -> Storage Summary. See the screenshots below:
Admin Section

Menu Admin
In other versions (as artifactory pro 4.x), this section is available in Admin -> Advanced -> Storage.
For more details about the monitor storage page see the official documentation.