Use this procedure to create IBM® i logical partitions
on a new or nonpartitioned managed system using the Hardware Management Console (HMC). In this procedure,
you will validate the hardware on the managed system, create the logical
partitions on the managed system, and designate the service logical
partition for 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 tasks:
- Use the System Planning Tool (SPT) to ensure that
your hardware configuration supports your desired logical partition
configuration.
- If necessary, install additional hardware
resources on your managed
system to support the logical partition plan specified by the SPT.
- 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.
- 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.
To
create logical partitions on a new or nonpartitioned
managed system from the HMC,
complete the following steps:
- 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 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 called 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 on 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, 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 is displayed.
- Type: lpcfgop
-m managed_system_name -o
clear where managed_system_name is the
name of managed system as it is displayed 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 work
pane, click .
- 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.
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
Code finder.
- Identify (or tag) the load
source device, alternate restart
device, and console device to use for system setup. Identify
the HMC as the
console device for system setup, regardless of the types of console
device that you ultimately plan to use for the logical partitions
on your system. The HMC provides
the easiest, most reliable method to access a console session during
system setup. When you create your logical partitions, you can specify
the console of your choice for each logical partition. Also, when
you select the load source device and alternate restart device, select
the devices that will be used by the first IBM i logical partition in
your SPT plan.
To
identify the devices to use for system setup, complete the following:
- In the work pane, select the logical partition,
click
the Tasks button, and click .
- Select the partition
profile, click Actions,
and click Edit.
- Click
the Tagged I/O tab.
- Under Load
source, click Select.
- Select the slot in which the load source I/O adapter
(IOA) is installed and click OK.
- Under Alternate restart device,
click Select.
- Select
the slot in which the alternate restart device
IOA is installed and click OK.
- Select Use HMC console and click OK.
- Click Close.
- If Licensed Internal Code was
not preinstalled on the server,
or if you want to install Licensed Internal Code yourself, install
Licensed Internal Code at this time. When the Licensed
Internal Code installation is complete, continue to step 8.
- Activate the logical partition:
- In
the work pane, select the logical partition.
- From the Tasks menu, click .
- Click OK to exit manufacturing
default configuration if prompted.
- Click Advanced.
- Select Manual in the Keylock
position field, select B: IPL from the second
side of the load source in the IPL type field,
and click OK.
- If
you are performing this procedure from the HMC, select Open
a terminal window or console session and click OK.
If you are performing this procedure remotely, click OK and
then open an HMC 5250
console session remotely on the logical partition.
- Type 1 and press Enter to start
a dedicated HMC 5250
console session.
- Verify that the physical adapters are
connected and reporting to the managed system using the Failed and
non-reporting hardware resources option in the Hardware Service Manager. The Failed and non-reporting hardware resource option displays
a list of the logical hardware resources that either failed or did
not report to the system at the last IPL.
Attention: Incorrect
use of the Failed and non-reporting hardware resource option can cause
damage to data in your system.
- In
the HMC 5250
console session, type 3 and press Enter to select
option 3 [Use Dedicated Service Tools (DST)].
- Sign onto DST with a valid user ID and password.
- Type 7 and press Enter to select option
7 [Start a service tool].
- Type 4 and
press Enter to select option
4 [Hardware service manager].
- Type 4 and
press Enter to select option
4 [Failed and non-reporting hardware resources].
- Verify that there are no failed or non-reporting resources. If no failed resources or non-reporting resources exist, the
informational message No failed or non-reporting logical hardware
resources were found opens. If there are failed resources,
contact your service provider.
Note: You can verify only the adapters
that are supported by IBM i.
Any adapter that is not supported by IBM i might have an error
of unknown or failed hardware.
- Press
F3 until the Use Dedicated Service Tools (DST)
display opens.
- Type 7 and
press Enter to select option
7 [Start a service tool].
- Type 7 and
press Enter to select option
7 [Operator panel functions].
- Press F10
to power off, press Enter to confirm, close
the 5250 console session window, and wait until the logical partition
shuts down.
- If the hardware
in the managed system is already in the
configuration specified in your SPT configuration
plan, continue to step 15.
- 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.
- Move the hardware in the managed
system according to your SPT configuration
plan.
- 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:
- In the navigation pane, open Systems
Management,
open Servers, and click the managed system.
- In the work pane, select the logical partition.
- From the Tasks menu,
click .
- Click Advanced.
- Select Manual in the Keylock
position field, select B: IPL from the second
side of the load source in the IPL type field,
and click OK.
- If
you are performing this procedure from the HMC, select Open
a terminal window or console session and click OK.
If you are performing this procedure remotely, click OK and
then open an HMC 5250
console session remotely on the logical partition.
- Type 1 and press Enter to start
a dedicated HMC 5250
console session.
- Verify
that the physical adapters are connected and reporting
to the managed system using the Failed and non-reporting hardware
resources option in the Hardware Service Manager:
Attention: Incorrect use of the Failed and non-reporting hardware
resource option can cause damage to data in your system.
- Type 3 and press Enter to
select option
3 [Use Dedicated Service Tools (DST)].
- Sign
onto DST with a valid user ID and password.
- Type 7 and press Enter to select option
7 [Start a service tool].
- Type 4 and
press Enter to select option
4 [Hardware service manager].
- Type 4 and
press Enter to select option
4 [Failed and non-reporting hardware resources].
- Verify that there are no failed or non-reporting hardware
resources. If no failed or non-reporting hardware resources
exist, the informational message No failed or non-reporting
logical hardware resources were found opens. If there are
failed resources, contact your service provider.
Note: You can verify
only the adapters that are supported by IBM i. Any adapter that is
not supported by IBM i might
have an error of unknown or failed hardware.
- Press F3 until the Use Dedicated Service Tools (DST)
display opens.
- Type 7 and
press Enter to select option
7 [Start a service tool].
- Type 7 and
press Enter to select option
7 [Operator panel functions].
- Press F10
to power off, press Enter to confirm, close
the 5250 console session window, and wait until the logical partition
shuts down.
- 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 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.
- Ensure that none of the
listed logical partitions are
selected and click
- Select Unassigned in the Service
partition list
- Click Ok.
- Select the logical partition, click the Tasks button,
and click .
- Click Ok.
- 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.
The Create Logical Partition wizard
provides an option to enable mobility of the logical partition during
partition creation. By selecting the Restricted I/O partition check
box when you create the IBM i logical
partition, the logical partition is capable of moving from one server
to another server. For information about the configuration requirements
for IBM i logical
partition mobility, see Configuration
requirements to migrate IBM i mobile
partitions.
The
Create Logical Partition wizard also 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 you create the IBM i logical
partition. For more information about the Create Logical Partition
wizard, see Creating a logical partition with suspension capability.
When you create an IBM i 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 7.6, or later. You can also change this
value after partition creation by changing the partition profile.
When you create an IBM i 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
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.
- Designate one of the IBM i logical partitions
on your managed system as the service logical partition for the managed
system.
- In the navigation pane, open Systems
Management and
click Servers.
- In
the work pane, select the managed system, click the Tasks button,
and click .
- In the Service partition field,
select the logical partition that you want to designate as the service
logical partition, and click OK.
- Ensure that there is at least one LAN
adapter on the HMC that
is configured
to connect with the logical partitions on your managed system:
- In the navigation pane, open HMC Management.
- 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, select 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 systems,
see Working with
operating systems and software applications for POWER7® processor-based systems.
For installation instructions for the Virtual I/O Server, see Installing
the Virtual I/O Server and
client logical partitions.
- Change the console device
on each IBM i logical
partition to
the console device of your choice. For procedures on how to change
the console on IBM i logical
partitions, see Changing consoles.
- Connect
the logical partitions on your managed system to the LAN
adapter that you have just configured on the HMC. You can 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. Alternatively, you can 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. For instructions,
see Configuring a virtual Ethernet adapter.