Re: Mono on s390x

2009-02-02 Thread Florian Bilek
Neal,

SLE is SLES 10 SP2. I run it without any patches (simply installed from the
DVD) or with all patches applied. Same situation.

BTW: Is there a way to fall back to a previous level of the packages with
RPM? MONO has a lot of dependencies and when upgraded the packages to e.g.
1.2.6, I was not really able to reinstall the original level.

Florian

On Tue, Feb 3, 2009 at 2:00 AM, Neale Ferguson  wrote:

> What SLE level are you running?
>
> Neale
>
>
> On 2/2/09 5:21 PM, "Florian Bilek"  wrote:
>
> > Dear all,
> >
> > I was just confronted with a request to install for a proof of concept a
> > Wiki (Mindtouch DekiWiki) under Linux s390x.
> >
> >
> > The application uses parts developed on .NET which is supposed to run
> under
> > MONO 1.2.2 and above (I think it is tested till 1.2.6). There exists a
> > noarch.rpm to install it on SuSE SLES10.
> >
> > I cannot make it run under s390x and I don't know why. On purpose I have
> > installed a clean SP2. No patches are applied. I did in the beginning an
> > installation with all the recent updates and it shows the same problem.
> >
> > On the Intel server the aplication starts:
> >
> >
> > /srv/www/dekiwiki/bin # mono mindtouch.host.exe
> > Dream Host APIKEY: 4lyhe8CxvbUFcjEPe2yfQJwoT8kWDhmy
> >  initializing
> >  initialized 0.284694 secs
> >  ready 0.000598 secs
> > lena:/srv/www/dekiwiki/bin # mono --version
> > Mono JIT compiler version 1.2.2, (C) 2002-2006 Novell, Inc and
> Contributors.
> > www.mono-project.com
> > TLS:   __thread
> > GC:Included Boehm (with typed GC)
> > SIGSEGV:   normal
> > Disabled:  none
> >
> >
> > Under the s390x I get:
> > /srv/www/dekiwiki/bin # mono mindtouch.host.exe
> > Dream Host APIKEY: rqSaVo7CypVJIQ9ojyblTMBUariOt4sr
> >  initializing
> >
> > Unhandled Exception: System.TypeInitializationException: An exception was
> > thrown by the type initializer for MindTouch.Dream.DreamHostService --->
> > System.TypeInitializationException: An exception was thrown by the type
> > initializer for Microsoft.Win32.Registry --->
> > System.NotImplementedException: Registry hive 'ClassesRoot' is not
> > implemented.
> >   at Microsoft.Win32.RegistryKey.GetHiveName (RegistryHive hive)
> [0x0]
> >   at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId, IntPtr
> > keyHandle, Boolean remoteRoot) [0x0]
> >   at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId) [0x0]
> >   at (wrapper remoting-invoke-with-check)
> Microsoft.Win32.RegistryKey:.ctor
> > (Microsoft.Win32.RegistryHive)
> >   at Microsoft.Win32.Registry..cctor () [0x0] --- End of inner
> exception
> > stack trace ---
> >
> >   at <0x0> 
> >   at System.Environment.SetEnvironmentVariable (System.String variable,
> > System.String value) [0x0]
> >   at MindTouch.Dream.DreamHostService..cctor () [0x0] --- End of
> inner
> > exception stack trace ---
> >
> >   at <0x0> 
> >   at MindTouch.Dream.DreamHost..ctor (MindTouch.Dream.XDoc config)
> [0x0]
> >   at MindTouch.Dream.DreamConsoleHost+<>c__DisplayClass4.b__0 ()
> > [0x0]
> >   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
> >   at System.DebugUtil.Stopwatch (System.VoidHandler handler) [0x0]
> >   at MindTouch.Dream.DreamConsoleHost.Main (System.String[] args)
> [0x0]
> >  shutting down
> > dekiwiki:/srv/www/dekiwiki/bin #
> >
> > Mono JIT compiler version 1.2.2, (C) 2002-2006 Novell, Inc and
> Contributors.
> > www.mono-project.com
> > TLS:   __thread
> > GC:Included Boehm (with typed GC)
> > SIGSEGV:   normal
> > Disabled:  none
> > dekiwiki:/srv/www/dekiwiki/bin #
> >
> > Also DekiWiki wants packages that I can't find. Those are not relevant
> for
> > the .NET part but I am not sure if those are inegrated in other packages.
> >
> > For example: I find in YAST a package php5-xmlreader but NO
> php5-xmlwriter.
> > Also some of the php5-pear packages don't exist. Where can I get those?
> >
> > php5-pear-auth_sasl
> > php5-pear-date
> > php5-pear-db
> > php5-pear-file
> > php5-pear-log
> > php5-pear-mail
> > php5-pear-mail_mime
> > php5-xmlrpc
> > php5-xmlwriter
> >
> >
> > Any help would be highly apprechiated.
> >
> > --
> > Best regards
> >
> > Florian Bilek
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> >
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>



