Adding existing zLinux to z/VM



IBM OS/370, MVS, OS/390, Linux, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VM, z/VSE, z/OS, z/OS.e etc...

Adding existing zLinux to z/VM

Postby speen » Tue Dec 18, 2012 4:30 pm

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.
speen
 
Posts: 4
Joined: Tue Dec 18, 2012 4:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding existing zLinux to z/VM

Postby enrico-sorichetti » Wed Dec 19, 2012 1:46 am

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2957
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 159 times

Re: Adding existing zLinux to z/VM

Postby speen » Thu Dec 20, 2012 7:25 pm

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!
speen
 
Posts: 4
Joined: Tue Dec 18, 2012 4:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding existing zLinux to z/VM

Postby speen » Thu Dec 20, 2012 7:35 pm

One more question...can OSA Device number for VSWITCH be the same as OSA starting device number?
speen
 
Posts: 4
Joined: Tue Dec 18, 2012 4:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding existing zLinux to z/VM

Postby enrico-sorichetti » Thu Dec 20, 2012 7:45 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2957
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 159 times


Return to Operating Systems

 


  • Related topics
    Replies
    Views
    Last post