Use this procedure to create an AIX® or Linux logical partition
on a new or nonpartitioned managed system by using the Hardware Management Console (HMC). In this procedure,
you will validate the hardware on the managed system and create the
logical partitions on the managed system.
Use
this procedure in the following cases:
- You have just received
your managed system and want to create
logical partitions on the managed system immediately.
- You
have used the managed system as a nonpartitioned server, and
now want to create logical partitions on the managed system.
If
you want to create a new logical partition on a managed
system that has already been partitioned, then you do not need to
perform all of the steps in this procedure. For instructions about
creating a new logical partition on a managed system that has already
been partitioned, see Creating additional logical partitions.
Before
you begin, complete the following:
- Set up the HMC to
manage your logical partition and the managed system. For instructions,
see Installing
and configuring the HMC.
- If you have used the managed system prior to creating logical
partitions, back up all data on the managed system.
- Only POWER7® or POWER8® processor-based servers
support Virtual
Trusted Platform Module.
- You
must have Power® Security and
Compliance (PowerSC™) Standard
Edition installed on AIX Version
6.1, or later, to use
the Trusted Boot capability.
- To assign single
root I/O virtualization (SR-IOV)
logical ports to a logical partition during partition creation, verify
whether the managed system supports the SR-IOV feature before you
create the logical partition.
The HMC Classic interface is
not supported in Hardware Management Console (HMC) Version 8.7.0, or later. The functions that were previously
available in the HMC Classic interface are now available in
the HMC Enhanced+ interface.
For more information about creating a logical partition when the HMC is at version 8.7.0, or later, see Creating logical partitions.
- Ensure
that the managed system is in a state of Standby.
Complete the following:
- In the navigation
pane, open Systems Management and
click Servers.
- In
the work pane, find the state of the managed system
as displayed in the work pane under the Status heading.
- If the managed system is in a Power off state,
select the managed
system in the work pane, click the Tasks button,
click , select the power-on mode of Partition
Standby, click OK, and wait until
the work pane displays a Standby state for the managed system.
If the managed system does not display
in the work pane,
or if the managed system is in any state other than Standby or Operating,
you must fix the problem before continuing.
- Verify that a single logical partition exists on the managed
system.
When you connect a new or nonpartitioned managed
system to an HMC,
a single logical partition is displayed in the HMC user interface. All
system resources belong to this logical partition. In this procedure,
you will use this logical partition to validate the hardware on the
managed system. After you validate the hardware on the managed system,
you will delete this logical partition and create the logical partitions
according to your logical partition plan.
- In the navigation pane of the HMC, open Servers and
click on the managed system.
- In the work
pane, verify that there is only one logical
partition in the list of logical partitions. The name of this logical
partition will be the serial number of the managed system, and the
logical partition will have one partition profile named default_profile.
If the logical partition that is
described in this step
exists, continue to step 4.
Otherwise, continue to step 3 to reset the
managed system.
- Reset
the managed system so that
a single logical partition exists on the managed system. Complete
the following steps at your HMC (not remotely)
to create this logical partition:
- Ensure
that the hardware placement in the managed system
supports the manufacturing default configuration.
If
the hardware placement in the managed system does not support the
manufacturing default configuration, you must move the hardware so
that the hardware placement supports the manufacturing default configuration.
For more information about placing the hardware in your managed system
to support the manufacturing default configuration, contact your marketing
representative or business partner.
- In
the navigation pane, click Servers.
- In the work pane, select the managed system
in the work
pane, click the Tasks button, click and click Yes.
- In the navigation pane, click HMC
Management.
- In the work pane,
click Open Restricted Shell
Terminal. The Restricted shell command-line
interface displays.
- Type: lpcfgop
-m managed_system_name -o
clear where managed_system_name is the
name of managed system as it displays in the work pane.
- Enter 1 to confirm. This
step takes several seconds to complete.
- Ensure that the logical partition is in a Not Activated state.
In the navigation pane of the HMC, select the managed
system if it is not already selected, and review the state of the logical partition on the managed
system. If the logical partition is in a Running state, shut down the logical
partition by completing the following steps:
- In the navigation pane, select the managed system, click the Tasks
button, and click Properties.
- Ensure that Power off the system after all the logical partitions are powered
off is cleared, and click OK.
- Shut down the logical partition using operating system procedures. For more information about shutting down logical partitions using operating system procedures,
see the following information:
If the logical partition is in an Error state, complete the following:- In the work pane, select the logical partition, click the Tasks button,
and click .
- Click the Reference Code tab and use the reference codes displayed on
the Reference Code tab to diagnose and fix the problem. For information about using reference codes, see Reference
codes.
- Activate the logical partition
and verify that the physical
adapters on the managed system are connected and reporting to the
managed system using the configuration manager.
If AIX is
not installed on your managed system, continue with step 6. You can use the configuration
manager in AIX to
view all of the available devices. When AIX boots and the configuration
manager runs, the configuration manager displays all the working adapters.
The recognized adapters will be in the Available state if they are
configured correctly.
- In the work pane,
select the logical partition.
- From the Tasks menu,
click .
- Click OK to exit manufacturing
default configuration if prompted.
- Click Advanced.
- In the Boot mode field,
select Normal and
click OK.
- Select Open
a terminal window or console
session and click OK. A virtual terminal (vterm) window opens for the logical
partition.
- Ensure that all the
resources are attached and powered
on.
- Log in to AIX using
a valid user name and password.
- Enter
the following command at the command prompt to
list all of the adapters on AIX:
# lsdev -Cc adapter. If any adapters
do not display as Available, contact service and
support.
Note: You can verify only the adapters that are recognized
by AIX. Any adapter
that is not recognized by AIX might
have an error of unknown or failed hardware.
- Shut down the logical partition using operating system
procedures and close the terminal session window. For
information on how to shut down AIX, see Shutting down AIX logical partitions.
- Activate the logical partition and
verify
that the physical adapters on the managed system are connected and
reporting to the managed system using the System Management Services
(SMS) interface. (If Linux is installed on the
managed system, or if no operating system is on the managed system,
you can use the SMS interface to view the available devices.) When
the logical partition is activated, the bus is scanned to determine
what device adapters are attached. The recognized adapters are listed.
- In the work pane, select the logical partition.
- From the Tasks menu,
click .
- Click Advanced.
- In the Boot mode field,
select SMS and
click OK.
- Select Open
a terminal window or console
session and click OK. A virtual terminal (vterm) window opens for the logical
partition.
- When the SMS interface
is displayed, type 5 and
press Enter to select option 5 [Select Boot Options].
- Type 1 and press Enter to select option
1 [Select Install or Boot a Device]
- Type 7 and
press Enter to select option
7 [List all Devices]. All of the recognized devices in
the logical partition are listed. If any devices are not displayed,
contact service and support.
Note: You can verify only the adapters
that are recognized by SMS. Any adapter that is not recognized by
SMS might have an error of unknown or failed hardware.
- Close the terminal session window, click the Tasks button,
and click , and click OK.
- Power off the managed
system using your HMC:
- In the navigation pane, open Systems
Management and
click Servers.
- In
the work pane, select the managed system in the work
pane, click the Tasks button, and click .
- Select the Normal
power off option and click OK.
- Power on
the managed system to the Standby state using your HMC:
- In the navigation pane, open Systems Management and
click Servers.
- In
the work pane, select the managed system in the work
pane, click the Tasks button, and click .
- Select Partition
standby as the
power-on mode and click OK.
- Activate the logical partition and verify
that the physical
adapters on the managed system are connected and reporting to the
managed system using the configuration manager.
If AIX is not installed on
the managed system, continue with step 10. You can use the configuration
manager in AIX to
view all of the available devices. When AIX boots and the configuration
manager runs, the configuration manager displays all the working adapters.
The recognized adapters will be in the Available state if they are
configured correctly.
- In the navigation
pane, open ,
and click the managed system.
- In the
work pane, select the logical partition.
- From
the Tasks menu, click .
- Click Advanced.
- In the Boot mode field,
select Normal and
click OK.
- Select Open
a terminal window or console
session and click OK. A virtual terminal (vterm) window opens for the logical
partition.
- Ensure that all the
resources are attached and powered
on.
- Log in to AIX using
a valid user name and password.
- Enter
the following command at the command prompt to
list all of the adapters on AIX:
# lsdev -Cc adapter. If any adapters
are not displayed as Available, contact service and
support.
Note: You can verify only the adapters that are recognized
by AIX. Any adapter
that is not recognized by AIX might
have an error of unknown or failed hardware.
- Shut down the logical partition using operating system
procedures and close the terminal session window. For
information about how to shut down AIX, see Shutting down AIX logical partitions.
- Activate the logical partition and
verify
that the physical adapters on the managed system are connected and
reporting to the managed system using the System Management Services
(SMS) interface. (If Linux is installed on the
managed system, or if no operating system is on the managed system,
you can use the SMS interface to view the available devices.) When
the logical partition is activated, the bus is scanned to determine
what device adapters are attached. The recognized adapters are listed.
- In the navigation pane, open ,
and click the managed system.
- In the
work pane, select the logical partition.
- From
the Tasks menu, click .
- Click Advanced.
- In the Boot mode field,
select SMS and
click OK.
- Select Open
a terminal window or console
session and click OK. A virtual terminal (vterm) window opens for the logical
partition.
- When the SMS interface
is displayed, type 5 and
press Enter to select option 5 [Select Boot Options].
- Type 1 and press Enter to select option
1 [Select Install or Boot a Device]
- Type 7 and
press Enter to select option
7 [List all Devices]. All of the recognized devices in
the logical partition are listed. If there are any devices that do
not display, contact service and support.
Note: You can verify only
the adapters that are recognized by SMS. Any adapter that is not recognized
by SMS might have an error of unknown or failed hardware.
- Close the terminal session window, click the Tasks button,
and click , and click OK.
- Delete
the logical partition that
owns all of the system resources:
Attention: This
procedure erases the logical partition and the logical partition configuration
data stored on the logical partition profiles. This procedure does
not affect any of the data stored on the managed system.
- In the navigation pane, open ,
and click the managed system.
- In the
work pane, ensure that the logical partition
is powered off.
- Select the logical partition,
click the Tasks button,
and click .
- Click Yes to
confirm.
- Create each
logical partition on your managed system according to your logical
partition
plan:
Note: If you plan to create logical partitions that
use shared memory, you must
first configure the shared memory pool. For instructions, see
Configuring the shared memory pool.
- In the navigation pane, open Systems
Management and click
Servers.
- In the
work pane, select the managed system, click the Tasks button,
and
click .
- Follow the steps in the Create Logical Partition
wizard to create a logical partition and a
partition profile. By using the Create
Logical Partition wizard, you can
enable a VTPM on the logical partition. If you want to enable this
option, you must select the
Allow this partition to be VTPM capable check
box when you create the logical
partition. For more information about the creating a logical partition
with VTPM capability, see
Creating a logical partition with Virtual Trusted Platform capability.
The I/O tab of the Create Logical Partition Wizard
does not display cable cards,
because slots that contain cable cards cannot be assigned to a partition.
The Suspend/Resume feature for logical partitions is supported on POWER8 processor-based servers when the firmware is at level FW840,
or later. The Create Logical Partition wizard provides an option to suspend the partition. If you
want to enable this option, you must select the Allow this partition to be
suspended check box when creating the logical partition. For more information about
creating a partition with suspension capability, see Creating a logical partition with suspension capability.
When you create the logical partition, the default processor mode is the shared
processor mode. You can specify a value of 0.05 in the Minimum processing units field when the firmware is at level FW760, or later. You can also change this value
after partition creation by changing the partition profile.
When you create an AIX or Linux logical partition
on a
server that uses the virtual server network (VSN), and the HMC is at version 7.7,
or later, you can associate a Virtual
Station Interface (VSI) profile with the virtual Ethernet.
The Create Logical Partition wizard provides
an option to enable
synchronization of the current configuration capability. If you want
to enable this option, you can
select Sync turned ON from the Sync
Current Configuration
Capability list when creating the logical partition. When
this value is set, the
partition profile is always synchronized with the last activated partition
profile. For more
information about creating a partition with synchronization of the
current configuration capability,
see Creating a logical partition with synchronization of the current configuration.
The Create Logical Partition wizard provides an
option to create an SR-IOV
logical port and assign the logical port to the profile. You can follow
the steps in the wizard to
create the SR-IOV logical port. You can also add an SR-IOV logical
port to a partition after you
create the partition. For more information about adding an SR-IOV
logical port to a partition, see
Assigning a single root I/O virtualization logical port to a logical partition
The HMC graphical
user interface does not
provide an option to disable the Live Partition Mobility
feature of a logical partition. However, you can use HMC
command line to disable the Live Partition Mobility feature,
either during partition creation, or after partition creation. To
disable the Live Partition Mobility feature
of an AIX, or Linux logical partition
after partition creation, run the
chsyscfg command with a value 1 for the migration_disabled
attribute, from the HMC command
line. To disable the
Live Partition Mobility feature
of a logical partition during
partition creation, run the mksyscfg command with
a value 1 for the
migration_disabled attribute, from the HMC command line.
Alternatively, you can create logical
partitions by importing a system plan file into your
HMC and deploying
the system plan to the managed system.
For instructions, see Deploying a system plan using
the HMC. However,
if you want one or more logical
partitions to use shared memory, you must configure shared memory
resources for those logical
partitions after you deploy the system plan. System plans that you
create by using the SPT do not
contain configuration information for shared memory.
- Ensure that at least one LAN adapter on the HMC is configured to connect
with the logical partitions on your managed system. To do this, complete
the following:
- In the navigation pane,
open HMC Management.
- Click HMC Configuration.
- In the work pane, click Change
Network Settings.
- Click
the LAN Adapters tab.
- Select any LAN adapter other than the eth0 adapter
that connects the HMC with
the service processor and click Details.
- On the LAN Adapter tab,
under Local
area network information, click Open,
and select Partition communication.
- Click the Firewall Settings tab.
- Ensure that the Resource Monitoring
and Control (RMC)
application is one of the applications displayed in Allowed
Hosts. If it is not displayed in Allowed Hosts,
select the RMC application under Available Applications and
click Allow Incoming. The
RMC application is displayed in Allowed Hosts to
signify that it has been selected.
- Click OK.
After you have created
the logical partitions on your managed
system, complete the following tasks:
- Install operating systems
and system software on the logical partitions.
For installation instructions for the AIX, IBM® i, and Linux operating systemsLinux operating
system, see Working with
operating systems and software applications for POWER8 processor-based systems.
For installation instructions for the Virtual I/O Server, see Installing the Virtual I/O Server and client
logical partitions.
- Connect the logical partitions
on your managed system to the LAN
adapter that you have just configured on the HMC in one of the following
ways:
- Create a logical Host Ethernet Adapter for each logical
partition, which specifies the resources that the logical partition
can use on the actual physical Host Ethernet Adapter, or Integrated
Virtual Ethernet. The Host Ethernet Adapter connects the
logical partitions to an external network without having to go through
an Ethernet bridge on another logical partition. For instructions,
see Creating a logical Host Ethernet Adapter for a running logical partition.
- Create
a virtual LAN to connect the logical partitions on your
managed system with each other, bridge the virtual LAN to a physical
Ethernet adapter on an external network, and connect the LAN adapter
on the HMC to
the same external network. For instructions, see Configuring a virtual Ethernet adapter.
- Configure a physical
Ethernet adapter on each logical partition,
connect the physical Ethernet adapters on the logical partitions to
an external network, and connect the LAN adapter on the HMC to the same external
network.