The ocid Daemon
ocid daemon is the service component of the
oci-utils. It monitors for changes in the VNIC and iSCSI configuration of the instance and attempts to automatically attach or detach devices as they appear or disappear - for example, when they are created or deleted using the Oracle Cloud Infrastructure web console, the command line interface (CLI), or the API.
ocid daemon requires root privileges. You can configure root privileges for
ocid using one of the following methods:
- Run the
oci setup configconfiguration command as root to create SDK configuration files for the host. For more information, see SDK and Tool Configuration.
- Use instance principals by adding the instance to a dynamic group that was granted access to Oracle Cloud Infrastructure services. For more information, see Managing Dynamic Groups.
oci-utilsto allow root to use a non-privileged user's Oracle Cloud Infrastructure configuration files. For more information, see the configuration file located in the
/etc/oci-utils.conf.ddirectory of the instance.
To start the
ocid daemon using
service ocid start
ocid to start automatically during system boot:
sudo systemctl enable ocid.service