mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
58 lines
2.2 KiB
Markdown
58 lines
2.2 KiB
Markdown
nodemedia(8) -- Manage server remote media
|
|
=========================================================
|
|
|
|
## SYNOPSIS
|
|
|
|
`nodemedia <noderange> [attach|detachall|list|upload] [options] <media>`
|
|
|
|
## DESCRIPTION
|
|
|
|
**nodemedia** manages the remote media functionality of supported BMCs.
|
|
|
|
`list` shows all the current remote media the BMCs of the noderange are
|
|
providing to the host platform. The string (insecure) is appended to URLs that
|
|
are mounted in an insecure fashion. http is insecure, and https is also
|
|
insecure when no meaningful certificate validation is performed. Currently
|
|
there is no action that can change this, and this is purely informational. A
|
|
future version of software may provide a means to increase security of attached
|
|
remote media. If no media is mounted, this will provide no output, error
|
|
conditions will result in output to standard error.
|
|
|
|
`detachall` removes all the currently provided media to the host. This unlinks
|
|
remote media from urls and deletes uploaded media from the BMC.
|
|
|
|
`upload` takes the given media image and uploads it to the BMC. This causes
|
|
the remote media to reside internally to the system without having to go
|
|
to the network after the upload. This is more constrained, for example the
|
|
Lenovo xClarity Controller has a limit of 50 megabytes, but it has zero ongoing
|
|
load on the media source.
|
|
|
|
`attach` takes a URL to a remote media as an argument, and has the given
|
|
BMCs map a virtual USB device to that url. Content is loaded on demand, and
|
|
as such that URL is referenced potentially once for every IO operation that
|
|
the host platform attempts.
|
|
|
|
## OPTIONS
|
|
|
|
* `-c`:
|
|
Specify the maximum number of instances to run concurrently.
|
|
|
|
## EXAMPLES
|
|
* Listing currently mounted media:
|
|
`# nodemedia s1-s4 list`
|
|
`s1: boot.img`
|
|
`s2: boot.img`
|
|
`s4: boot.img`
|
|
|
|
* Uploading a small boot image to the BMC:
|
|
`# nodemedia s1-s4 upload boot.img`
|
|
`s1:complete: 100% s2:complete: 100% s3:complete: 100% s4:complete: 100%`
|
|
`s1: boot.img`
|
|
`s4: boot.img`
|
|
`s2: boot.img`
|
|
|
|
* Attaching a larger ISO for on-demand access:
|
|
`# nodemedia s1,s4 attach http://172.30.0.6/install/rhel74.iso`
|
|
`s4: http://172.30.0.6/install/rhel74.iso (insecure)`
|
|
`s1: http://172.30.0.6/install/rhel74.iso (insecure)`
|