Skip to main content

8.9.2 Setting OpenBoot PROM Environment Variables for the Control Domain


8.9.2 Setting OpenBoot PROM Environment Variables for the Control Domain
Use the setpparparam command of the XSCF firmware to set the OpenBoot PROM environment variables of the control domain.
Execute the command with a user account that has the platadm or fieldeng privilege. You can also execute it with a user account that has the pparadm privilege for the target physical partition.
Configuring the Boot Script
XSCF> setpparparam -p ppar_id -s bootscript value
For ppar_id, set the physical partition whose environment variables are to be stored in the boot script. You can specify an integer from 0 to 15, depending on the system configuration.
For value, set the OpenBoot PROM command to be stored in the boot script to change the OpenBoot PROM environment variables. Specify a value by enclosing it in double quotation marks ("").
Setting use-nvramrc? to false
XSCF> setpparparam -p ppar_id use-nvramrc
For ppar_id, set the physical partition whose environment variables are to be stored. You can specify an integer from 0 to 15, depending on the system configuration.
Setting security-mode to none
XSCF> setpparparam -p ppar_id security-mode
For ppar_id, set the physical partition whose environment variables are to be stored. You can specify an integer from 0 to 15, depending on the system configuration.
Operation Procedure
  1. Set OpenBoot PROM environment variables for the control domain.
    The following example enables auto boot for the control domain of PPAR-ID 0.
XSCF> setpparparam -p 0 -s bootscript "setenv auto-boot? true"
PPAR-ID of PPARs that will be affected:0
OpenBoot PROM variable bootscript will be changed.
Continue? [y|n]: y
  1. The following example sets use-nvramrc?, an OpenBoot PROM environment variable, for PPAR-ID 0 to false.
XSCF> setpparparam -p 0 use-nvramrc
PPAR-ID of PPARs that will be affected:0
OpenBoot PROM variable use-nvramrc will be set to false.
Continue? [y|n]: y
  1. The following example sets security-mode, an OpenBoot PROM environment variable, for PPAR-ID 0 to none.
XSCF> setpparparam -p 0 security-mode
PPAR-ID of PPARs that will be affected:0
OpenBoot PROM variable security-mode will be set to none.
Continue? [y|n]: y