Moving VIOS, LPAR's, HMC to different subnet


 
Thread Tools Search this Thread
Operating Systems AIX Moving VIOS, LPAR's, HMC to different subnet
# 1  
Old 03-13-2014
Moving VIOS, LPAR's, HMC to different subnet

Hi,
Just joined to new company with one Power 720 Express (8202-E4C) server and have no much experience with IBM systems.
I am trying to move everything I mentioned to different subnet as required by customer contract (currently sitting on same subnet as company lan). Access to this subnet will be controlled by firewall (dedicated physical port).
My idea was first to move HMC than VIOS and LPAR's at the end. Through HMC I could use console access to VIOS and LPAR's so I can control IP settings not worrying losing connectivity to them.
First I moved HMC (management) port and it works as expected (I can access it from old subnet).
Problem is that HMC now can not connect with console to VIOS and LPAR's any more. (Internal error, unable to send command to the managed system)
So my question is how HMC communicates with VIOS and LPAR's?
How can I ensure not to lose console access capability?
Do I just need to configure VIOS and LPAR's with IP's from new subnet and hope that they would be accessible again via console access?
For HMC move I changed IP address and default route on interface. On firewall side for the transition period both subnets can talk to each other - no restriction/blocking).
Thanks.

Last edited by spricer; 03-14-2014 at 10:44 AM.. Reason: more details
# 2  
Old 03-14-2014
How is your HMC connected to the p720?

It will either be a direct connection from the HMC to the port labelled HMC1 or HMC2 on the p720 or you are going through the network.

The ports labelled HMC1 & 2 on the p720 may be DHCP or fixed addresses. Do you know?

I have a server that I can't get the console to too. No error is returned though. Smilie



Thanks, in advance,
Robin
# 3  
Old 03-14-2014
HMC and FSP are directly connected.:
Code:
-HMC (eth0 - first picture w w w-304.ibm.com/support/docview.wss?uid=nas8N1015834)....

remove emty space between w w w
-FSP (HMC1 - search for 8202-E4C on the same page)

I think HMC port on FSP has fixed IP address.

What puzzles me is that I thought that by established direct HMC to FSP connection your console access to VIOS and LPAR's is guaranteed. What I really did is just switched management port for HMC (eth1 on mentioned page) to new subnet.
So conclusion is that HMC management port ip address has to be on the same subnet as VIOS and LPAR(s) or maybe I need to adjust route settings...
There must be some info of having HMC management port on different subnet but I could not find it yet.
Also if anybody knows how can I check if SEA was set with IP address?

