HMC AIX Setup: Difference between revisions
No edit summary |
No edit summary |
||
| Line 51: | Line 51: | ||
'''Okay, new blank slate VIOS is installed.''' | '''Okay, new blank slate VIOS is installed.''' | ||
=== Partitions === | |||
At this point we also want to create OS partitions because we will need them available when we setup virtual disks | |||
System -> top 'create partition' -> name it | |||
== VIOS configuration == | == VIOS configuration == | ||
Virtual networking configuration: | |||
https://www.ibm.com/docs/en/power9?topic=avnw-adding-virtual-network-by-creating-virtual-network-bridge | |||
System -> powervm -> virtual networks -> add virtual network | |||
name: brpriv | |||
Bridged: yes, tagged no, pvid 172, use default switch, next | |||
Enable jumbo frames [critical for private network!] and LSO, next | |||
Assign backing device from list. '''Note: This must be the correct device. The virbr setup process rewrites the MTU for the backing device when jumbo frames are enabled, and you *can't* reset it from inside the vios easily it seems.''' If this is chosen wrong, the only apparent option is delete the whole virbr and start over. | |||
It will be created and use the default 802.3 virtual switch. | |||
Now go back and greate the public bridge: | |||
system -> powervm -> virtual networks -> add virtual network | |||
name: brpub | |||
Bridged: yes, tagged no, pvid 128, check 'advanced' and use new virtual switch, next | |||
ok, create | |||
=== Virtual install library setup === | |||
First we need to import OS install images to the VIOS (much like we used the hmc to bootstrap the vios, the vios needs the image to bootstrap the partition). | |||
SSH to the vios, username 'padmin' | |||
<pre>oem_setup-env | |||
mkdir -p /Maingroup/images | |||
cd /Maingroup/images | |||
chfs -a size=+15G / # to enlarge storage sufficiently</pre> | |||
using scp, ISO images are available on erik-k's downloads: | |||
<pre>aix_7200-05-03-2136_flash_092021.iso | |||
rhel-8.2-ppc64le-dvd.iso | |||
ubuntu-20.04.1-live-server-ppc64el.iso</pre> | |||
SCP these to to /Maingroup/images | |||
Now go to system -> virtual storage -> vio server -> manage | |||
optical devices -> create virtual library -> 25GB | |||
optical devices -> action -> add media -> from existing file | |||
/Maingrouop/images/ubuntu-20.04.1-liver-server-ppc64el.iso e.g. | |||
Quite insanely you have to type the entire filename manually, there is no browser box. *blink blink*. | |||
=== Partition configuration === | |||
systems -> powervm -> virtual storage | |||
select vio server -> action -> manage | |||
click storage pools -> Create a storage pool & assign the NVMEs to it | |||
click virtual disks -> create | |||
name: 'aixroot' or something | |||
pool: nvmepool | |||
size: 500G e.g. | |||
assign to partition: aix-part | |||
create & assign adapter on partition -> yes please | |||
Now click system -> partitions -> [partition] -> virtual networks -> attach virtual network | |||
[X] show and attaach new adapters | |||
[X] check brpub and brpriv to connect to both networks | |||
Click system -> virtual storage -> [vios] -> manage | |||
virtual optical devices -> [select image] -> modify assignment to partition we're installing -> ok | |||
== AIX install == | == AIX install == | ||
After assigning virtual networks, virtual disk drive & aix-7.2 install media, | |||
system -> partitions -> aix partition -> start | |||
system -> partitions -> aix partition -> system actions -> console -> open | |||
== AIX configuration == | == AIX configuration == | ||
Revision as of 01:51, 13 November 2021
This page will document the installation procedure for a system controlled by an IBM (v)HMC.
The installation steps are in summary,
- Install VIOS
- Create virtual network bridges
- Create virtual disks and assign
- Install AIX
- Setup AIX
Hardware prerequisites assumed: - At least 1 storage device on SATA/SAS - Network port connected to HMC - At least 2 external network ports connected, 1 to public & 1 to private network
VIOS install
The VIOS install uses a VIOS image stored on the HMC to bootstrap the server. Once the HMC is installed, it will be necessary to SSH to it, and use
chfs -a size=+10G /
to grow the default filesystem, create a directory on the HMC, and scp the vios-* image to there. The current (3.1) VIOS image is stored in ~erik-k's downloads as
PwrVMVIOSBIV3.1.3.10Fls92021.iso
References:
https://www.ibm.com/docs/en/power9?topic=hmc-installing-vios
Top -> System -> 'create vio server'
Clicking through menus, assign 2 processors, the NICs and at least one SAS adapter with disk (vios will not install on nvme).
Select 'management console images' to install and 'vios-3.1.3.10-flash'. If an image isn't present, see top of this section to upload it.
It is necessary to assign a working ethernet port to the vios. All 'm c image install' does is just temporarily throw up a NIM server, install and then tear it down. Make certain that the assigned network port is on the correct switch & that the switch has that port on the right vlan.
I have decided to use 172.17.20.x for the VIOS ethernets. Enter 172.17.202.79 (vina IP) for gateway... this does not work but it needs something.
Click install, and go have lunch. I've clocked this process in at around 45 minutes. It may be that temporarily assigning more processors would speed it up?
The finishing of the install procedure is unreliable. It may or may not report "done". As long as it does _not_ report failure, once it is done, you can try to click 'accept license.'
Next step:
Server -> vio servers -> [click server] -> vios actions -> console -> open terminal
After a bit, a godawfully barely-functional console will ask to run.
Enter a password
Accept license.
Run oem_setup_env to get prompted again, and accept license.
Okay, new blank slate VIOS is installed.
Partitions
At this point we also want to create OS partitions because we will need them available when we setup virtual disks
System -> top 'create partition' -> name it
VIOS configuration
Virtual networking configuration: https://www.ibm.com/docs/en/power9?topic=avnw-adding-virtual-network-by-creating-virtual-network-bridge
System -> powervm -> virtual networks -> add virtual network
name: brpriv Bridged: yes, tagged no, pvid 172, use default switch, next
Enable jumbo frames [critical for private network!] and LSO, next
Assign backing device from list. Note: This must be the correct device. The virbr setup process rewrites the MTU for the backing device when jumbo frames are enabled, and you *can't* reset it from inside the vios easily it seems. If this is chosen wrong, the only apparent option is delete the whole virbr and start over.
It will be created and use the default 802.3 virtual switch.
Now go back and greate the public bridge:
system -> powervm -> virtual networks -> add virtual network
name: brpub Bridged: yes, tagged no, pvid 128, check 'advanced' and use new virtual switch, next
ok, create
Virtual install library setup
First we need to import OS install images to the VIOS (much like we used the hmc to bootstrap the vios, the vios needs the image to bootstrap the partition).
SSH to the vios, username 'padmin'
oem_setup-env mkdir -p /Maingroup/images cd /Maingroup/images chfs -a size=+15G / # to enlarge storage sufficiently
using scp, ISO images are available on erik-k's downloads:
aix_7200-05-03-2136_flash_092021.iso rhel-8.2-ppc64le-dvd.iso ubuntu-20.04.1-live-server-ppc64el.iso
SCP these to to /Maingroup/images
Now go to system -> virtual storage -> vio server -> manage
optical devices -> create virtual library -> 25GB
optical devices -> action -> add media -> from existing file
/Maingrouop/images/ubuntu-20.04.1-liver-server-ppc64el.iso e.g.
Quite insanely you have to type the entire filename manually, there is no browser box. *blink blink*.
Partition configuration
systems -> powervm -> virtual storage
select vio server -> action -> manage
click storage pools -> Create a storage pool & assign the NVMEs to it
click virtual disks -> create
name: 'aixroot' or something pool: nvmepool size: 500G e.g. assign to partition: aix-part
create & assign adapter on partition -> yes please
Now click system -> partitions -> [partition] -> virtual networks -> attach virtual network
[X] show and attaach new adapters [X] check brpub and brpriv to connect to both networks
Click system -> virtual storage -> [vios] -> manage
virtual optical devices -> [select image] -> modify assignment to partition we're installing -> ok
AIX install
After assigning virtual networks, virtual disk drive & aix-7.2 install media,
system -> partitions -> aix partition -> start
system -> partitions -> aix partition -> system actions -> console -> open