nerdexam
Citrix

1Y0-201 · Question #83

Scenario: A Citrix Administrator needs to install a new application on a Desktop OS machine. A new ISO image was added to the CIFS file share that is attached to the storage repository. When the…

The correct answer is A. sr-scan. After adding a new ISO image to a CIFS-backed storage repository in XenServer, the xe sr-scan command must be run to force a rescan of the SR so the newly added ISO becomes visible and available to virtual machines.

Managing Infrastructure Components

Question

Scenario: A Citrix Administrator needs to install a new application on a Desktop OS machine. A new ISO image was added to the CIFS file share that is attached to the storage repository. When the administrator tries to install the application, the ISO is NOT showing as available. Which xe command should the administrator run to make the ISO image available?

Options

  • Asr-scan
  • Bsr-update
  • Cvm-cd-add
  • Dvm-disk-add

How the community answered

(30 responses)
  • A
    93% (28)
  • B
    3% (1)
  • C
    3% (1)

Why each option

After adding a new ISO image to a CIFS-backed storage repository in XenServer, the xe sr-scan command must be run to force a rescan of the SR so the newly added ISO becomes visible and available to virtual machines.

Asr-scanCorrect

The xe sr-scan command triggers an immediate rescan of a specified storage repository, causing XenServer to discover any new content - such as ISO images - that has been added to the underlying CIFS file share since the SR was last scanned. Without running this command, XenServer's internal inventory of the SR remains stale and the newly added ISO will not appear as an available virtual CD/DVD option when attaching media to a VM. Running sr-scan with the correct SR UUID updates the SR object list in the XenServer database, making the ISO immediately visible for use.

Bsr-update

There is no xe sr-update command in the XenServer CLI toolset; sr-scan is the correct and supported command for refreshing the content inventory of an existing storage repository.

Cvm-cd-add

The xe vm-cd-add command adds a virtual CD/DVD drive device to an existing VM but does not cause XenServer to discover or register new ISO images present in a storage repository.

Dvm-disk-add

The xe vm-disk-add command attaches an existing virtual block device to a VM and is unrelated to discovering or registering ISO image files stored in an ISO SR.

Concept tested: XenServer xe sr-scan command for ISO image discovery

Source: https://docs.citrix.com/en-us/xenserver/8/command-line-interface.html

Topics

#XenServer#storage repository#xe command#ISO image

Community Discussion

No community discussion yet for this question.

Full 1Y0-201 Practice