Dell OpenManage: Difference between revisions

From Leo's Notes
This page was last edited on 5 January 2017, at 20:17.
Line 87: Line 87:
Suppose you need to create a new vdisk after inserting a new disk into an empty slot on your server. Use {{code|omconfig}} to set up the disk.
Suppose you need to create a new vdisk after inserting a new disk into an empty slot on your server. Use {{code|omconfig}} to set up the disk.


Find the disk using {{code|1=./omreport storage pdisk controller=0}}. If you're not sure what controller ID to use, you can find it by running {{code|1=./omreport storage controller}}.
Find the disk using
 
{{highlight|lang=terminal|code=
omreport storage pdisk controller=0 {{!}} grep -E '^(ID{{!}}Status{{!}}Capacity{{!}}Sector Size)'
}}
 
If you're not sure what controller ID to use, you can find it by running {{code|1=omreport storage controller}}.


{{highlight|lang=terminal|code=
{{highlight|lang=terminal|code=

Revision as of 20:17, 5 January 2017

This page will focus on Dell OpenManage on Linux only.

Installation

Install Dell's OpenManage programs from their repository available at http://linux.dell.com/repo/hardware/. You can either manually install the packages or run their bootstraper script to install their repository.

## From http://linux.dell.com/repo/hardware/DSU_16.12.00/
# wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi

Once installed, the binaries can be found in /opt/dell/srvadmin/bin. You may want to append this path to your PATH variable.

# PATH=$PATH:/opt/dell/srvadmin/bin

You may also need to manually start some services such as the data engine service in order to query hardware information about storage systems by running /opt/dell/srvadmin/sbin/dsm_sa_datamgrd.

Usage

Open Manage Report Utility (omreport)

Run omreport -? for a list of available options on your system.

Storage System

To monitor your server's RAID array, run:

# omreport storage pdisk controller=0

Open Mange Configuration Utility (omconfig)

Creating a new vdisk

Suppose you need to create a new vdisk after inserting a new disk into an empty slot on your server. Use omconfig to set up the disk.

Find the disk using

omreport storage pdisk controller=0 | grep -E '^(ID|Status|Capacity|Sector Size)'

If you're not sure what controller ID to use, you can find it by running omreport storage controller.

Controller PERC H710 Mini (Embedded)
ID                              : 0:1:6
Status                          : Non-Critical
Name                            : Physical Disk 0:1:6
State                           : Ready
Power Status                    : Spun Up
Bus Protocol                    : SATA
Media                           : HDD
...
Capacity                        : 465.25 GB (499558383616 bytes)

To create the vdisk using the disk above:

# omconfig storage controller controller=0 action=createvdisk raid=r0 size=max pdisk=0:1:6 writepolicy=fwb name=disk06
Command successful!

The different write policies are talked about in a section below.

Deleting a vdisk

To delete a vdisk, determine the vdisk ID using omreport

omreport storage vdisk controller=1 | grep -E '^(ID|Device Name)'

and then run:

omconfig storage vdisk action=deletevdisk controller=1 vdisk=123

Wiping Foreign Configs

To wipe foreign configs on all drives attached to a controller:

# omconfig storage controller action=clearforeignconfig controller=1
Command successful!


Write Policty

You can change the disk's write policy using omconfig.

# omconfig storage vdisk action=changepolicy writepolicy=fwb controller=0 vdisk=0

Available options are:

  • wb - Write Back
  • wt - Write Through
  • wc - ?
  • nwc - ?
  • fwb - Force Write Back (even with no battery)

See Also