Main Menu

Search

Showing posts with label Repository. Show all posts
Showing posts with label Repository. Show all posts

LINUX: DNF Command To Disable & Enable Particular Repository (Repo)

Below DNF Commands can be used to Disable & Enable Particular Repositories (Repos)

To Disable Particular repo

dnf config-manager --disable <repo name>
To Enable Particular repo
dnf config-manager --enable <repo name>  


ORACLE LINUX: Yum / DNF Environment Variables File For Connecting To Public Yum Repository

"/etc/yum/vars" is the directory which has yum / dnf variables for connecting to Public Yum repository in Oracle Linux

We have following 2 files under "/etc/yum/vars" directory

  • ocidomain    - Has the domain name for public yum.
  • ociregion - Has public yum hostname. Usually blank.

In repo files under /etc/yum.repos.d directory you will have lines as follows to connect to public yum.

name=Oracle Linux 8 UEK6 RDMA ($basearch)
baseurl=https://yum$ociregion.oracle.com/uln/OracleLinux/OL8/UEKR6/RDMA/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0



Oracle VM Manager (OVMM): List OVS Repository managed by OVM Manager in OVM CLI (How To Doc)

Below are steps for listing OVS Repository managed by OVM Manager in OVM CLI.

1. From the host running OVM Manager, login to OVM Shell CLI prompt using "admin" user by running below command.

ssh admin@localhost -p 10000

When prompted for password, enter OVM "admin" user password. After successful login you will be in OVM shell prompt "OVM>".

2. In OVM CLI prompt, run below "list repository" command. This will list OVS Repository managed by OVM Manager.

list repository

Below is example output of above command.

OVM> list repository
Command: list repository
Status: Success
Time: 2019-09-29 15:27:28,010 EDT
Data:
  id:0004fb00000ZZZZZZ4982c7fd5470b13a  name:ovs_repo1
OVM>

Products to which Article Applies

Oracle VM Manager Version 3.3.X & Above Versions  

Additional Reference

https://community.oracle.com/docs/DOC-914735

Oracle Virtual Server (OVS): Command To Verify OVM Repository Name, Storage File System Name and Mount Point Name On Dom0 OVS Node (How To Doc)

In Standalone OVM Deployment or in Engineered Systems like Exalogic or Private Cloud Appliance the Dom0 OVS Compute Nodes are part of OVS Repository Pool File System. In order to check the Servers / Nodes part of OVS Pool File system below command can be used.

Below command can be used in order to check verify the OVM Repository name, Storage File system name name and mount point name on the OVS Dom0 compute node.


ovs-agent-db dump_db server

Below is snippet of above command.


{'0004fbZZZZZZZZZZZZZZZZZZZd09c': {'alias': u'exlcontrol_repo',
                                      'filesystem': 'nfs',
                                      'fs_location': '10.10.21.5:/export/reposhare',
                                      'manager_uuid': u'0004fb00ZZZZZZZZZZZZZZZZ6f',
                                      'mount_point': '/OVS/Repositories/0004fZZZZZZZZZZZZZZZZbd09c',
                                      'version': u'3.0'}}


Products to which Article Applies

Any environment using Oracle VM Manager (OVMM) and OVS (Oracle Virtual Server)