Last edited by Neo; 11-21-2017 at 02:13 AM..
# 4  
Old 03-14-2014
Ok so you are doing open network connection,
I rather say use private IP between HMC and Manage system (ie.e use DHCP)
In the HMC go to HMC management --> change network settings --> LAN Adapter (Mostly people use eth0 for private IP, I don't know how you configured)--> Details --> (Select Private) - Autodetection -- DHCMP Server (enable) -- OK.

Do the connectivity test.

Also, if your HMC and VIOS are NOT on same VLAN you don't even have to worry about changing the IP of HMC, you use public IP to get into HMC.

Also, make sure to ask if network is tagged, if so you have to change the PVID as per the new subnet.
If you there is No VLAN Tagging then the setup is as you have now.

Hope this helps.
# 5  
Old 03-14-2014
Maybe I don't understand network settings completely:
In HMC's network settings currently there are two adapters with next :
-eth0 (assuming direct connection to FSP) , Private, Autodetection, enabled DHCP server (192.168.128.2-192.168.255.254), greyed out settings for IPv4 (192.168.128.1)
-eth1 (assuming management port), Open, Autodetection, DHCP disabled, IPv4 192.168.1.121, 255.255.255.0.
Routing settings: Default Gateway 192.168.1.1 for eth1
No tagging involved.
VIOS and LPAR;s are on same subnet as eth1.

Now I figured that default gateway has to be the same one that of VIOS and LPAR's are using in order for HMC to connect to them via console.
You are right that IP settings for eth1 does not matter but than I can not reach remotely HMC unless I change route, which in turn makes problem for HMC accessing LPAR's via console.
Now I tried attaching cable to eth2 and connecting it to new subnet, added static NET route 192.168.1.0, 192.168.50.1, 255.255.255.0 for eth2 and everything works fine (192.168.50.1 is new subnet gateway). I can remotely access HMC and still HMC can access LPAR's via console.
So my question now is if you missconfigure IP settings on VIOS how can I access missconfigured system or better question how you can access VIOS that does not have network interface? e.g. in KVM I do not care about network settings at all as long as I have physical access to hypervisor (I can access guests via console).
Thanks
# 6  
Old 03-14-2014
Ok, that means eth0 (192.168.128.X) is the private network (which communicates with all Manage systems).

Eth1 is your public IP (which you use to establish connection from putty or web).
Unless you do VLAN Tagging or give a dedicated ethernet card to LPAR, they have to be on same subnet as your VIO

Code:
"Now I figured that default gateway has to be the same one that of VIOS  and LPAR's are using in order for HMC to connect to them via console".

This sentence is not really true, because the connection to Manage systems is through Private network and that is the reason you see Manage systems with different subnets are connected to HMC. (my personal example, I have my HMC on 10.10.4.x network and my MS on 4.x and 170.x)

Ok, if your eth2 configuration worked, then something must be wrong with eth1 configuration (either gateway or subnet mask values), or may be that IP is conflicting with other host.
We need more details on this to understand and troubleshoot.

Once you are in HMC, you will use console to get into VIO/LPAR, but in order to reach HMC you configure Public IP (in your case eth2).

So, once you are connected to HMC, then you use console to get to VIOS/LPAR.

Look at the network topology (from HMC under HMC management select that), you should see eth0 as the interface for all connections.

Hope this helps.
# 7  
Old 03-14-2014
Code:
This sentence is not really true, because the connection to Manage  systems is through Private network and that is the reason you see Manage  systems with different subnets are connected to HMC...

I understand that private network is used to manage FSP's and let's forget remote access to HMC (I will work directly on HMC hardware in server room). Question is why I cannot access VIOS via HMC console if I change default gateway for eth1 in Network settings? (this automatically starts another question what would happen if I put wrong network parameters in VIOS, how am I suppose to access it?).
A well configuration of eth2 (reverted everything back) does not guarantee that I will have access to VIOS if I missconfigure it (according to the problem on eth1).
What I would like to see is that I can access VIOS from HMC (hardware side) via console no matter of eth1 settings, or default gateway. Currently this is not case if I change dafault gateway.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

IBM VIOS AIX HMC Error

hello P6 was managed by HMC, tried to install on it VIOS 2.2.6 and got this error message Hosting requires a hosting partition -- boot not permitted vios-4 - imgbb.com then after creating an lpar in HMC got this message B2001230 vios-3 - imgbb.com anyone know how to solve this... (3 Replies)
Discussion started by: filosophizer
3 Replies

2. UNIX for Beginners Questions & Answers

Hmc lpar console integration

We want to integrate powervm by using openstack with hmc. Now we encounter problem with the console, we can open the terminal within hmc, and I think hmc using tech java applet. sample applet code like <applet codebase="https://172.16.28.174/hmc/"... (0 Replies)
Discussion started by: eagle
0 Replies

3. AIX

Command to show HMC of this lpar?

Does anyone know of a command that can be run on the lpar to show the name of the lpars managing HMC? We have a large environment and records a little old on which HMC manages which lpars....if i could login to an lpar and just issue a command to show me its managing hmc that would be great. (2 Replies)
Discussion started by: Foiled
2 Replies

4. AIX

VIOS LPAR Error 0518

I am trying to install AIX 5.3 on one of the LPARs through VIOS but I get this error 0518 Reference Code Selection 0518 (Time stamp: 12/18/12 12:10:20 AM UTC) Starting kernel (Time stamp: 12/18/12 12:10:15 AM UTC) AIX is starting. (Time stamp: 12/18/12 12:10:15 AM... (10 Replies)
Discussion started by: filosophizer
10 Replies

5. AIX

List LPAR from VIOS

Hi guys, does anyone know how to get a list of the LPAR running on VIOS? Thanks! (5 Replies)
Discussion started by: cecco16
5 Replies

6. AIX

Discovery LPAR from HMC

Hi All, i would like to know if it's possible to know all the IP Addresses of all LPAR's interfaces from HMC (without connect into LPAR). And if i can know also the "Application" hostname of LPAR from HMC. Thanks in advance. Bye Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies

7. AIX

What's the difference between VIOS and LPAR?

Hi All, Besides the licenses on VIO and LPAR. What's the main difference with the two? I have installed VIO, my manager told me so, because it's like a free hypervisor but I never installed LPAR before. How do you install it? And if you can give more info on the two, that would be great. ... (5 Replies)
Discussion started by: itik
5 Replies

8. AIX

VIOS to lpar Mapping

Hello, I have created mapping of 2 virtual adapters for Lpars using following command: mkvdev -vdev ipanalyzerlv1 -vadapter vhost11 mkvdev -vdev ipanalyzerlv -vadapter vhost13 The above two commands were succesfull but when I want to map the third virtual device to the same Lpar than... (3 Replies)
Discussion started by: Vit0_Corleone
3 Replies

9. AIX

To see vhost on VIOS after creating an HMC profile

I created a profile in HMC for a new LPAR and activated it but not yet installed AIX. Is there a step to make this new LPAR available as vhostX from the VIO server after creating and activating an HMC profile? I already shared the CD-ROM device from the HMC profile. Thanks. -... (1 Reply)
Discussion started by: learner1
1 Replies

10. AIX

Problem mapping LUN disk from VIOS to the LPAR

Hello guys, It would be so nice of you if someone can provide me with these informations. 1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Discussion started by: solaix14
3 Replies
Login or Register to Ask a Question