--
Best regards

Re: LPAR to LPAR communication

2009-02-02 Thread Alan Altmark
On Monday, 02/02/2009, Alan Altmark wrote:
> According to the "ESCON and FICON Channel-to-Channel Reference,"
> SB10-7034:
> - ESCON does not require an ESCON director, but requires two chpids.
> (Point-to-point.)
> - FICON requires a FICON director, but only a single chpid.  (No
> point-to-point.)
>
> There are no internal wrap channels within a chpid.

It has been pointed out to me even though the "Partition-to-Partition"
part of the book states the requirement for a FICON director/switch, the
subsequent section clearly states that point-to-point is allowed.

I guess I'll submit an RCF.  :-)

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Mono on s390x

2009-02-02 Thread Neale Ferguson
What SLE level are you running?

Neale


On 2/2/09 5:21 PM, "Florian Bilek"  wrote:

> Dear all,
>
> I was just confronted with a request to install for a proof of concept a
> Wiki (Mindtouch DekiWiki) under Linux s390x.
>
>
> The application uses parts developed on .NET which is supposed to run under
> MONO 1.2.2 and above (I think it is tested till 1.2.6). There exists a
> noarch.rpm to install it on SuSE SLES10.
>
> I cannot make it run under s390x and I don't know why. On purpose I have
> installed a clean SP2. No patches are applied. I did in the beginning an
> installation with all the recent updates and it shows the same problem.
>
> On the Intel server the aplication starts:
>
>
> /srv/www/dekiwiki/bin # mono mindtouch.host.exe
> Dream Host APIKEY: 4lyhe8CxvbUFcjEPe2yfQJwoT8kWDhmy
>  initializing
>  initialized 0.284694 secs
>  ready 0.000598 secs
> lena:/srv/www/dekiwiki/bin # mono --version
> Mono JIT compiler version 1.2.2, (C) 2002-2006 Novell, Inc and Contributors.
> www.mono-project.com
> TLS:   __thread
> GC:Included Boehm (with typed GC)
> SIGSEGV:   normal
> Disabled:  none
>
>
> Under the s390x I get:
> /srv/www/dekiwiki/bin # mono mindtouch.host.exe
> Dream Host APIKEY: rqSaVo7CypVJIQ9ojyblTMBUariOt4sr
>  initializing
>
> Unhandled Exception: System.TypeInitializationException: An exception was
> thrown by the type initializer for MindTouch.Dream.DreamHostService --->
> System.TypeInitializationException: An exception was thrown by the type
> initializer for Microsoft.Win32.Registry --->
> System.NotImplementedException: Registry hive 'ClassesRoot' is not
> implemented.
>   at Microsoft.Win32.RegistryKey.GetHiveName (RegistryHive hive) [0x0]
>   at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId, IntPtr
> keyHandle, Boolean remoteRoot) [0x0]
>   at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId) [0x0]
>   at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:.ctor
> (Microsoft.Win32.RegistryHive)
>   at Microsoft.Win32.Registry..cctor () [0x0] --- End of inner exception
> stack trace ---
>
>   at <0x0> 
>   at System.Environment.SetEnvironmentVariable (System.String variable,
> System.String value) [0x0]
>   at MindTouch.Dream.DreamHostService..cctor () [0x0] --- End of inner
> exception stack trace ---
>
>   at <0x0> 
>   at MindTouch.Dream.DreamHost..ctor (MindTouch.Dream.XDoc config) [0x0]
>   at MindTouch.Dream.DreamConsoleHost+<>c__DisplayClass4.b__0 ()
> [0x0]
>   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
>   at System.DebugUtil.Stopwatch (System.VoidHandler handler) [0x0]
>   at MindTouch.Dream.DreamConsoleHost.Main (System.String[] args) [0x0]
>  shutting down
> dekiwiki:/srv/www/dekiwiki/bin #
>
> Mono JIT compiler version 1.2.2, (C) 2002-2006 Novell, Inc and Contributors.
> www.mono-project.com
> TLS:   __thread
> GC:Included Boehm (with typed GC)
> SIGSEGV:   normal
> Disabled:  none
> dekiwiki:/srv/www/dekiwiki/bin #
>
> Also DekiWiki wants packages that I can't find. Those are not relevant for
> the .NET part but I am not sure if those are inegrated in other packages.
>
> For example: I find in YAST a package php5-xmlreader but NO php5-xmlwriter.
> Also some of the php5-pear packages don't exist. Where can I get those?
>
> php5-pear-auth_sasl
> php5-pear-date
> php5-pear-db
> php5-pear-file
> php5-pear-log
> php5-pear-mail
> php5-pear-mail_mime
> php5-xmlrpc
> php5-xmlwriter
>
>
> Any help would be highly apprechiated.
>
> --
> Best regards
>
> Florian Bilek
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Mono on s390x

2009-02-02 Thread Florian Bilek
Dear all,

I was just confronted with a request to install for a proof of concept a
Wiki (Mindtouch DekiWiki) under Linux s390x.


The application uses parts developed on .NET which is supposed to run under
MONO 1.2.2 and above (I think it is tested till 1.2.6). There exists a
noarch.rpm to install it on SuSE SLES10.

I cannot make it run under s390x and I don't know why. On purpose I have
installed a clean SP2. No patches are applied. I did in the beginning an
installation with all the recent updates and it shows the same problem.

On the Intel server the aplication starts:


/srv/www/dekiwiki/bin # mono mindtouch.host.exe
Dream Host APIKEY: 4lyhe8CxvbUFcjEPe2yfQJwoT8kWDhmy
 initializing
 initialized 0.284694 secs
 ready 0.000598 secs
lena:/srv/www/dekiwiki/bin # mono --version
Mono JIT compiler version 1.2.2, (C) 2002-2006 Novell, Inc and Contributors.
www.mono-project.com
TLS:   __thread
GC:Included Boehm (with typed GC)
SIGSEGV:   normal
Disabled:  none


Under the s390x I get:
/srv/www/dekiwiki/bin # mono mindtouch.host.exe
Dream Host APIKEY: rqSaVo7CypVJIQ9ojyblTMBUariOt4sr
 initializing

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for MindTouch.Dream.DreamHostService --->
System.TypeInitializationException: An exception was thrown by the type
initializer for Microsoft.Win32.Registry --->
System.NotImplementedException: Registry hive 'ClassesRoot' is not
implemented.
  at Microsoft.Win32.RegistryKey.GetHiveName (RegistryHive hive) [0x0]
  at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId, IntPtr
keyHandle, Boolean remoteRoot) [0x0]
  at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId) [0x0]
  at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:.ctor
(Microsoft.Win32.RegistryHive)
  at Microsoft.Win32.Registry..cctor () [0x0] --- End of inner exception
stack trace ---

  at <0x0> 
  at System.Environment.SetEnvironmentVariable (System.String variable,
System.String value) [0x0]
  at MindTouch.Dream.DreamHostService..cctor () [0x0] --- End of inner
exception stack trace ---

  at <0x0> 
  at MindTouch.Dream.DreamHost..ctor (MindTouch.Dream.XDoc config) [0x0]
  at MindTouch.Dream.DreamConsoleHost+<>c__DisplayClass4.b__0 ()
[0x0]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
  at System.DebugUtil.Stopwatch (System.VoidHandler handler) [0x0]
  at MindTouch.Dream.DreamConsoleHost.Main (System.String[] args) [0x0]
 shutting down
dekiwiki:/srv/www/dekiwiki/bin #

Mono JIT compiler version 1.2.2, (C) 2002-2006 Novell, Inc and Contributors.
www.mono-project.com
TLS:   __thread
GC:Included Boehm (with typed GC)
SIGSEGV:   normal
Disabled:  none
dekiwiki:/srv/www/dekiwiki/bin #

Also DekiWiki wants packages that I can't find. Those are not relevant for
the .NET part but I am not sure if those are inegrated in other packages.

For example: I find in YAST a package php5-xmlreader but NO php5-xmlwriter.
Also some of the php5-pear packages don't exist. Where can I get those?

php5-pear-auth_sasl
php5-pear-date
php5-pear-db
php5-pear-file
php5-pear-log
php5-pear-mail
php5-pear-mail_mime
php5-xmlrpc
php5-xmlwriter


Any help would be highly apprechiated.

--
Best regards

Florian Bilek

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: LPAR to LPAR communication

2009-02-02 Thread Alan Altmark
On Monday, 02/02/2009 at 01:37 EST, Rob van der Heij 
wrote:
> On Mon, Feb 2, 2009 at 7:06 PM, Mark Pace  wrote:
>
> > If you're using a FICON chpid can't you just share the CHPID and
control
> > unit?  I didn't think a physical cable was require for FICON FCTC.
>
> I think that with FICON you also need a CNC and CTC device to couple.
> The CNC type chpid definition tells the channel to play control unit
> too. But I'm willing to learn...

According to the "ESCON and FICON Channel-to-Channel Reference,"
SB10-7034:
- ESCON does not require an ESCON director, but requires two chpids.
(Point-to-point.)
- FICON requires a FICON director, but only a single chpid.  (No
point-to-point.)

There are no internal wrap channels within a chpid.

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: LPAR to LPAR communication

2009-02-02 Thread Clovis Pereira

I had some problems with this some years ago. So, I learn something...
CNC-CTC (SCTC) are for ESCON channels.
The 3088 (or BCTC) are for parallel channels, a pair at each side.
FICON channels can be defined both as FCTC, and can be one at each side,
not necessary a pair.
And with a Ficon Director, we can share a unique FICON channel, defining
two or more LCUs, one for each LPAR. There are a document about this
somewhere into the IBM world.
Regards,
Clovis



   
 Rob van der Heij  
  To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU 
 390 Port   cc
   Subject
   Re: LPAR to LPAR communication  
   
 02/02/2009 16:35  
   
   
 Please respond to 
 Linux on 390 Port 
   
   
   




On Mon, Feb 2, 2009 at 7:06 PM, Mark Pace  wrote:

> If you're using a FICON chpid can't you just share the CHPID and control
> unit?  I didn't think a physical cable was require for FICON FCTC.

I think that with FICON you also need a CNC and CTC device to couple.
The CNC type chpid definition tells the channel to play control unit
too. But I'm willing to learn...

Lets have some beers and I will tell you stories about real 3088
devices ;-)

Rob

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

<><><>

Re: LPAR to LPAR communication

2009-02-02 Thread Clovis Pereira

>>I didn't think a physical cable was require for FICON FCTC.

Mark, If I understand this point, you are talking  about to use a unique
CHPID for a FCTC, acting as Send/Receiver.
This one-channel solution needs at least one fiber cable to connect the
CHPID to a Ficon Director, but could be one already in use for other
devices.
The solution that doesn't need any cable is Hipersocket, when  the LPARs
are on the same CEC.
Regards, Clovis.



   
 Mark Pace 
  To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU 
 390 Port   cc
   Subject
   Re: LPAR to LPAR communication  
   
 02/02/2009 16:06  
   
   
 Please respond to 
 Linux on 390 Port 
   
   
   




Rob -
If you're using a FICON chpid can't you just share the CHPID and control
unit?  I didn't think a physical cable was require for FICON FCTC.

On Mon, Feb 2, 2009 at 8:36 AM, Rob van der Heij  wrote:

> On Mon, Feb 2, 2009 at 2:13 PM, Bernie Wu  wrote:
>
> > Hi Listers,
> > We have a 2 LPARS, each hosting one VM, which in turn hosts several
Linux
> guests.
> > I would like to be able to query the number of guests on another LPAR
> from a linux guest on a different LPAR.  Is this possible and if so, what
do
> I have to do to set it up ?
>
> That function is provided (and a lot more) when you tie the systems
> together with CSE. Apart from a steady hand, it requires CTC
> connections between the LPARs (two FICON chpids and a short fiber).
> The z/VM manual is not really light reading material, but there have
> been some presentations and (red/rose) papers on the subject.
>
> Rob
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>



