To finalize your SUSE Linux Enterprise Server migration, complete
these steps:
- Create a virtual SCSI server and client by completing the
following steps from your client partition (Linux partition):
- Select its partition profile in the HMC, and then select Properties.
- Select the Virtual I/O tab.
- If no client SCSI adapters are available, create a client
SCSI adapter at the bottom of the tab. When creating a client SCSI
adapter, ensure that you specify the following:
- Select Client for the adapter type.
- Ensure that it points to the correct server partition that is
sharing its resources with it under Remote partition.
- Ensure that the Remote partition virtual slot number
matches the slot number for the SCSI server on the partition that
is sharing its resources.
- Select the Power controlling tab.
- Select Power controlling partitions to add,
and then select the partition that is sharing its resources.
From your server partition that is sharing its resources
(IBM® i logical partition):
- Select its partition profile in the HMC and select Properties.
- Select the Virtual I/O tab.
- If no client SCSI adapters are available, create a client
SCSI adapter at the bottom of the tab. When creating a client SCSI
adapter, ensure that you specify the following:
- Select Server for the adapter type.
- Ensure that it points to the correct client partition that is
obtaining resources from it under Remote partition.
- Ensure that the Remote partition virtual slot number
matches the slot number for the SCSI client on the Linux partition.
- Create and configure your network server description (NWSD)
to use virtual SCSI by completing the following steps:
- Create your NWSD and link your migrated network server
storage space (NWSSTG). by completing the following steps:
- At an IBM i command
line on the partition that shares resources, type CRTNWSD,
and then press F4 for prompts.
- Specify the following information:
NWSD (Provide a name for the NWSD)
RSRCNAME (*AUTO)
TYPE(*GUEST)
ONLINE (*NO or *YES)
PARTITION ('Provide the name of your AIX or Linux logical partition')
CODEPAGE (437)
TCPPORTCFG (*NONE)
RSTDDEVRSC (for virtual CD and tape devices) (*NONE)
SYNCTIME (*TYPE)
IPLSRC (*STMF)
IPLSTMF (*QOPT)
IPLPARM (*NONE)
PWRCTL (*YES)
Notes: - After the installation, if the root file system (/) is not installed
on the first partition of the first disk, you must set a root parameter.
- For the IPLSTMF, use the path as recommended by the distributor's
installation document. One example is /QOPT/SU90.001/install.
- Enter in the partition name or the partition number, but not both.
- Link the network server storage space by completing the following
steps:
- At an IBM i command
line, type the command ADDNWSSTGL, and then
press F4.
- Enter the following parameter values on the Add Network Server
Storage Link (ADDNWSSTGL) display, and then press Enter.
- In the Network server description field, specify the name of the
network server description (NWSD).
- In the Dynamic storage link field, specify *YES to
make the network server storage space dynamically available to the
partition (that is, available without rebooting the Linux partition).
- In the Drive sequence number field, specify the link sequence
position you want to use.
- Locate the type 290B communication adapters, which are
the virtual SCSI connections. Enter WRKHDWRSC *CMN and then enter
a 7 (display resource detail). Match the adapter
to the slot and enter the adapter's resource name (for example, CTL07)
in the resource name file of your NWSD.
- Activate your Linux partition
from the HMC if you have not already done so. To activate your partition,
select your partition in the HMC and select Activate.
- Open a terminal window for your Linux partition. To open
a terminal window, select your Linux partition and select Open
Terminal Window. Activating and shutting down your Linux partition are essential
steps to prepare your partition before you vary on your NWSD.
- Shut down your Linux partition
from the HMC. To shut down the partition, select your partition in
the HMC and select Shut Down Partition.
- Put CD or DVD 1 into the optical drive of the IBM i partition that is sharing
its resources.
- Vary on your NWSD by completing the following steps:
- Type WRKCFGSTS *NWS, and then
press Enter.
- Type 1 next to the NWSD that
you want to start, and then press Enter.
- If the vary on is successful, choose the 'boot installed
system' option from your terminal window.
- Your boot fails because your /etc/fstab file is not correct.
Enter your root password and complete the following steps to correct
your fstab file:
- Remount your root partition by entering the command:
mount -t <your FS type> -o remount,rw <your root device> /
Note: An
example of an FS type is reiserfs and an example of a root device
is /dev/sda3.
- Change the format for IBM i virtual
devices. These changes normally will be in the /etc/fstab file. Edit
the fstab file by changing the names based on the following table.
| Virtual device |
Previous name |
New name |
| Virtual disk |
/dev/iseries/vdxx |
/dev/sdxx |
| Virtual CD |
/dev/iseries/vcdxx |
/dev/srxx |
| Virtual tape |
/dev/iseries/vtxx |
/dev/stxx |
To edit the fstab file, complete the following steps: - To find your file, enter cd /
- Enter cd etc
- Enter vi fstab
- Change your virtual devices based on the preceding table.
- Save and exit by pressing ESC, and then entering :wq!
- Type Exit to restart your Linux logical partition.
Note: - At this point, the Linux partition
will return to the installation server where you can start the installed
server.
- Before starting, you might need to install modules for any hardware
that is connected to your partition. See the distributor's documentation
for more details.
- When starting, you might see some network error messages. These
errors can be ignored.
- After your server has finished restarting, add ibmvscsic and
remove 'viodasd' if present to the 'INITRD' line in the file /etc/sysconfig/kernel.
- Edit the /etc/lilo.conf file by making the following changes:
- Change the boot line to 'boot=<the path to your PReP
boot partition>'
- Change the root line to 'root=<the path to your root
partition>'
- Add 'activate' under boot
- Delete any extra boot lines listed near the top of the
file.
Note: An example path to your PReP boot partition is /dev/sda1
and an example path to your root partition is "/dev/sda3".
- Install your new kernel using the command:
rpm -Uvh <kernel rpm>
Note: Ensure
that you are in the current directory that you transferred your save
file to.
- Shut down the Linux logical
partition.
- Reconfigure the NWSD to start the partition from NWSSTG.
See the distributor's documentation for more details.
Specify
the following information:
NWSD (Provide a name for the NWSD)
TYPE(*GUEST)
ONLINE (*NO or *YES)
PARTITION ('Provide the name of your AIX or Linux logical partition')
CODEPAGE (437)
TCPPORTCFG (*NONE)
RSTDDEVRSC (for virtual CD and tape devices) (*NONE)
SYNCTIME (*TYPE)
IPLSRC (*NWSSTG)
IPLSTMF (*NONE)
IPLPARM (*root)
PWRCTL (*YES)
Note: Use the directory that your Linux kernel is in for the IPLPARM.
- Start the Linux logical
partition.
- To enable power control of the Linux partition from IBM i and the HMC, download
the DynamicRM and Diagela RPMs. The Linux support Web
site contains all the directions necessary for you to get the applications
installed.