VIOS and virtual FC


 
Thread Tools Search this Thread
Operating Systems AIX VIOS and virtual FC
# 1  
Old 05-10-2019
VIOS and virtual FC

Hello,

In my environment, I have 2 VIOS. There is 1 lpar uses the first VIOS. Now we would like to move it to second VIOS.

My question is, can we migrate the virtual FC on the lpar to second VIOS?

If not, we have to create new virtual FC on second VIOS and map it to the lpar. This also means that we will do the zoning again and lun masking for new WWPN.

Please advise me if this is possible.

--- Post updated at 04:47 PM ---

My AIX version is 6.1 and Power machine is 7.
# 2  
Old 05-14-2019
Hi, need to know a bit more info if you don't mind.
Are you wanting to do a Live Partition Mobility between two Power7 frames?
Or are you saying you have a single Power7 frame with one fully configured VIO, and you are trying to setup a 2nd VIO for redundancy?
Are your systems managed by an HMC or are you using the IVM?

If you are using an HMC I can try to help the best I can. I have no experience with an IVM. Also, if HMC what version is it?


Thanks!
# 3  
Old 05-15-2019
Hi,

Quote:
Or are you saying you have a single Power7 frame with one fully configured VIO, and you are trying to setup a 2nd VIO for redundancy?
The first statement is correct. The second thing is, can we move/migrate the virtual FC on vios1 to vios2 without changing the WWPN, not to setup a 2nd VIOS.

Just to ask technically if we can do that or not without LPM. Or we have to setup the LPM for live migration?

I'm using the HMC and version is V7R7.8.0 SR1.

Regards,
# 4  
Old 05-15-2019
So there's a bit of homework to be done here.
First your Power7frame should have the split backplane feature. Your IBM sales rep should be able to tell if that frame is capable of it. This will let us unstall the VIO on the 2nd raid/hdisk's Sorry, don't have the feature codes off the top of my head.

Secondly, you will need additional HBA's and Ethernet adapters that are not allocated to any other lpar.