--
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

<><><>

Re: LPAR to LPAR communication

2009-02-02 Thread Rob van der Heij
On Mon, Feb 2, 2009 at 7:06 PM, Mark Pace  wrote:

> If you're using a FICON chpid can't you just share the CHPID and control
> unit?  I didn't think a physical cable was require for FICON FCTC.

I think that with FICON you also need a CNC and CTC device to couple.
The CNC type chpid definition tells the channel to play control unit
too. But I'm willing to learn...

Lets have some beers and I will tell you stories about real 3088 devices ;-)

Rob

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: LPAR to LPAR communication

2009-02-02 Thread Mark Pace
Rob -
If you're using a FICON chpid can't you just share the CHPID and control
unit?  I didn't think a physical cable was require for FICON FCTC.

On Mon, Feb 2, 2009 at 8:36 AM, Rob van der Heij  wrote:

> On Mon, Feb 2, 2009 at 2:13 PM, Bernie Wu  wrote:
>
> > Hi Listers,
> > We have a 2 LPARS, each hosting one VM, which in turn hosts several Linux
> guests.
> > I would like to be able to query the number of guests on another LPAR
> from a linux guest on a different LPAR.  Is this possible and if so, what do
> I have to do to set it up ?
>
> That function is provided (and a lot more) when you tie the systems
> together with CSE. Apart from a steady hand, it requires CTC
> connections between the LPARs (two FICON chpids and a short fiber).
> The z/VM manual is not really light reading material, but there have
> been some presentations and (red/rose) papers on the subject.
>
> Rob
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>



--
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: LPAR to LPAR communication

2009-02-02 Thread Rob van der Heij
On Mon, Feb 2, 2009 at 2:13 PM, Bernie Wu  wrote:

> Hi Listers,
> We have a 2 LPARS, each hosting one VM, which in turn hosts several Linux 
> guests.
> I would like to be able to query the number of guests on another LPAR from a 
> linux guest on a different LPAR.  Is this possible and if so, what do I have 
> to do to set it up ?

That function is provided (and a lot more) when you tie the systems
together with CSE. Apart from a steady hand, it requires CTC
connections between the LPARs (two FICON chpids and a short fiber).
The z/VM manual is not really light reading material, but there have
been some presentations and (red/rose) papers on the subject.

Rob

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux "appliance"

2009-02-02 Thread Robin Atwood
On Monday 02 Feb 2009, Rick Troth wrote:
> On Sat, 31 Jan 2009, Mark Post wrote:
> > Are you talking about Hercules?
> >  If so, contact me off list, and we'll set up
> > some time to take a look at things together.
>
> Thanks much, Mark.
> The particular present pain is purely networking
> and not specific to Hercules.

See:
Linux on System z
Device Drivers, Features, and Commands May, 2008
SC33-8411-00

Part 3, chapters 9 - 13 have all the gory details (basically a lot of echo
commands).

HTH
-Robin
--
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: LPAR to LPAR communication

2009-02-02 Thread Michael MacIsaac
Bernard,

> I would like to be able to query the number of guests on another LPAR
from a linux guest on a different LPAR.

How about:
ssh  vmcp q n

This assumes SSH communication is possible between the Linuxes and vmcp is
installed and loaded.

"Mike MacIsaac"(845) 433-7061

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: LPAR to LPAR communication

2009-02-02 Thread Mark Perry
Bernie Wu wrote:
> Hi Listers,
> We have a 2 LPARS, each hosting one VM, which in turn hosts several Linux 
> guests.
> I would like to be able to query the number of guests on another LPAR from a 
> linux guest on a different LPAR.  Is this possible and if so, what do I have 
> to do to set it up ?
>
If linuxa1 is on one VM, and linuxb1 is on the other VM, and both guests
have ssh (using keys is nicer) and vmcp installed and VM commands are
authorized, then...

linuxa1 #: ssh linuxb1 vmcp q users
or
linuxa1 #: ssh linuxb1 vmcp q n

You could even use pipes and grep, perl or whatever you need to display
the results in a format you required.

mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


LPAR to LPAR communication

2009-02-02 Thread Bernie Wu
Hi Listers,
We have a 2 LPARS, each hosting one VM, which in turn hosts several Linux 
guests.
I would like to be able to query the number of guests on another LPAR from a 
linux guest on a different LPAR.  Is this possible and if so, what do I have to 
do to set it up ?

