DRMGR(8)
πΈ DRMGR(8) πΈ
Hey bestie!! π You're looking at DRMGR(8) from the Linux on Power Service Tools manual β aka the page for drmgr, the DLPAR resource-management girlie for a virtualized ppc64 system. Grab a strawberry drink π, weβre going in.
π NAME π
drmgr β manage DLPAR resources of a virtualized ppc64 system. π
β¨ SYNOPSIS β¨
Okay so the synopsis is literally giving choose-your-own-adventure:
drmgr [-d detail_level] [-w minutes] [-C|--capabilities] [-h|--help]
drmgr -c {pci | cpu | mem | port | slot | phb}
drmgr -c pci -s slot_location_code {-i | -a | -r | -R } [-I]
drmgr -c cpu {-a | -r} {-q quantity | -s {drc_index | drc_name}}
drmgr -c mem {-a | -r} {-q quantity | -s {drc_index | drc_name}}
drmgr -c {port | slot | phb} {-a | -r} -s {drc_index | drc_name}
π DESCRIPTION π
drmgr is a utility for managing logical and physical hot plug capable resources of a PowerVM LPAR or QEMU/KVM pSeries virtual machine via Dynamic Logical Partitioning (DLPAR) operations. Outside of hot plugging a physical PCI I/O slot, the drmgr utility is intended to be invoked remotely by a Hardware Management Console (HMC), or by a local monitoring daemon in response to a hotplug interrupt from the controlling hypervisor. Iykyk πβ¨
β οΈ Unless you were directed by IBM support, or youβre performing a PCI hotplug operation, use caution invoking drmgr from the command line β it can result in inconsistent state between the LPAR and management system. Thatβs a real warning, bestie, not a vibe check. π
β¨ OPTIONS β¨
Main-character flags, periodt:
-d detail_levelβ set the logging verbosity level. Thatβs the βhow much detail do you wantβ dial.-w timeoutβ specify a timeout in minutes to wait on acquiring the dynamic resource lock. The synopsis spells the argument asminutes, just so you know whatβs up.-C,--capabilitiesβ display the DLPAR capabilities of the logical partition. Cute little capability reveal β¨-c drc_typeβ dynamic reconfiguration connector type to act upon, from this exact list:pci,cpu,mem,port,slot,phb.
Heads-up, bestie:-h/--helpshows up in the synopsis up top, but the OPTIONS section doesnβt give it its own separate bullet here β so Iβm not inventing extra deets. π«Ά
drmgr -c pci -s slot_location_code {-i | -a | -r | -R} [-I]
This mode is for adding, removing, identifying, or replacing a physical PCI adapter. Iconic PCI hotplug behavior, no cap π
-s slot_location_codeβ the physical slot location code to act upon.-iβ identify the specifiedslot_location_codeby turning on its visual indicator LED.-Rβ interactively replace the physical PCI adapter, withslot_location_code, by turning on the visual indicator LED to locate the physical slot, then powering down the slot so the current card can be removed, and finally powering the slot back up after the new adapter has been inserted into the slot.-rβ interactively remove a physical PCI adapter, fromslot_location_code, by turning on the visual indicator LED to locate the physical slot, and then powering down the slot so the current card can be removed.-aβ interactively add a physical PCI adapter, toslot_location_code, by turning on the visual indicator LED to locate the physical slot, and then powering up the slot once the new adapter has been inserted into the slot.-Iβ do not perform the identify step during interactive add, remove, or replacement operations.
drmgr -c cpu {-s {drc_index | drc_name} | -q count} {-a | -r}
Add or remove logical cpus from the system. CPU hotplug era π
-s drc_index | drc_nameβ the dynamic reconfiguration connector (DRC) index or name is used to identify one specific CPU on which to perform the requested DLPAR operation.-q quantityβ specify a quantity of CPUs on which to perform the requested DLPAR operation.-aβ perform a DLPAR CPU(s) add operation.-rβ perform a DLPAR CPU(s) remove operation.
drmgr -c mem {-s {drc_index | drc_name} | -q count} {-a | -r}
Add or remove logical memory blocks (LMBs) from the system. Memory hotplug bestie π§ β¨
-s drc_index | drc_nameβ the dynamic reconfiguration connector (DRC) index or name is used to identify one specific logical memory block (LMB) on which to perform the requested DLPAR operation.-q quantityβ specify a quantity of LMBs on which to perform the requested DLPAR operation.-aβ perform a DLPAR LMB(s) add operation.-rβ perform a DLPAR LMB(s) remove operation.
drmgr -c {port | slot | phb} {-a | -r} -s {drc_index | drc_name}
Add or remove a logical IOA resource such as virtualized storage and network adapters, or a logical PCI Host Bus that physical PCI devices reside under, including hotpluggable slots. Itβs giving infrastructure main character energy π
-s drc_index | drc_nameβ the dynamic reconfiguration connector (DRC) index or name is used to identify the logical resource on which to perform the associated DLPAR operation.-aβ perform a DLPAR add operation of the specified logical resource type.-rβ perform a DLPAR remove operation of the specified logical resource type.
π AUTHOR π
drmgr was written by IBM Corporation. Shoutout, fr fr π«Ά
π¦ SEE ALSO π¦
- go read
lsslot(8) - and also
drmgr-hooks(8)
π Thatβs the manual, bestie β this DRMGR(8) pageβs source/version is Linux, and itβs dated June 2020. Go forth and DLPAR responsibly, mwah! πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: powerpc-utils 1.3.14-160000.2.1 Β· GPL-2.0-or-later
- Copyright (C) 2020 International Business Machines
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms