Page 1 of 1

Adding existing zLinux to z/VM

PostPosted: Tue Dec 18, 2012 4:30 pm
by speen
Hello,

The case is, we have 10 Linux LPARS. We want to migrate those Linux systems to run under z/VM on 1 LPAR.
So basically, I wanna run already installed zLinux on DASD, under VM, without minidisks.
Can I create a user in z/VM with native dasds, not minidisks?
Is there any solution for that?

Thank you for your help and advices.
Best Regards.

Re: Adding existing zLinux to z/VM

PostPosted: Wed Dec 19, 2012 1:46 am
by enrico-sorichetti
Can I create a user in z/VM with native dasds, not minidisks?
Is there any solution for that?


IIRC the dedicate statement in the VM directory does just that

but then depending on the sophistication level of Your startup You might want also to have
a CP/CMS environment for some smart processing before IPLing Linux

googling with IBM Redbooks linux zvm

You might find
http://www.redbooks.ibm.com/abstracts/sg246695.html
or
http://www.vm.ibm.com/pubs/redbooks/

and much more

Re: Adding existing zLinux to z/VM

PostPosted: Thu Dec 20, 2012 7:25 pm
by speen
Thank you for your help! DEDICATE works!
I have another question if anybody can help:
1. How to connect virtual linux with hipersocket? I don't think it can be done with vswitch, right?
2. I don't exactly understand vswitch though!
What I did now is to define it in System Config (DEFINE VSWITCH VSW1 RDEV rdev)
In User config made profile with (COMMAND SET VSWITCH VSW1 GRANT &USERID
COMMAND DEFINE NIC 0100 TYPE QDIO
COMMAND COUPLE 0100 TO SYSTEM VSW1)
...and included this profile to user.
I think, if I want to run dedicated linux with existing configuration, I need to change vswitch vdev. How can I do that? Now is 0600.


q vswitch vsw1 gives me:
VSWITCH SYSTEM VSW1 Type: QDIO Connected: 2 Maxconn: INFINITE
PERSISTENT RESTRICTED NONROUTER Accounting: OFF
USERBASED
VLAN Unaware
MAC address: 02-00-00-00-00-01 MAC Protection: OFF
State: Ready
IPTimeout: 5 QueueStorage: 8
Isolation Status: OFF
Uplink Port:
RDEV: 0103.P00 VDEV: 0600 Controller: DTCVSW1


When I logon to linux user:
...
00: NIC 0100 is created; devices 0100-0102 defined
00: NIC 0100 is connected to VSWITCH SYSTEM VSW1
...


Any ideas and help? Is the configuration on z/VM correct and I need to reconfigure Linux?

Thanks!

Re: Adding existing zLinux to z/VM

PostPosted: Thu Dec 20, 2012 7:35 pm
by speen
One more question...can OSA Device number for VSWITCH be the same as OSA starting device number?

Re: Adding existing zLinux to z/VM

PostPosted: Thu Dec 20, 2012 7:45 pm
by enrico-sorichetti
what about reading Yourself
http://www.vm.ibm.com/networking/

nothing that You could not have found Yourself by just googling zvm qdio linux
the first page is just full of useful links