cfgmgr/cfgadm alternative or equivalent for Linux

Latest response

To simplified device management for Linux.

Responses

Looking over this, this seems to be a direct overlap with what's done with udev. What functionality are you needing that udev doesn't have?

What I am looking for here is a simple form of DEVFS operation (add/remove/manage devices), not symbolic link operation to DEVFS devices.

You'll have to be more specific.

 

For example, when you say 'add device', do you mean:

- rescan a SCSI bus?

- add a new PCI hotplug device?

- notice a new USB device insertion?

 

Similarly, by 'manage', do you mean permissions/ACLs, or something else?

 

Reading over what cfgadm does, much of this is done automatically on Linux/RHEL - for example, hardware additions are automatically made available for the system to use.

 

Device Management in UNIX

http://www.scribd.com/doc/47542206/device-management-in-unix

 

SCSI resource (FC/iSCSI/FCoE/SAS/SATA)

Adapter resource (PCI/PCIx/PCIe)

CPU resource (Works quite well on Linux on Power)

Memory resource (Works quite well on Linux on Power)

 

Sorry we don't use much USB device in Datacenter.

BTW USB device works really well on my Linux desktop. ;-)

All that describes for cfgmgr is the loading of device drivers and creating of device nodes; that's already handled by udev.

 

Hot-online/offline of CPUs and memory is certainly a valid use case... that's something to consider to wrap in a tool.

cfgmgr command
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/cfgmgr.htm

rmdev command
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds4/rmdev.htm

lsdev command
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds3/lsdev.htm

Here is the AIX QuickStart
http://www.tablespace.net/quicksheet/aix-quickstart.html

HTH

I too would like to see more powerful hardware-level utilities. All we really have is "lspci", and for the rest you get to navigate /dev, /proc, /sys which is sometimes a real adventure.