TIA
Bernie Wu


The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. This message may 
be an attorney-client communication and/or work product and as such is 
privileged and confidential. If the reader of this message is not the intended 
recipient or an agent responsible for delivering it to the intended recipient, 
you are hereby notified that you have received this document in error and that 
any review, dissemination, distribution, or copying of this message is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by e-mail, and delete the original message.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Missing DASD cylinders. DASD corrupted?

2009-02-02 Thread Jonathan R Nolting

MAINT's virtual 405 is also defined in USER DIRECT.  Based on your Q V 405
comment from MAINT, it appears this is some type of system minidisk on real
volume 540W01.  This is most likely an expected CMS disk for the system and
is NOT a minidisk you probably want your Linux guest to access.

There is no relationship - in most case - between virtual addresses across
different VMs like MAINT and LINUX1.  MAINT has a large number of virtual
addresses related only to system administration.  Also, in most cases,
there is no relationship between real/physical addresses and guest virtual
addresses like 0405.

For your LINUX1 guest, VADDR 191 is 50 cylinders (1-50) which is probably a
bit large for a Linux 191 CMS disk.  The reason your original VADDR 100
failed at logon was because you exceeded the length of the 3390-3 MV0405
(51 + 3338 cyls).  VADDR 101 appears to be a full pack minidisk covering
all of MV0406.

You need to MAP MV0405 to find out what space is available for VADDR 100
after your 191 minidisk and any other minidisks on that volume.  That map
should show that cyls 51-156 are available for VADDR 100.  If you want to
allocate MV0405 as a full pack minidisk to LINUX1, you will need to move
the VADDR 191 to another volume and then define VADDR 100 the same as VADDR
101 - 0001 for 3338 on MV0405.

Jon Nolting - System z IT Architect (zITA)
IBM US West IMT based near Seattle
(206) 587-2244 (Work) - T/L 277-244
(425) 281-5750 (Cell)
(206) 587-2244 (Fax)
(425) 222-7969 (Home)



   
  From:   Kok Leong Chan 
   
  To: LINUX-390@VM.MARIST.EDU  
   
  Date:   02/01/2009 07:59 PM  
   
  Subject:Re: Missing DASD cylinders. DASD corrupted?  
   
  Sent by:Linux on 390 Port   
   





Hi,

Thanks Dave (Jonathan and Bernie too)  for the hints. Yes, you're all
correct, I do have a virtual/real address issue.
But something about this still escapes me:

As the MAINT user, I have a virtual dasd at 0405:

 q v 405
 DASD 0405 3390 540W01 R/W156 CYL ON DASD  0403 SUBCHANNEL = 003

I also have a real dasd at 0405 and the volume serial is MV0405:

 q dasd details 0405
 0405  CUTYPE = 2107-E8, DEVTYPE = 3390-0A, VOLSER = MV0405, CYLS = 3339
CACHE DETAILS:  CACHE NVS CFW DFW PINNED CONCOPY
 -SUBSYSTEM   YY   Y   -N   N
-DEVICE   Y-   -   YN   N
DEVICE DETAILS: CCA = 65, DDC = --
DUPLEX DETAILS: --
   CU DETAILS: SSID = 0085, CUNUM = 0001


Now in the USER DIRECT entry for user LINUX1, there's a MDISK for virtual
DASD 100:

 USER LINUX1 LINUX1 1024M 1024M g
  INCLUDE LINDFLT
  MDISK 191 3390 0001 050 MV0405 MR READ WRITE MULTIPLE
  MDISK 100 3390 0051 3338 MV0405 MR READ WRITE MULTIPLE
  MDISK 101 3390 0001 3338 MV0406 MR READ WRITE MULTIPLE

When I logon as LINUX1, I see this:

 LOGON LINUX1
 00: HCPLNM1151E LINUX1 0100 has not been linked because it is not within
CP volme extents.

And guest LINUX1 won't have a virtual DASD at 100.

After some testing,  virtual DASD 0100 will link when I set the cylinder
range to be 51 to 156 instead.
It seems that LINUX1 doesn't get the real DASD 0405 but the virtual DASD
0405  instead.
Am I missing something?

Chan K. L.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

<><>