Lets take this example here: (Looks like junk can't post screenshots yet)
Code:
 U78AA.001.WZSJVNE-P1-T9    PCI-E SAS Controller        10
U78AA.001.WZSJVNE-P1-T7    Universal Serial Bus UHC Spec        11
U78AA.001.WZSJVNE-P1-C19-T1    PCI-E SAS Controller    Required    12
U78AA.001.WZSJVNE-P1-C7    1 Gigabit Ethernet (UTP) 4 Port Adapter PCIE-4x/Short        13
U78AA.001.WZSJVNE-P1-C2    1 Gigabit Ethernet (UTP) 4 Port Adapter PCIE-4x/Short    Required    513
U78AA.001.WZSJVNE-P1-C3    8 Gigabit PCI Express Dual Port Fibre Channel Adapter    Required    514
U78AA.001.WZSJVNE-P1-C4    Empty slot        515
U78AA.001.WZSJVNE-P1-C5    Empty slot        516
U78AA.001.WZSJVNE-P1-C6    Empty slot        517
U78AA.001.WZSJVNE-P1-C1-C2    8 Gigabit PCI Express Dual Port Fibre Channel Adapter        520
U78AA.001.WZSJVNE-P1-C1-C4    Empty slot        521
U78AA.001.WZSJVNE-P1-C1-C3    Empty slot        522
U78AA.001.WZSJVNE-P1-C1-C1    1 Gigabit Ethernet (UTP) 4 Port Adapter PCIE-4x/Short        523

This is all the hardware that I have available in one of my Frames. As you can see, I have one SAS controller, one Ethernet adapter, and one HBA as 'required' for this VIO profile.

If I showed you the other VIO, you would see Line 1, Line 4, and Line 10 would be required for the other VIO.
What I am trying to say, is if you do not have the physical IO to handle another VIO, there is nothing you can do.


Now, moving on:
Deploy the VIO via the TASKS > Configuration > Create Partition > VIO Server.
That should take you to a wizard to set up the partition ID (make note of this!) and define the resources. You can use your other VIO as reference.
From there, install the VIO OS on the hdisks mirror your rootvg or whatever other setup you need todo, get the WWN's and give them to your SAN team to zone.
Yes, you will need to zone the WWN's from the 2nd vio. But we are not ready for that yet.


So this part I'm going to be a bit fuzzy on, as I always had dual VIO's setup before deploying a LPAR. If any other Power guy wants to weigh in, now would be the time!

We need to create virtual adapters to tie into the new VIO.
Select the NEW installed VIO from the HMC, and under TASKS expand Dynamic Partitioning. Then select Virtual Adapters.
Enter your Virtual Fibre Channel Adapter number, select the client partition, and then enter the client adapter number.
Now, save all that information because we need to add that to the default profile as well. Reason being, the dynamic settings will disappear when the vio is rebooted as its not part of the default profile.
So, under TASKS again for the same vio, this time select Configuration, Manage Profiles. Repeat the tasks there with the same values you used.
Word of caution, you do not want to use the same adapter ID with two different VIO's.
What I do is match Client partition ID to VIO ID.
So, Server Adapter 301 is lined up to client adapter 301. That says to me, ClientID3, VIO1, then on the 2nd vio, I have 302 lined up with 302.
Now, on the client you are going to repeat the same steps that we did at the VIO. Dynamic Partitioning, add in Virtual Adapters. Then edit the default profile to add in the virtual adapters so when the client boots all the settings are present.
From here on, you should be able to zone the WWN's, cfgdev -vdev to find the hdisks. At this point you will want to run a chdev -dev hdiskXX -attr reserve_policy=no_reserve on all hdisks that are coming from SAN that you wish to have mapped though both vio's to the client lpar.

Then run mkvdev -vdev -vadapter <vhost> -dev <devicename that makes seance to you>


Example: mkvdev -vdev hdisk21 -vadapter vhost0 -dev dbtst4



Last but not least Ethernet adapters.
Without knowing how your Ethernet is configured on the VIO I can only guess how its setup and if not done carefully can cause a loop.



I am pretty dang sure I'm forgetting something. Its early, and I've not had enough coffee. I cannot yet posts links so take a google search for the vio cheat sheet


Feel free to toss me a direct message if you wish.
This User Gave Thanks to RecoveryOne For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies

2. AIX

VIOS: Extend virtual disk assigned to running lpar?

Hello, VIOS 2.2.1.4 using IVM. I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user. Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Discussion started by: j_aix
2 Replies

3. Red Hat

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool Hi, I don't seem to have the Virtual Machine Manager Desktop tool set up on my RHEL6 Machine. The Linux machine runs off VMWare player and I'm not sure whether it is a VMWare software issue or a problem with the RHEL6... (2 Replies)
Discussion started by: accipiter1
2 Replies

4. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

5. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

6. UNIX for Dummies Questions & Answers

Have to log out of a virtual terminal twice in order to exit virtual terminals

Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it. I have to log out of a virtual terminal by typing exit, then exit again as in: woodnt@toshiba-laptop ~ $ exit logout woodnt@toshiba-laptop ~ $ exit logout I DON'T have to do this when I'm... (1 Reply)
Discussion started by: Narnie
1 Replies

7. Solaris

Is there any Virtual data center as we have Virtual Machine?

Do we have any Virtual Data Center software as we have Virtual Machine? I want to practice everything of Solaris practically but i don't have resources like data center which includes Servers, Data storages, switches, and other things. (2 Replies)
Discussion started by: karman0931
2 Replies

8. UNIX for Dummies Questions & Answers

Need to check all virtual hostnames/virtual IP's

Hi Folks, I want to check all the virtual hostname's/IP's of a host/ip. Currently we are using HP-UX and open SuSe. Please tell me the command to list out all virtual names of a particular host. many thanks in advance. (2 Replies)
Discussion started by: sai21
2 Replies

9. UNIX for Advanced & Expert Users

Differentiating between Virtual and non Virtual IP addresses

Hello, I would like to know if there is a command or any configuration file to find and differentiate the Virtual IP Addresses (of the Cluster Resource Group) and the IP Address of the Cluster Node. I observe that the ifconfig -a command returns all the IP addresses configured on the ... (1 Reply)
Discussion started by: vineetd
1 Replies
Login or Register to Ask a Question