PMEM and DRAM DIMM installation order
This section contains information of how to install PMEMs and DRAM DIMMs properly.
PMEM rules
All the PMEMs that are installed must be of the same part number.
All the DRAM DIMMs that are installed must be of the same type, rank, and capacity with minimum capacity of 16 GB. It is recommended to use Lenovo DRAM DIMMs with the same part number.
Setting up the system for PMEM for the first time
Determine the mode and combination (see App Direct Mode or Memory Mode).
Consider PMEM rules and acquire the PMEMs and DRAM DIMMs that meet the requirements.
Remove all the memory modules that are presently installed (see Remove a memory module).
Follow the adopted combination to install all the PMEMs and DRAM DIMMs (see Install a memory module).
Disable security on all the installed PMEMs (see PMEM Management options).
Make sure the PMEM firmware is the latest version. If not, update it to the latest version (see Updating firmware on managed devices with LXCA).
Configure the PMEMs so that the capacity is available for use (see PMEM Management options).
PMEM Management options
Lenovo XClarity Provisioning Manager
To open LXPM, power on the system and press F1 as soon as the logo screen appears. If a password has been set, enter the password to unlock LXPM.
Go to
to configure and manage PMEMs.For more details, see the
Using Lenovo XClarity Provisioning Manager
section in the LXPM documentation compatible with your server at Lenovo XClarity Provisioning Manager portal page.NoteIf the text-based interface of Setup Utility opens instead of LXPM, go to and selectTool Suite. Then, reboot the system, and as soon as the logo screen appears, press the key specified in the on-screen instructions to open LXPM. (For more information, see the Startup
section in the LXPM documentation compatible with your server at Lenovo XClarity Provisioning Manager portal page.)Setup Utility
To enter Setup Utility:
Power on the system and press the key specified in the on-screen instructions to open LXPM.
(For more information, see the
Startup
section in the LXPM documentation compatible with your server at Lenovo XClarity Provisioning Manager portal page.)Go to Text Setup.
, click on the pull-down menu on the upper right corner of the screen, and selectReboot the system, and as soon as the logo screen appears, press the key specified in the on-screen instructions.
Go to
to configure and manage PMEMs.Lenovo XClarity Essentials OneCLI
Some management options are available in commands that are executed in the path of Lenovo XClarity Essentials OneCLI in the operating system. See Downloading and using XClarity Essentials OneCLI to learn how to download and use Lenovo XClarity Essentials OneCLI.
Intel Optane PMEMs details
Select this option to view the following details concerning each of the installed PMEMs:
Number of Intel Optane PMEMs detected
Total raw capacity
Total memory capacity
Total App Direct capacity
Total unconfigured capacity
Total inaccessible capacity
Total reserved capacity
Alternatively, view PMEM details with the following command in OneCLI:
OneCli.exe config show IntelOptanePMEM --bmc XCC_Account:XCC_Password@XCC_IP
Note- XCC_Account stands for XCC user ID.
- XCC_Password stands for XCC user password.
- XCC_IP stands for XCC IP address.
Goals
Memory Mode [%]
Select this option to define the percentage of PMEM capacity that is invested in system memory, and hence decide the PMEM mode:0%: App Direct Mode
100%: Memory Mode
NoteBefore changing from one mode to another:
Back up all the data and delete all the created namespaces. Go to
to delete the created namespaces.Perform secure erase on all the installed PMEMs. Go to
to perform secure erase.
Make sure the capacity of installed PMEM and DRAM DIMMs meets system requirements for the new mode (see App Direct Mode or Memory Mode).
After the system is rebooted and the input goal value is applied, the displayed value in
will go back to the following default selectable options:Scope: [Platform]
Memory Mode [%]: 0
Persistent Memory Type: [App Direct]
In addition, you can take advantage of a memory configurator, which is available at the following site: Lenovo Enterprise Solutions Configurator
Alternatively, set PMEM Goals with the following commands in OneCLI:For Memory Mode:
Set create goal status.
OneCli.exe config set IntelOptanePMEM.CreateGoal Yes--bmc USERID:PASSW0RD@10.104.195.86
Define the PMEM capacity that is invested in system volatile memory.
OneCli.exe config set IntelOptanePMEM.MemoryModePercentage 100--bmc USERID:PASSW0RD@10.104.195.86
Where 100 stands for the percentage of capacity that is invested in system volatile memory.
For App Direct Mode:
Set create goal status.
OneCli.exe config set IntelOptanePMEM.CreateGoal Yes--bmc USERID:PASSW0RD@10.104.195.86
Define the PMEM capacity that is invested in system volatile memory.
OneCli.exe config set IntelOptanePMEM.MemoryModePercentage 0--bmc USERID:PASSW0RD@10.104.195.86
Where 0 stands for the percentage of capacity that is invested in system volatile memory.
Set the PMEM mode.
OneCli.exe config set IntelOptanePMEM.PersistentMemoryType "App Direct"--bmc USERID:PASSW0RD@10.104.195.86
Where App Direct stands for the PMEM mode. You can input App Direct for App Direct interleaved or App Direct Not Interleaved for App Direct not interleaved.
Persistent Memory Type
In App Direct Mode, the PMEMs that are connected to the same processor are by default interleaved (displayed as App Direct), while memory banks are used in turns. To set them as not interleaved in the Setup Utility, go to , select App Direct Not Interleaved and reboot the system.
NoteSetting PMEM App Direct capacity to not interleaved will turn the displayed App Direct regions from one region per processor to one region per PMEM.
Regions
After the memory percentage is set and the system is rebooted, regions for the App Direct capacity will be generated automatically. Select this option to view the App Direct regions per processor.
Namespaces
App Direct capacity of PMEMs requires the following steps before it is truly available for applications.
Namespaces must be created for region capacity allocation.
Filesystem must be created and formatted for the namespaces in the operating system.
Each App Direct region can be allocated into one namespace. Create namespaces in the following operating systems:
Windows: Use powershell command. To create a namespace, use Windows Server 2019 or later versions.
Linux: Use ndctl command.
VMware: Reboot the system, and VMware will create namespaces automatically.
After creating namespaces for App Direct capacity allocation, make sure to create and format filesystem in the operating system so that the App Direct capacity is accessible for applications.
Security
Enable Security
AttentionBy default, PMEM security is disabled. Before enabling security, make sure all the country or local legal requirements regarding data encryption and trade compliance are met. Violation could cause legal issues.PMEMs can be secured with passphrases. Two types of passphrase protection scope are available for PMEM:Platform: Choose this option to run security operation on all the installed PMEM units at once. A platform passphrase is stored and automatically applied to unlock PMEMs before operating system starts running, but the passphrase still has to be disabled manually for secure erase.
Alternatively, enable/disable platform level security with the following commands in OneCLI:- Enable security:
Enable security.
OneCli.exe config set IntelOptanePMEM.SecurityOperation "Enable Security"--bmc USERID:PASSW0RD@10.104.195.86
Set the security passphrase.
OneCli.exe config set IntelOptanePMEM.SecurityPassphrase "123456"--bmc USERID:PASSW0RD@10.104.195.86
Where 123456 stands for the passphrase.
Reboot the system.
- Disable security:
Disable security.
OneCli.exe config set IntelOptanePMEM.SecurityOperation "Disable Security"--bmc USERID:PASSW0RD@10.104.195.86
Enter passphrase.
OneCli.exe config set IntelOptanePMEM.SecurityPassphrase "123456"--bmc USERID:PASSW0RD@10.104.195.86
Reboot the system.
- Single PMEM: Choose this option to run security operation on one or more selected PMEM units.To enable passphrase, go to .Note
Single PMEM passphrases are not stored in the system, and security of the locked units needs to be disabled before the units are available for access or secure erase.
Always make sure to keep records of the slot number of locked PMEMs and corresponding passphrases. In the case the passphrases are lost or forgotten, the stored data cannot be backed up or restored, but you can contact Lenovo service for administrative secure erase.
After three failed unlocking attempts, the corresponding PMEMs enter “exceeded” state with a system warning message, and the PMEM unit can only be unlocked after the system is rebooted.
Secure Erase
NotePassword is required to perform Secure Erase when security enabled.
Before executing secure erase, make sure ARS (Address Range Scrub) is done on all PMEMs or on the specific PMEMs selected. Otherwise, secure erase cannot be started on all PMEMs or the specific PMEM selected, and the following text message will pop out:
The passphrase is incorrect for single or multiple or all Intel Optane PMEMs selected, or maybe there is namespace on the selected PMEMs. Secure erase operation is not done on all Intel Optane PMEMs selected.
Secure erase cleanses all the data that is stored in the PMEM unit, including encrypted data. This data deletion method is recommended before returning or disposing a malfunctioning unit, or changing PMEM mode. To perform secure erase, go to
.Alternatively, perform platform level secure erase with the following command in OneCLI:
OneCli.exe config set IntelOptanePMEM.SecurityOperation "Secure Erase Without Passphrase"--bmc USERID:PASSW0RD@10.104.195.86
PMEM Configuration
PMEM contains spared internal cells to stand in for the failed ones. When the spared cells are exhausted to 0%, there will be an error message, and it is advised to back up data, collect service log, and contact Lenovo support.
There will also be a warning message when the percentage reaches 1% and a selectable percentage (10% by default). When this message appears, it is advised to back up data and run PMEM diagnostics (see the
Diagnostics
section in the LXPM documentation compatible with your server at Lenovo XClarity Provisioning Manager portal page). To adjust the selectable percentage that the warning message requires, go to , and input the percentage.Alternatively, change the selectable percentage with the following command in OneCLI:
OneCli.exe config set IntelOptanePMEM.PercentageRemainingThresholds 20 --bmc USERID:PASSW0RD@10.104.195.86
Where 20 is the selectable percentage.
Adding or replacing PMEMs in App Direct Mode
Complete the following steps before adding or replacing PMEMs in App Direct Mode.
- Back up stored data in PMEM namespaces.
- Disable PMEM security with one of the following options:
Lenovo XClarity Provisioning Manager
Go to
, and input passphrase to disable security.Setup Utility
Go to
, and input passphrase to disable security.
- Delete namespaces with command corresponding to the operating system that is installed:
Linux command:
ndctl destroy-namespace all -f
Windows Powershell command
Get-PmemDisk | Remove-PmemDisk
Clear Platform Configuration Data (PCD) and Namespace Label Storage Area (LSA) with the following ipmctl command (for both Linux and Windows).
ipmctl delete -pcd
NoteSee the following links to learn how to download and use impctl in different operating systems:- Reboot the system.