Upgrade SLES10 SP2

2024-06-24 Thread Berry van Sleeuwen
Hi All,

We have a server (on VMware, so x86) that is still running on SLES10 SP2. I'm 
looking for an upgrade path. The official statement is that in order to go to 
newer releases we first must upgrade to SLES10 SP3, next to SLES10 SP4, next to 
SLES11 SP4 and then we can move into SLES12 SP5 or SLES15. Obviously all 
upgrades must be done using an offline upgrade, so boot from the installation 
media to perform an upgrade.

However, the SLES10 DVD's are no longer available. Novell doesn't provide any 
SLES anymore and Suse only has SLES starting SLES11 SP4. I managed to obtain a 
copy of SLES10 SP4 but I don't have SLES10 SP3.

Would it be possible to perform an upgrade from SLES10 SP2 directly into SLES10 
SP4? The official statement is that they didn't test a direct upgrade from SP2 
to SP4 but that leaves the question if it's actually impossible or just not 
advised. Similarly, we do have a few SLES10 SP2 on s390 but I only have the 
SLES10 SP2 DVD for s390 and no SP4 for s390. So I can't test it myself in s390.



Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven
* +31 (0)6 22564276
[cid:image001.png@01DAC645.6C732720]  
[cid:image002.png@01DAC645.6C732720]


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


Re: Start DB2 Connect at linux boot

2024-04-10 Thread Berry van Sleeuwen

It's quite a long time ago we had DB2 Connect, but the startup of DB2
connect was included in the regular Linux SYSV init startup. I guess the
scripts came with DB2 connect. I don't know if current versions are
adjusted to SystemD. But in any case, you need to include it in the
regular startup. Also SYSV init scripts can be included in SystemD.

Regards, Berry.

Op 09-04-2024 om 18:34 schreef Tom Huegel:

I'm a LINUX novice. I need to have DB2 CONNECT autostart at LINUX boot
time. How do I do that? LINUX is SUSE.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: [DKIM] SUSE 11 guest under z16

2024-03-07 Thread Berry van Sleeuwen

Hi Victor,

We have a couple of SLES11 SP4 and a SLES11 SP3 on z16. In fact, when we 
moved to our z13 some years ago we did see a SLES10 SP4 fail (migrated 
to SLES11 SP4) but we still have a few SLES10 SP2 machines that haven't 
migrated into a newer version yet.


Indeed it might be a problem when the customer doesn't want to migrate, 
but I think you realy should point out the risk to them. Apart from 
out-of-service (no security updates), any hardware migration might 
render the machine inoperable. Back with that SLES10 SP4 we had to 
save/rebuild the server into SLES11 and that took a week to get it 
running again (luckely we did manage to rescue the data). Your gun, your 
foot, but I rather have someone else shoot their own foot.


Regards, Berry.

Op 07-03-2024 om 19:38 schreef Victor Echavarry:

Does anyone have a SUSE 11 guest running under z16. We are buying a z16 and we 
have a couple of SUSE11 running and the customer is not interested to migrate 
soon.

Thanks,

Víctor Echavarry
System Programmer
EVERTEC LLC

WARNING: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of EVERTEC, 
Inc. or its affiliates. Finally, the integrity and security of this message 
cannot be guaranteed on the Internet, and as such EVERTEC, Inc. and its 
affiliates accept no liability for any damage caused by any virus transmitted 
by this email.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: Increase dynamically memory to Linux guest

2024-02-21 Thread Berry van Sleeuwen
Hi Victor,

In the z/VM guest, you need to define STANDBY storage. If you didn't you need 
to restart the guest. It doesn't depend on the VM and Linux version, it's the 
way guest storage works. (well, some things have changed recently in z/VM with 
CONFIGURED, STANDBY and RESERVED storage when dynamic memory was introduced but 
the general idea remains the same. I don't know for sure if this has had any 
effect on the internals of Linux guests, I have only played with Dynamic Memory 
options in a CMS machine.)

USER LNXGUEST  AUTOONLY 4G   8G
   COMMAND DEFINE STORAGE 4G STANDBY 4G

Here, the guest will have an initial 4G. There is an additional 4G available 
(MAXSTOR=8G) and this is defined as standby.

You can't execute the define command after the machine has booted since the 
storage will be cleared (example in my CMS user):
define storage 512m standby 1G
STORAGE = 512M MAX = 2G INC = 2M STANDBY = 1G RESERVED = 0
Storage cleared - system reset.

Within the linux guest the state of the memory in 256MB segments, the initial 
memory is online, the standby memory is offline:
grep -r --include="state" "line" /sys/devices/system/memory/

If you have offline segments, you can set them to online.
Example: echo online > /sys/devices/system/memory/memory32/state

So in order to increase/decrease memory dynamically, you do need to prepare 
that beforehand.

Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven

-Original Message-
From: Linux on 390 Port  On Behalf Of Victor Echavarry
Sent: Tuesday, 20 February 2024 21:55
To: LINUX-390@VM.MARIST.EDU
Subject: Increase dynamically memory to Linux guest

Caution: External email. Do not open attachments or click links, unless this 
email comes from a known sender and you know the content is safe.


Is there a way to add memory to a Linux guest without turn off and turn on the 
guest. The guest are on SUSE 15 SP5 and the VM is 7.2

Regards,

Víctor Echavarry
System Programmer
EVERTEC LLC


WARNING: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of EVERTEC, 
Inc. or its affiliates. Finally, the integrity and security of this message 
cannot be guaranteed on the Internet, and as such EVERTEC, Inc. and its 
affiliates accept no liability for any damage caused by any virus transmitted 
by this email.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: CRLs on Linux

2024-01-09 Thread Berry van Sleeuwen
When I created my own certificates I only had CRL's. Today we use company 
certificates and they too use CRL's but the signing certificate also has OCSP 
configured in the certificate.

Regardless if it's using CRLs or OCSP, obviously when that server is not 
available it might be a problem. I think it depends on the application, your 
application might be configured to validate the certificate. I didn't really 
check what the options are within Linux, our Linux servers use certificates but 
the clients are mostly Windows users.

My Bluezone can be configured to check for certificate revocation but I have 
set it to not check the certificate status. I don't know for sure if that was 
the default or that I had set it this way myself.

Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven

-Original Message-
From: Linux on 390 Port  On Behalf Of Phil Smith III
Sent: Monday, 8 January 2024 21:33
To: LINUX-390@VM.MARIST.EDU
Subject: Re: CRLs on Linux

Caution: External email. Do not open attachments or click links, unless this 
email comes from a known sender and you know the content is safe.


I asked this quite a while ago (last June!) and nobody responded. Whether 
that's because nobody knows or because (I now realize) I might not have asked 
it very well is unclear, so here I am asking again.



Do people use CRLs on Linux?



My understanding is that CRLs are mostly a Windows thing, but that some stacks 
on other platforms do support them. For example, I saw something (not verified) 
suggesting that if you fetch the CRL lists manually, cURL will validate the CDP 
info. That's certainly not as integrated as on Windows-which is arguably not a 
bad thing.



IOW, on Windows, "of course" they work; but if they still mostly (I think) 
don't work on Linux et al., are people even bothering? I suspect not. Plus they 
add latency, and possible failure. On Windows we see users who renew a 
certificate and the new one has CDP info in it, and suddenly something doesn't 
work because the server they're testing it on is internal and can't get to the 
CRL server. Since they had no expectation that it would even try, this is a 
surprise and a problem. Our solution was to make it disable-able (by the 
developer, not the end-user), which seems to sort of miss the point of having 
CRLs in the first place, but what other choice is there? And  yes, that's a 
separate and quite different question!




--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: zip for vm

2024-01-04 Thread Berry van Sleeuwen
For who doesn't follow the IBMVM list, Leland was unaware the 
homerow.net site was down. It's reactivated.


Regards, Berry.

Op 03-01-2024 om 19:34 schreef Jack Woehr:

On 1/3/24 11:22, Alan Altmark wrote:

I'm a fan of VMARC, as the files in it can be viewed on a Windows laptop
  with an app called "vmagui" (dunno if it's available for Linux or 
Mac).


vmagui for windows seems to have gone missing with homerow.net

For Linux and MacOS there's https://github.com/rvjansen/vma

--
Jack Woehr   # Zen is a finger pointing at the moon.
IBM Champion 2021-2023   # Some want to see the moon.
http://www.softwoehr.com  # Some want to discuss the finger.

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

http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: [DKIM] zip for vm

2024-01-03 Thread Berry van Sleeuwen

There is ZIP for CMS available, but VMARC is more easy.

The commercial PKZIP is available for CMS (IIRC it was also available
for zOS and maybe VSE).

There is info-zip. It includes versions for VMCMS and MVS. (See
https://infozip.sourceforge.net/ for information and ftp locations.)

Regards, Berry.

Op 03-01-2024 om 17:59 schreef Levy, Alan:

Is there a program that will allow me to zip up all files on a VM minidisk ?





This email, including any attachments, may contain confidential, privileged, or 
otherwise legally protected information intended solely for the person(s) or 
entity(ies) to which it is addressed. If you are not the intended recipient, 
you are hereby notified that any dissemination, distribution, copying, or other 
use of the email or its attachments is prohibited. Please immediately notify 
the sender of your access to the email or its attachments by replying to the 
message and delete all copies.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: zip for vm

2024-01-03 Thread Berry van Sleeuwen
Hm, I missed that homerow.net is offline. Only some months ago I had 
visited the site. Luckely I got all of it.


The vma at rvjansen is the 12.081 version, but Leland had two newer 
versions, 20.226 and 22.204, though it looks like the changes are 
included in this 12.081 version as well.


Compiling, both cli and gui version, is quite easy. The hardest part is 
to make sure the prerequisites are available.


Regards, Berry.

Op 03-01-2024 om 19:34 schreef Jack Woehr:

On 1/3/24 11:22, Alan Altmark wrote:

I'm a fan of VMARC, as the files in it can be viewed on a Windows laptop
  with an app called "vmagui" (dunno if it's available for Linux or 
Mac).


vmagui for windows seems to have gone missing with homerow.net

For Linux and MacOS there's https://github.com/rvjansen/vma

--
Jack Woehr   # Zen is a finger pointing at the moon.
IBM Champion 2021-2023   # Some want to see the moon.
http://www.softwoehr.com  # Some want to discuss the finger.

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

http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: email and crypto

2023-12-05 Thread Berry van Sleeuwen

Hi Rick,

At work I have Outlook, at home I have Thunderbird (yes, Linux only, I
use opensuse for a long time already).

At work, I have used encrypted mail and some colleagues do as well, but
I don't like it all that much. (Actually I was glad it was removed when
I installed my new PC, I didn't bother to reactivate it afterwards.) If
anything, when the first encrypted mail arrives it takes my PC quite a
long time to decide it has to open the smart card for validation, and
every time the smart card is used in another application (browser, putty
etc) it has to revalidate the smart card. And that with an application
that already often hangs, I need to reboot multiple times a week to get
my outlook operational again.

At home, with thunderbird, I don't recall ever doing something with
encrypted mail.

Regards, Berry.

Op 05-12-2023 om 19:19 schreef Rick Troth:

That's cryptoGRAPHY, not to be konfoozed with cryptoCURRENCY.

Any of you using Thunderbird? And if so, are you using the (now)
built-in PGP support?

Last week I noticed a LI post by someone from this circle. He had made a
donation to Thunderbird (and we thank you!).

So I asked this colleague privately if he had delved into the OpenPGP
functionality which has been built-into Thunderbird for like three years
already. He had not. He and I will circle back on that, but I then
wondered about the rest of the group. So I must ask.

I've been a user of, and a fan of, and a promoter of, PGP for many
years. There are lots of tools now for security and privacy, and a
handful of trust webs supporting them. The PGP "web of trust" is the
most important because it is peer-to-peer. Not to slam the PKI model,
but it has drawbacks when used at the lowest level. I could discuss, but
let's do so in a separate thread.
And don't forget that if you're running Linux, you ALREADY HAVE PGP in
house, even if you don't know the value.

The downside to PGP is its upside. Being peer-to-peer it doesn't scale
well in large environments (enterprise, gov/mil, consumer). As a result,
it has always been kind of a side-show. But then, it's a standard part
of Linux. And now with OpenPGP built-into Thunderbird (and other email
clients, from way before TB), it's much much easier to start using it,
and then shortly to get into the web of trust.

So that's the question: are any of you using PGP via Thunderbird? (Or
using PGP at all?) I'd like to hear from you. Maybe converse with myself
and our unnamed colleague.


It's all about trust.


-- R; <><

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390
or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: [DKIM] Re: CGI not executed

2023-08-01 Thread Berry van Sleeuwen

Hi Grant,

Sigh, the mail ended up in the spam box, both at home and at work. 
Pretty annoying, it looks like more and more mails end up in the spam 
box, especially DKIM messages. At home it's annoying as I have to 
regurarly check my ISP spam box, useless at work as spam is deleted 
automatically by our mail servers.


Anyway, after some searching I found it, the cgi had to be configured in 
mod_mime-defaults.conf as well. So there are at least three options to 
check, if any of them fails it will not work.


Regards, Berry.

Op 25-07-2023 om 15:56 schreef Grant Taylor:

On 7/25/23 7:40 AM, Berry van Sleeuwen wrote:

Hi All,


Hi

Last week we migrated a linux guest from SLES12 to SLES15 SP4. We are 
running Samba and Apache in the server. Apache has a page for the 
users to change their Samba password. The cgi is executed in the html 
as: 


As a long time Apache user, that looks more like what I would describe 
as Server Side Include (SSI) than CGI.


   

I'm used to CGI having a more complex configuration at the server 
configuration level.


This seems to me like you are leveraging a sub-set of the SSI exec 
feature to call the CGI.


When we migrated the machine the cgi was not executed but I don't 
understand why not There are no error messages at all. The html page 
is requested and it does show the content outside of the CGI 
generated content. Even running Apache with the highest debug level 
didn't give any pointer to the error. But even more disturbing, at 
some point it suddenly start working and I don't know why. We did 
tinker with the machine, because we also had some other PHP related 
issues in the application, but as far as I know nothing related to 
the cgi was changed. I tried to replace the program with a new 
compiled version but that didn't help so I went back to the old program.
Is there a chance that any of the other work you did on the first 
system was related to SSI?


Do any SSI directives work?

One of the easiest ways to tell if SSI is being processed at all is to 
look at the page source in the client web browser and see if you see 
the raw string or not:


   

If you see the raw string client side, then SSI didn't parse ~> 
replace it.


I make extensive use of SSI's #include feature and occasionally make 
use of SSI' #exec feature.  But I don't remember the last time I've 
used SSI's #cgi feature.  As such I'd have to refer to documentation 
to refresh myself on SSI's #cgi feature to see how it's configured & 
utilized.



Today I have migrated another Samba machine, once again the cgi is
not executed. How can I find what the reason is?
I'd start by checking to see if the string shows up in the page served 
tot he client.


Try adding something like the following to a page to see if it shows 
the date when viewed:


   

Finally, I've always found Apache HTTPD's documentation to be quite 
helpful when chasing minutia.


   Link - Apache httpd Tutorial: Introduction to Server Side Includes
    - https://httpd.apache.org/docs/2.4/howto/ssi.html

The "The exec Element" section of the following page talks about SSI 
#exec's cgi support:


   Link - Apache Module mod_include -> Available Elements -> The exec 
Element

    - https://httpd.apache.org/docs/2.4/mod/mod_include.html#elements

The following page is more of the CGI configuration that I'm used to.

   Link - Apache Tutorial: Dynamic Content with CGI
    - https://httpd.apache.org/docs/2.4/howto/cgi.html

I would start by chasing this as an SSI issue more than I would a CGI 
issue.  Make sure that SSI is working.




Grant. . . .

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

http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


CGI not executed

2023-07-25 Thread Berry van Sleeuwen
Hi All,

Last week we migrated a linux guest from SLES12 to SLES15 SP4. We are running 
Samba and Apache in the server. Apache has a page for the users to change their 
Samba password. The cgi is executed in the html as:


When we migrated the machine the cgi was not executed but I don't understand 
why not There are no error messages at all. The html page is requested and it 
does show the content outside of the CGI generated content. Even running Apache 
with the highest debug level didn't give any pointer to the error. But even 
more disturbing, at some point it suddenly start working and I don't know why. 
We did tinker with the machine, because we also had some other PHP related 
issues in the application, but as far as I know nothing related to the cgi was 
changed. I tried to replace the program with a new compiled version but that 
didn't help so I went back to the old program.

Today I have migrated another Samba machine, once again the cgi is not 
executed. How can I find what the reason is?

Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven
* +31 (0)6 22564276
[cid:image001.png@01D9BF05.1D757940]  
[cid:image002.png@01D9BF05.1D757940]



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


Re: Intermitted TLS error after SLES15 upgrade

2023-07-14 Thread Berry van Sleeuwen
The issue is solved, Jeff also has taken a look and explained the process a bit 
more.

In the apache SSL configuration there are two options that need to be disabled, 
SSLSessionCache and SSLSessionTickets.

   SSLSessionCachenone
#
#SSLSessionCache dbm:/var/lib/apache2/ssl_scache
#

#
#SSLSessionCache shmcb:/var/lib/apache2/ssl_scache(512000)
#

#SSLSessionCacheTimeout  300

SSLSessionTickets off

SSLSessionCache is normally enabled, through the mod_socache_shmcb module. I 
have set SSLSessionCache to off. Even tough there are no PSK ciphers enabled, 
and I expected PSK would not be in use, it looks like the cache caused the 
problem. As Jeff explained, probably the initial session is started and creates 
a cache entry, when a resume/reuse is done it will go through the PSK module to 
match the cached entry. And then it fails. So by making sure there is no cache 
the connection doesn't give an error.

Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen, 
Berry van Sleeuwen 
Flight Forum 3000 5657 EW Eindhoven

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


Re: Intermitted TLS error after SLES15 upgrade

2023-07-12 Thread Berry van Sleeuwen
Hi Jeff,

SLES15 SP4 has openssl 1.1.11.

Indeed openssl does list PSK ciphers, but I don't think they are enabled in 
Apache, at least there are no PSK ciphers listed in the ssl-global 
SSLCihrsSuite..

Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven

-Original Message-
From: Linux on 390 Port  On Behalf Of Jeffrey Barnard
Sent: Wednesday, 12 July 2023 14:42
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Intermitted TLS error after SLES15 upgrade

Caution: External email. Do not open attachments or click links, unless this 
email comes from a known sender and you know the content is safe.


The error seems to be related to session resume using PSK cipher suites.

You might try disabling the PSK cipher suites in your server. There are plenty 
of others supported by TLS 1.3.

What version of OpenSSL are you using?

Regards,
Jeff

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Intermitted TLS error after SLES15 upgrade

2023-07-12 Thread Berry van Sleeuwen
Hi All,

We recently migrated a few web servers from SLES12 SP3 into SLES15 SP4. I now 
have see an intermitted error in FireFox.

We have a Xymon webserver running Apache. When I connect to the website all is 
fine, and every minute the page is refreshed. But very so often (as fast as 
within a few minutes up to a few hours) I get an 
"SSL_ERROR_ILLEGAL_PARAMETER_ALERT" error in FireFox. I also see this sometimes 
at the moment I connect (to another server) for the first time, but when I 
refresh the page the connection is correct. I only see this in FireFox, Edge 
doesn't have this problem. I guess Chrome is also fine as it should use the 
same engine as Edge.

In the old server we ran TLSv1.2 but the new version supports TLSv1.3, and 
that's obviously the preferred version. Based on the FireFox error, I have seen 
a few discussions for an older version of FireFox/TLS, back when TLSv1.2 was 
introduced. The solution would be to force FireFox to only allow TLSv1.1 or 
lower. But when I force FireFox to only accept TLSv1.2 I get the same error. 
The only 'solution' I have is to remove TLSv1.3 from the Apache configuration. 
Indeed then, using TLSv1.2, it works fine but we obviously would want to run 
with TLSv1.3.

The apache log shows an error at the time of the failure. But I haven't found 
any solution when searching for the two error messages. Apparently there might 
be multiple causes that produce these errors.
[ssl:info] [pid 59440] [client xxx.xxx.xxx.xxx] AH01964: Connection to child 2 
established (server :443)
[ssl:info] [pid 59440] [client xxx.xxx.xxx.xxx] AH02008: SSL library error 1 in 
handshake (server :443)
[ssl:info] [pid 59440] SSL Library Error: error:141FA0FD:SSL 
routines:tls_psk_do_binder:binder does not verify
[ssl:info] [pid 59440] [client xxx.xxx.xxx.xxx] AH01998: Connection closed to 
child 2 with abortive shutdown (server :443)

Do you have any idea how I can solve this? Are there any configuration options 
in Apache that might have a solution for this behaviour?
Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven
* +31 (0)6 22564276
[cid:image001.png@01D9B4A0.4318DC10]  
[cid:image002.png@01D9B4A0.4318DC10]



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


Re: Edit grub from 3270 console

2023-05-05 Thread Berry van Sleeuwen

Dave,

I assume Rick was referring to the Amdahl UTS Unix system. There is a
copy of UTS available at https://geronimo370.nl/vm6pext/uts/. I don't
know if it actually contains 'ned', I haven't yet tried it in my
Hercules VM. Note that this is an UTS system on 3330 DASD so you can't
run that on current (z/)VM systems. UTS does run in VM/370. IIRC it is
referenced by the VM/370 community.

Regards, Berry.

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


Re: Can zLinux detect when files arrive in the virtual reader?

2022-08-31 Thread Berry van Sleeuwen
I don't think Linux itself can detect that. But if you monitor the Linux 
console through a user running PROP you can see a file has arrived in 
the RDR because this will give a message in the virtual machine. PROP 
can then be used to send a command to the Linux machine to process that 
file.


That's what we do, when a file arrives in the RDR we send a command to 
start a script to process that file. This general script (receive_files) 
receives the file and then runs an additional script to process the 
file. A config file determines what to do with the file that has 
arrived, including where to receive the file and what additional script 
is to be executed. Here are some examples:


- We send a tar file with updated scripts in /root/bin/* to all of our 
guests. These scripts are maintained in a central guest.


- Each day all guests send their logfiles to a Samba machine, the Samba 
machine stores them in a reporting directory. This way we have all 
logfiles available from our Windows workstations.


- We send our reporting data to a machine that loads the data into a 
MySQL database. The data is created from the CP MONITOR, packed with 
vmarc and then send to the Linux guest. We have vmarc available in Linux 
as well to unpack the data.


Regards, Berry.

Op 31-08-2022 om 22:46 schreef Donald Russell:

Short of having some Linux script querying the virtual reader, is there a
way Linux can detect when a file arrives and invoke a script?

Sort of like incrond for file system events.

The idea is from cms I could send a file to the Linux virtual reader and
then Linux would process with vmur commands.

How does CMS WAKE-UP do it? I assume when a. We file arrives there’s a.
Unsolicited DE (Ready) interrupt that Linux currently ignores.

Can I configure something with udev rules?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.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://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: Overcommitting zLinux CPU

2020-08-03 Thread Berry van Sleeuwen
I'd say have multiple guests. Let's NOT forget SPOF. (Well, you have a 
SPOF if it's in only one z/VM LPAR but at least you have multiple guests 
that can be serviced at different times.)


I usually like a number of small guests over a single large guest. 
Especially when there are multiple guests (with various applications) in 
z/VM. It will increase the chance a guest is ready to run (waiting for 
CPU) when the active one is entering a wait state (waiting for disk, 
network or whatever resource).


When you are building a cluster of worker nodes, start with 4 guests 
with 2 vCPU each, that way you have 8 vCPU's to be scheduled on the 8 
threads in z/VM. I expect when you have a cluster of nodes already it 
wouldn't be hard to add a node when that would make sense. (Remember: 
performance monitoring, especially the status of guests, is quite 
important in this case, to see if a new node indeed makes sense.)


As for SMT, it will decrease performance for a single thread. So if you 
move to SMT and keep the guest at 4 vCPU then it will most likely 
decrease in performance. (If anything, you might also needed to increase 
the number of vCPU.) But for multiple small guests and/or multi-threaded 
applications it increases performance. Especially when you have more 
vCPU's then physical threads. We had an LPAR with 4 IFL, and a lot of 
guest were in status "CPU Wait" up to 30%. When we moved to 8 SMT 
enabled threads guests no longer had any CPU Wait status. Overall the 
performance increased, even for the High CPU guests. (Note: these High 
CPU guests had 3 vCPU's and even when these guests still had 3 vCPU's 
they were no longer held back to schedule the other guests because those 
could be scheduled on another thread.)


Regards, Berry.

Op 03-08-2020 om 17:43 schreef Mariusz Walczak:

Hello,

I also thought that enabling SMT will degrade performance of a single
threaded process, but I could not find anyone to confirm that. Thank you
Christian.

Alan:
Postgres is not constrained by having only 4 cores. It's running fine with
1 vCPU. The problem is with overall Openshift Cluster CPU count. Now we
have 3 Worker Nodes, 4 vCPU each = 12 vCPU. We can schedule max 7 postgres
workloads.

Our test shows - running 7 identical postgres workloads on Openshift
simultaneously, we get to 66% IFL Utilization on CEC (we have 4 IFL). This
means there is still some "horsepower" available on the Mainframe, right ?

How to properly use zVM and zLinux virtualization technology to increase
Openshift Cluster capacity from 12 vCPU to 24 vCPU, without degrading
performance. Which of the approaches below is correct ?
- to have 6 Worker Nodes (zLinux), 4 vCPU each ?
- to have 1 Worker Node with 24 vCPU ? (lets forget about single point of
failure for now)

I'm trying to understand - does it make any difference which option I take
? At the end its vCPUs fighting for real CPU time on CEC (and for option 2
I avoid OS overhead and OS management)

All the best,
Mariusz



pon., 3 sie 2020 o 08:29 Christian Borntraeger 
napisał(a):


On 02.08.20 06:36, Alan Altmark wrote:

A physical core has a certain amount of “horsepower” in it.  It can, at

top

speed do X amount of work.

In SMT, you split the core in half, creating two execution contexts

(CPUs)

instead of just one.  The two CPUs share resources on the physical core,
but the total horsepower doesn’t increase. In fact, it gets a little
smaller in the sense that the core must now spend cycles managing the two
CPUs (threads) on it.   Some workloads need more threads. Other workloads
need faster CPUs. So you choose between SMT (threads) or non-SMT (speed).
Knowing which is best means measuring workload response times.

To tell some more details: The sum of both SMT threads is usually larger
than one single thread. This is because a CPU does have many execution
units
(floating point, fixed point, etc). Now the CPU can only execute things
where
all dependencies are resolved.So several units are sitting idle, e.g. when
there
was a wrong branch prediction until the pipeline has enough things in the
out
of order window again. With SMT there are now 2 independent dependency
tracking
streams that can make use of the execution units.

So as a rule of thumb: IF you have enough parallel threads and you are
bound
by overall capacity, enabling SMT is usually a win for throughput. The z15
technical guide says 25% on average over single thread. As an example that
could mean instead of 100% you get for example 60% + 65%.

What Alan tried to tell is that this of course DOES have an impact on
latency.
When one single thread only gets lets say 65% the latency is larger.
So you balance latency vs throughput. And if you only have one thread on
the
whole system, then this thread would be faster without SMT.

Now as latency might also depend on the questions "do I get ressources at
all"
I also think that for highly virtualized systems with many guests and
overcommitment of CPUs, SMT is usually a win as z/VM 

Re: Accounting on zVM

2017-05-25 Thread Berry van Sleeuwen

Hi Mariusz,

You can take a look at the ACCOUNT module. (IIRC it's on MAINT 193) This
processes an account input file. You can find information about the
ACCOUNT module in the CMS Command and Utilities guide.
(https://www.ibm.com/support/knowledgecenter/en/SSB27U_6.4.0/com.ibm.zvm.v640.dmsb4/acnt1.htm?view=kc)

You can also write your own procedures. The CP Planning guide describes
the layout of the records.
(https://www.ibm.com/support/knowledgecenter/en/SSB27U_6.4.0/com.ibm.zvm.v640.hcpa5/hcpa5125.htm?view=kc)

We have an exec that processes the account records. We also send the
account records to our performance group, they have their own procedures
to process the data.

Regards, Berry.

Op 25-05-17 om 09:57 schreef Mariusz Walczak:

Hello Community ,

We are running VM 6.4. Do you know any tool or manual for processing
accounting records on zVM? Those files are accumulating on our systems and
I'd like to create a report from it. However, the data from column 29 is
not human readable (""b"}a"") and I'm not sure how to process it.


Thanks!
Mariusz

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Best way to edit Linux files in z/VM 3270

2016-09-21 Thread Berry van Sleeuwen
Indeed, sed/awk can be used. Or check out the rpl package, but still 
that is just a command to replace strings from the command line, just 
like sed.


The only times I need to use the 3270 console is when the network (ssh) 
is not available. In that case we have the option to shutdown the 
machine, since it's not available to the customer anyway. Then we can 
link/mount the disks in our emergency system and use vi (or whatever 
full-screen editor) from there.


Regards, Berry.

Op 20-09-16 om 21:10 schreef Harley Linker:

The only option that I'm aware of is the 'sed' command.


Harley Linker



-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Diep, 
David (OCTO-Contractor)
Sent: Tuesday, September 20, 2016 2:02 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Best way to edit Linux files in z/VM 3270

Hi everyone,

I've searched everywhere and I cannot find for editing Linux files while logged 
in with 3270. Vi will just get me stuck.  I looked at 'ed', but I get stuck as 
well... any recommendations??

Thanks

David Diep

--
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 more information on Linux on System z, visit http://wiki.linuxvm.org/
© 2016 Ensono, LP. All rights reserved. Ensono is a trademark of Ensono, LP. 
The information contained in this communication is confidential, is intended 
only for the use of the recipient named above, and may be legally privileged. 
If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this communication in error, 
please resend this communication to the sender and delete the original message 
or any copy of it from your computer system.


--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: What are your feelings about non-RPM installers for Linux?

2015-01-23 Thread Berry van Sleeuwen

Or worse, /usr/local/ibm. In our system /usr/local is just what is says,
local. This means the directory is moved during migration into the new
server. Or rather, the installation version in our golden image isn't
moved into an upgraded server.

Regards, Berry.

Op 23-01-15 om 16:22 schreef Robert J Brenneman:

Also - you get major bonus points for making your RPM relocatable so I
don't have to mix your stuff in with the OS install in somewhere silly like
/usr/lpp.




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: autofs doesn't umount

2014-11-20 Thread Berry van Sleeuwen

Hi Mark,

Yes, I am, at least for autofs. Today I have upgraded autofs with the
latest patch. But the issue remained.

I have to test a bit further but I have found a way to get it
functioning correctly.

Currently I have /etc/sysconfig/autofs with a timeout of 20 seconds. The
entries through auto.master have a timeout of 30 seconds. Now the
mounted image gets unmounted.

I have to test what the real issue is here. Either /etc/sysconfig/autofs
is leading, or the entry in /etc/auto.master. The tests so far were
inconclusive. I have tested with the same timeout and with different
timeouts. And it even looked like the behaviour had changed after I
upgraded autofs.

Regards, Berry.

Op 19-11-14 om 22:06 schreef Mark Post:


Are you current on maintenance for SP3?


Mark Post




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: REXX mod

2013-06-27 Thread Berry van Sleeuwen

Hi Ron,

You can set both CPU and model. CPU serial can be set with a command or
within the directory entry for the guest. If you also want to set the
CPU model you need to modify the storage address within the VMDBK that
contains the CPU model for a guest. But some products query the model in
a different way so it might not always work. We use this to run a zOS or
VM guest on different model hardware (z9 or z890 in DR on z10).

Regards, Berry.

Op 26-06-13 21:41, Ron Wells schreef:

Do not know if this is place to ask
Is there a way to tell VM that I am going to run a image(Linux or zos)
under a different machine/serial/model # than what I am really on??

looking at doing it for a DR possibility where it is a PAIN to get auth
codes..

--
Email Disclaimer
This  E-mail  contains  confidential  information  belonging to the sender, 
which  may be legally privileged information.  This information is intended 
only  for  the use of the individual or entity addressed above.  If you are not 
 the  intended  recipient, or  an  employee  or  agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
disclosure,  copying, distribution, or the taking of any action in reliance on 
the contents of the E-mail or attached files is strictly prohibited.

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: CCL OSA device not activated

2012-10-26 Thread Berry van Sleeuwen

Hi Vincent,

I think an upgrade for this level is not quite an option or at least not 
at this moment. Even more so, we are upgrading from SLES9 to SLES11 just 
to get out of possible problems with the EC12 in the future. If 
anything, for the short term, we would go back to the old (and 
unsupported) SLES9 as that level does activate the current OSA.


I guess we need to get support involved.

Thanks, Berry.


Op 26-10-12 17:20, Iuliano, Vincent schreef:

  I can't really tell from the messages listed below what is going on but we 
had an issue where there was an MCL driver push on our CEC that needed our 
SLES11 kernels to be upgraded in order for it to work again. You may need to 
upgrade your kernels if it is the same issue. Please check your CEC MCLs 
pertaining to your OSAs and the version of SLES you are running. Thank you.

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of van 
Sleeuwen, Berry
Sent: Friday, October 26, 2012 10:49 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: CCL OSA device not activated

No messages other than  udevd-event[554]: error opening  
ATTR{/sys/devices/qeth/0.0.efac/portname} for writing: No such file or  directory in 
the boot.msg. This is the case for both portname and portno.

/etc/udev/rules.d/51-qeth-0.0.efac.rules:
# Configure qeth device at 0.0.efac/0.0.efad/0.0.efae ACTION==add, SUBSYSTEM==drivers, 
KERNEL==qeth, IMPORT{program}=collect 0.0.efac %k 0.0.efac 0.0.efad 0.0.efae qeth
ACTION==add, SUBSYSTEM==ccw, KERNEL==0.0.efac, IMPORT{program}=collect 
0.0.efac %k 0.0.efac 0.0.efad 0.0.efae qeth
ACTION==add, SUBSYSTEM==ccw, KERNEL==0.0.efad, IMPORT{program}=collect 
0.0.efac %k 0.0.efac 0.0.efad 0.0.efae qeth
ACTION==add, SUBSYSTEM==ccw, KERNEL==0.0.efae, IMPORT{program}=collect 
0.0.efac %k 0.0.efac 0.0.efad 0.0.efae qeth
TEST==[ccwgroup/0.0.efac], GOTO=qeth-0.0.efac-end
ACTION==add, SUBSYSTEM==ccw, ENV{COLLECT_0.0.efac}==0, 
ATTR{[drivers/ccwgroup:qeth]group}=0.0.efac,0.0.efad,0.0.efae
ACTION==add, SUBSYSTEM==drivers, KERNEL==qeth, ENV{COLLECT_0.0.efac}==0, 
ATTR{[drivers/ccwgroup:qeth]group}=0.0.efac,0.0.efad,0.0.efae
LABEL=qeth-0.0.efac-end
ACTION==add, SUBSYSTEM==ccwgroup, KERNEL==0.0.efac, 
ATTR{portname}=OSNdevEFAC
ACTION==add, SUBSYSTEM==ccwgroup, KERNEL==0.0.efac, ATTR{portno}=0
ACTION==add, SUBSYSTEM==ccwgroup, KERNEL==0.0.efac, ATTR{online}=1

It looks like the part between TEST and LABEL are skipped. The devices are 
online but the actions beyond the label give an error in the boot.msg. But the eth0 devices are 
started correctly.

Regards, Berry.


-Original Message-
From: Iuliano, Vincent [mailto:viuli...@iso.com]
Sent: vrijdag 26 oktober 2012 14:52
To: Linux on 390 Port; van Sleeuwen, Berry
Subject: RE: CCL OSA device not activated

What are the errors messages that you are receiving in the syslog
during IPL?

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
van Sleeuwen, Berry
Sent: Friday, October 26, 2012 6:01 AM
To: LINUX-390@VM.MARIST.EDU
Subject: CCL OSA device not activated

Hello All,

We are migrating a CCL guest from SLES9 to SLES11 SP1. The guest is
available but the CCL is not activated. Looking at it it looks like
udev can't activate the devices needed for the CCL engine. The guest
has the three OSA devices (EFAC, EFAD, EFAE) attached, just as it had
in the SLES9 CCL guest.

/var/log/boot.msg:
udevd-event[554]: error opening
ATTR{/sys/devices/qeth/0.0.efac/portname} for writing: No such file or
directory

Devices (EFAC, EFAD, EFAE) are online but the ccwgroup is offline.

cat /sys/bus/ccw/devices/0.0.efac/online
1
cat /sys/bus/ccwgroup/devices/0.0.efac/online
0

When I compare this with a running SLES9 CCL machine the ccwgroup
should be online, so I guess this is the problem I need to fix.

Any ideas how to configure these OSA devices in SLES11?
Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen Flight Forum 3000 5657 EW Eindhoven
* +31 (0)6 22564276
[atos]  [cid:325312309@02022011-28C8]






Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
bestemd voor de geadresseerde. Indien dit bericht niet voor u is
bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en het
bericht te vernietigen. Aangezien de integriteit van het bericht niet
veilig gesteld is middels verzending via internet, kan Atos Nederland
B.V. niet aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel
wij ons inspannen een virusvrij netwerk te hanteren, geven wij geen
enkele garantie dat dit bericht virusvrij is, noch aanvaarden wij
enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus
in dit bericht. Op al onze rechtsverhoudingen, aanbiedingen en
overeenkomsten waaronder Atos Nederland B.V. goederen en/of diensten
levert zijn met uitsluiting van alle andere voorwaarden de
Leveringsvoorwaarden van Atos Nederland B.V. van toepassing. Deze worden u op 
aanvraag direct kosteloos

Re: Formatting large EAV dasd

2012-04-24 Thread Berry van Sleeuwen

Did you dynamically add the device? We have seen a similar error when
new DASD, 3390-9 in our case, is linked in SLES11 SP1. Only after a
reboot (logoff/logon) of the guest we were able to format the DASD.

Regards, Berry.

Op 24-04-12 15:58, Roger Evans schreef:

Is there anyway to format dasd devices that aren't minidisks (because
they're too large)?

I am trying to use disks that looks like this:

faktark:~ # lsdasd
Bus-ID Status  Name  Device  Type  BlkSz  Size  Blocks
==
...

0.0.0500   active  dasdi 94:32   ECKD  4096   169036MB  43273440
0.0.0501   active  dasdj 94:36   ECKD  4096   169036MB  43273440
0.0.0502   active  dasdk 94:40   ECKD  4096   169036MB  43273440


dasdfmt fails with:
dasdfmt: Writing the bootstrap IPL2 failed, only wrote -1 bytes.

and fdasd then can't read the volume.

I've tried dparted but can't seem to find a way to write a volume lable.


Mvh./Best Regards
Roger Evans, Autodata Norge A/S
http://www.autodata.no +47 93 25 92 36





--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Error while DASDFMT

2012-01-23 Thread Berry van Sleeuwen

Hi Mark,

It's IBM. And like I stated, a few weeks ago I have build a system where
I could format. So i'm caught by suprise that it doens't work this time.

Regards, Berry.

Op 23-01-12 16:20, Mark Post schreef:

On 1/23/2012 at 07:53 AM, van Sleeuwen, Berryberry.vansleeu...@atos.net

wrote:

I started with an ICKDSF format for the DASD volume. Next the linuxguest has
got a minidisk 1-10016. The subsequent dasdfmt failed. The DASD is available
in Linux, it has been set online, 0216 is in /proc/dasd/devices as
/dev/dasdr, it is included in the /etc/udev/rules.d/ directory.

I tried a CMS format before dasdfmt but that ends with the same result. I
DDR'ed the first 10 cylinders from another DASD, still the same result during
dasdmt. I tried to format through Yast -  hardware -  dasd, no difference.

Any ideas what could be wrong and how to solve it?

Berry,

What brand of storage array do you have?  If it's EMC, do you have the latest 
maintenance (especially the kernel) installed?


Mark Post

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Required packages on a zLinux server running Oracle vs Put everything on

2011-12-16 Thread Berry van Sleeuwen
Installing Oracle doesn't require X. The only reason Oracle guys want X 
is because they've learned how to do it on Windows and don't (want to) 
know the silent install method. Even more so, a silent install can be 
scripted, can be automated by the linux sysadmin, can make *their* 
install jobs obsolete.


We've installed a SLES10/Oracle 10 in 1G, without X using a silent 
install. And we run 2 DB's in that same 1G even while oracle states that 
you realy need 1G or more for every DB instance. No swapping involved, 
or at least no runtime swapping. Linux does have some memory offloaded 
into swap but that's rarely touched in runtime. A second, more or less 
the same, Oracle guest has 1G for 1 DB, it's a full production system 
and it swaps even less.


It all boils down to knowing what the requirements are, both for 
installing and runtime. Don't believe the (red)books or recommendations 
and scripting from suppliers. These just confirms that they've done it 
in this setup, not the minimum requirements. The only way is measuring 
or trail-and-error. Monitor your numbers, increase or decrease when 
needed. Like you state, the workload determines the requirements. The 
problem is: up is easy, down is a nightmare. The same is true for 
software install and remove. Both technical (how to remove software 
safely?) and for the more is better rule-of-thumb (it's not and we can 
prove it!).


Regards, Berry.

Op 16-12-11 21:47, Damian Gallagher schreef:

There is a difference between the installation requirements and the runtime, as 
is usual. Installation requires x , but runtime doesn't - and the docs state 
4GB as that's the amount needed to get a full install. If you're a min install, 
you might get away with 2GB without swapping to hard, but there we go. Once 
you've done the install, of course X isn't needed, but that will be for 
patching perhaps :-)

Once you're into runtime, then YYMV -  it's your workload that generates the 
resource usage.

Cheers
Damian



-Original Message-
From: van Sleeuwen, Berry [mailto:berry.vansleeu...@atos.net]
Sent: 16 December 2011 17:09
To: LINUX-390@vm.marist.edu
Subject: Re: Required packages on a zLinux server running Oracle vs Put everything 
on

I don't know if that would help too. Our Oracle specialist ran a script from 
Oracle to determine requirements and demanded that the requirements would be met 
otherwise he couldn't install Oracle. This is an SLES11 with Oracle 11. So now we have a 
guest with 4G memory, 2G /tmp and a lot of packages installed, including a full 
X-windows. Installing Oracle we had proved through measuring the system that he needed 
only 200M /tmp space and less than 1G memory. X is never being used. So even the Oracle 
scripts and books do not reflect the actual minimal requirements but still consider a 
stand-alone server running X. BTW, the server is now installed according to Oracle 
recommendations, running at over 55MIPS it is now a top5 machine in CPU consumption and 
100% in Q3. No, the machine is not in use yet so this is the IDLE load.

Our SLES10 with Oracle 10 is a guest with a minimal installation, meaning the absolute 
minimum required to run a Linux guest and added a few packages such as sudo, sysstat etc. 
On top of that we've added: cpp, gcc ,gcc-c++ , glibc-devel ,libaio-devel 
,libmudflap, libstdc++-devel, java-1_5_0-ibm-devel, expat-32bit, fontconfig-32bit 
,freetype2-32bit, glibc-devel-32bit, openmotif, xorg-x11-libs-32bit, zlib-32bit. So 
this is the actual minimum requirement. Anything more is not required to install or run 
an Oracle. Also the guest runs 2 oracle databases within 1G. Idle load at about 6MIPS and 
almost never in Q3. Conclusion, don't trust the requirements from Oracle, they are wrong. 
On the other hand, if you want to install using X then you indeed need a lot more than 
this.

Regards, Berry.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Damian Gallagher
Sent: vrijdag 16 december 2011 15:47
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Required packages on a zLinux server running Oracle vs Put
everything on

Oh, we can do better than that :-) On the assumption that you have a
support contract, all you need is in this article:
Note 1086769.1 -Ensure you have prerequisite rpms to install Oracle
Database and AS10g(midtier) on IBM: Linux on System z (s390x)

This provides an rpm which consists only of prereqs, thus ensuring you have
the packages needed for the appropriate product. Run both sets, and you're
good for E-Business Suite also.

It won't necessarily tell you what you have that's unnecessary, though.

Cheers
Damian


-Original Message-
From: Mauro Souza [mailto:thoriu...@gmail.com]
Sent: 16 December 2011 10:56
To: LINUX-390@vm.marist.edu
Subject: Re: Required packages on a zLinux server running Oracle vs Put
everything on

There's a RedBook
(http://www.redbooks.ibm.com/abstracts/sg247634.html) for installing
Oracle on System Z. It 

Re: Undeleting files

2011-12-14 Thread Berry van Sleeuwen

Hi Tom,

Try google, there are some hits on recovering data on ext3. It might not
be easy so it depends on how bad you need the deleted data.

I've found for instance
http://carlo17.home.xs4all.nl/howto/undelete_ext3.html, quite a long
story but apparently it can be done.

Regards, Berry.

Op 14-12-11 23:00, Tom Duerbusch schreef:

Where I know the answer to this question, generally.  I wonder if this can be 
done in a very defined sitituation.

I have disk /dev/dasdb1, formatted with ext3.
There is one directory on it.
That directory had about 40 files on it of a few megabytes each.
This is SLES 10 SP 2.

I connected to the Linux image with WINSCP.
I bought up that directory in one pane and in the other pane, I bought up my 
thumb drive.
I wanted to copy the files to my thumb drive.

Instead of copying the files, I thought syncing the directories would be easier.
Well, I synced an empty directory to the Linux directory.  All files are gone.

In most cases, recovering deleted files is very dependant on if any of the 
space or directory structure has been reused.  In this case, the space hasn't 
been reused, but I don't know if the deletion of 40 files, one at a time, would 
reuse the directory blocks or just mark them available.

Before I go too far in this
Am I just out of luck?
Or is there a decent chance I can recover these files?

Thanks

Tom Duerbusch
THD Consulting

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: RSH RPM

2011-09-22 Thread Berry van Sleeuwen

We use the RDR for that. We send a file to the linux guest. On the
console it is noted that a rdr file has arrived. The console automation
(PROP) triggers a script that processes RDR files. The script determines
what the name and origin for the file is and based on a config file it
can run various scripts depending on the filename/origin it has to
process. And no cron is needed for this.

Regards, Berry.

Op 21-09-11 18:26, Agblad Tore schreef:

No Problem Alan :)

Well, not enough, we really would like to be able to signal from z/VM that:
  'go and get some new data from that cmsfile I have told you the name of 
before'
without having to use cron.

That way, we can start things without having a number of crons using cpu.
And without delay.



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Samba security again

2011-07-27 Thread Berry van Sleeuwen

Hi Mark,

That was our first idea too but we were not able to get the correct
setup for our goal. How should we setup the share config in a way that
we get the correct write authorization?

When we do not specify anything in the share a file gets
username:defaultgroup. So for instance berry:users. But we'd want the
files to get a permission based on the directory it is created in. So
directory linux should get something like user:linux.

When using forcegroup we do get the group right but the parameter in the
share is then used for all files in all (sub)directories. So share MFPL
would then get group MFPL instead of vmvse or linux.

When using inherit group or inherit permission it still is not the way
we exepected it. Even more so, inherit group looks like to be inherit
user; the file is then created as root:users (root is owner for the
directory, users is my default group).

Regards, Berry.

Op 27-07-11 17:25, Mark Post schreef:

On 7/27/2011 at 10:12 AM, van Sleeuwen, Berryberry.vansleeu...@atos.net

wrote:

Would it be possible at all to assign permissions based on the directory
instead of the share?

Since Samba doesn't override the native Linux permissions, you should be able 
to do this with file system ACLs.


Mark Post

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: VM to zLinux Remote Execution

2011-07-22 Thread Berry van Sleeuwen

We send a command to the guest console. We have a PROP user that
monitors the consoles and is also able to send commands to the guest.
Usually the commands are scripts but also regular linux commands can be
executed. Downside is that the console doesn't always handle command
output correctly so if you want command output to be processed
afterwards you should trap the output into a file and send the file back
to VM (using vmur).

For instance, when a RDR file arrives at the guest, PROP triggers a
script that will receive the RDR file. Or when we want to shutdown the
guest we execute the shutdown command on the console. Some commands, for
instance ls, will run inside a script to trap the output and that is
sent back to the requesting user on VM.

It's zero cost, except for the programming of some exec's in VM and
scripts in the guests. Both logging and security is maintained at
various levels.

Regards, Berry.


Op 22-07-11 19:31, Tom Duerbusch schreef:

I'm trying to remotely execute a command with CMS as the client and SLES 11 SP 
1 as the server.

All documentation I've found so far, shows how to do it from Linux to VM.

Apparently the problem is, TCPIP for VM only has the unsecured REXEC client and 
SLES 11 only has a secured sshd.

I've searched the VM download page for a ssh client.
I've done some Linux searches for how to dumb down sshd (i.e. to allow 
unsecured transfers).

Of course, there might be program products available, but unless they would be 
zero cost products, it's not going to happen in the short term.

Thanks for any help

Tom Duerbusch
THD Consulting
(Still on z/VM 5.2)

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Open Xchange

2011-06-16 Thread Berry van Sleeuwen

Hi Mark,

I did find that post and indeed it worries me that it looks like a
silent forum. We would like to setup a exchange-like server with more or
less the same function. We are open for suggestions if there is a better
solution for this on zLinux.

We have loaded mod_proxy_ajp according to the install instructions, but
perhaps I should verify it's correct function.

Thanks, Berry.

Op 16-06-11 19:18, Mark Post schreef:

On 6/16/2011 at 07:17 AM, van Sleeuwen, Berry

berry.vansleeu...@atosorigin.com  wrote:


When we start the webinterface the errorlog in apache shows: File does not
exist: /srv/www/htdocs/ajax, . The installguide does show the ajax-gui
package to be installed on all frontend servers. But in SLES I can't find any
reference to ajax so I don't know what to install in this case as well as if
it would really be required for OX to function properly.

 From the documentation it appears that the magic happens in the mod_proxy_ajp 
configuration.  Section 1.10.2 Configuring Services of the Installation and 
Administration guide.

Google turned up this link
http://forum.open-xchange.com/archive/index.php/t-3458.html

Based on that and other forum entries for open-xchange, it doesn't look like 
anyone who works for the company monitors the forums.  Probably not a good sign.


Mark Post

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Open Xchange

2011-06-16 Thread Berry van Sleeuwen

I agree. The primary goal is to have mailboxes, especially shared
mailboxes, that users can connect to. At least in this stage calendars,
contacts and such are not required since that is running within our
regular (windows) exchange server environment. But as the project
manager stated, he wanted exchange on zlinux. Perhaps just a word,
exchange instead of mailserver just because he is used to the word
exchange (just like OS=windows, sigh). OTOH, it would be nice if we
could provide full exchange functionality.

So if we can make an exchange replacement happen it would be nice. But
if that proves to be too much at one time (or not possible at all) just
a mailserver for shared mailboxes would be good for now too. Any
thoughts on how to proceed here? Is a regular mailserver (postfix?)
capable of providing shared mailboxes?

Regards, Berry.

Op 16-06-11 21:48, Richard Troth schreef:

Berry --

I cannot help you get OX running, but I would suggest that if you run
out of options ... consider a mixed approach.

YOU MAY be well served by a combination of standard servers for email,
contacts, calendar, and files.  Many services are already provided by
stock packages (programs you possibly already installed).

This approach has pros and cons.  Just a thought.

-- R;
Rick Troth
Velocity Software
http://www.velocitysoftware.com/





On Thu, Jun 16, 2011 at 15:15, Berry van Sleeuwen
berry.vansleeu...@xs4all.nl  wrote:

Hi Mark,

I did find that post and indeed it worries me that it looks like a
silent forum. We would like to setup a exchange-like server with more or
less the same function. We are open for suggestions if there is a better
solution for this on zLinux.

We have loaded mod_proxy_ajp according to the install instructions, but
perhaps I should verify it's correct function.

Thanks, Berry.

Op 16-06-11 19:18, Mark Post schreef:

On 6/16/2011 at 07:17 AM, van Sleeuwen, Berry

berry.vansleeu...@atosorigin.comwrote:


When we start the webinterface the errorlog in apache shows: File does
not
exist: /srv/www/htdocs/ajax, . The installguide does show the ajax-gui
package to be installed on all frontend servers. But in SLES I can't find
any
reference to ajax so I don't know what to install in this case as well as
if
it would really be required for OX to function properly.
 From the documentation it appears that the magic happens in the
mod_proxy_ajp configuration.  Section 1.10.2 Configuring Services of the
Installation and Administration guide.

Google turned up this link
http://forum.open-xchange.com/archive/index.php/t-3458.html

Based on that and other forum entries for open-xchange, it doesn't look
like anyone who works for the company monitors the forums.  Probably not a
good sign.


Mark Post

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: How many virtual servers per IFL?

2010-12-06 Thread Berry van Sleeuwen
How about savings in power consumption. If configured correctly a
virtual server won't cost you anything. Well, hardly anything.

Running a dedicated server you must size the server for it's peak load.
In VM you run multiple servers and if their peak load doesn't overlap
you don't need to size for the total peak load. So 10 '1 IFL' servers
can run in perhaps only a 2 IFL LPAR. It also means that you can add
servers without the immediate need for additional hardware. Note that
the utilization is both CPU and storage. You should monitor both CPU and
storage (page) loads. Those two will determine the numbers.

IMHO, size an LPAR for peak load of a large, high CPU guest, such as a
busy DWH machine. Then look at small low utilized servers you can add
without the need for additional hardware. For instance some small apache
or samba servers etc.

Actual numbers is very hard. 2 to 50 perhaps. But we do have a dozen
guests that could be 100 per IFL since they are paged out 95% of the
time. Obviously these are not running large production loads.

Regards, Berry.

Op 06-12-10 18:07, John Cousins schreef:
 Here we go again!
 Without success, we've been trying to get the IT department here to adopt 
 z/Linux since 2003!

 Our zVM licence has been recently cancelled, and I have just had a request 
 from our Enterprise Architects for some costing for z/Linux as they need to 
 compare server virtualisation costs with VMware!

 One problem of trying to get a cost per virtual server was always trying to 
 estimate how many servers an IFL will support. We had a 13 SuSe servers 
 defined in a z800 IFL but as they were hardly used we couldn't measure a 
 thing!

 So are there any rules of thumb out there on how many production virtual 
 servers would run on a Z10 IFL? Obviously it will depend on server 
 utilisation, guess that will need to be estimated as well?

 Another question is where do the bulk of the savings come from? From my 
 investigations over the years other success stories suggest most savings come 
 from software licensing, e.g Oracle, Tivoli etc. but also from networking 
 infra-structure by the use of virtual switches. Are there any other areas 
 that provide benefits?

 Any ideas or constructive suggestions would be gratefully received!

 Best regards

 John



 John Cousins
 Senior IT Officer
 Central Support Services ICT Division
 Bristol City Council
 Romney House
 Romney Avenue
 PO Box 1380
 Bristol BS7 9TB

 Tel : 0117 922 4705
 Fax: 0117 922 3983
 e-mail: john.cous...@bristol.gov.uk

 __
 'Do it online' with our growing range of online services - 
 http://www.bristol.gov.uk/services

 Sign-up for our email bulletin giving news, have-your-say and event 
 information at: http://www.bristol.gov.uk/newsdirect

 View webcasts of Council meetings at http://www.bristol.gov.uk/webcast

 Bristol is the UK's first Cycling City. Visit www.betterbybike.info to join 
 thousands of others getting around by bike.

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Question to smsgiucv

2010-12-01 Thread Berry van Sleeuwen
Hi Florian,

Please don't use polling. You wakeup your machine even when nothing is
happening.

If you want to receive files you can use the linux console. When a file
is send to a guest a message on the virtual console appears. Trap this
message (use SCIF and PROP to monitor your linux consoles, like OPERATOR
or similar) and have PROP trigger a script to receive the file. That's
how we do it. We send files from VM and linuxguests to linuxguests,
either directly or through ftp to remote VM LPARs (we don't have RSCS
over there). When a RDR file arrives our PROP user issues a command to
the linuxguest to run a script that will receive and process the file.

Regards, Berry


Op 01-12-10 21:48, Florian Bilek schreef:
 Dear all,

 I am looking for a  possibility using the Virtual Reader under z/VM in
 z/LINUX. The idea is to process files received from a z/OS via RSCS.
 Off course I could regullarily start VMUR to poll the RDR but couldn't that
 be done much smarter with an event starting VMUR ?
 I thought smsgiucv could do that but I am not sure how.Does there exist a
 sample?

 Thank you very much.

 --
 Best regards

 Florian

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: HCPGIR450W and HCPGIR453W after editing user direct

2010-11-04 Thread Berry van Sleeuwen
Are you even running DIRMAINT? I guess not, since you use a directory on
MAINT. But if you are then it could be your directory is now replaced
with an old (probably incorrect) version.

Actually you didn't need to IPL VM. Once you put the directory online it
is available. So delete the IPL step from the instruction. Or change the
instruction, do not IPL VM, IPL the guest (either xautolog or logon).

Just guessing here, I'd expect that you do not have all required DASD
attached to SYSTEM after the IPL. Look at the guest minidisk config in
the DIRECT USER. All volumes should be available. For instance:

MDISK 100 3390   VMVOL1 MR

Disk 100 is located on volume VMVOL1. So VMVOL1 should be attached to
system. QUERY DASD VMVOL1. If not, ATTACH  SYSTEM. Perhaps the
100 disk is available but the 101 is missing. Just check all MDISK
statements.

Look at the free and offline DASD volumes. QUERY DASD FREE and QUERY
DASD OFFLINE. Any volume that is needed in this VM should be attached
to system instead of free.

Hope this helps.
Regards, Berry.


Op 04-11-10 23:25, koray schreef:
 Hi Pieter,

 i logged in as MAINT user and run x direct user c command.
 then edited the file, saved, run the command diskmap user, run the
 command x user diskmap and searched for overlaps. And there was no
 overlap.
 Then executed directxa user and re-ipled Z/VM.

 This is the procedure which our Z/VM guy wrote to me and im the Linux
 guy.So i dont know if it was a source directory or parts of a segmented
 directory on DIRMAINT disks. Our Z/VM has left the company some time
 ago, and we dont have one yet.
 Due to ipl didnt work us, we executed a POR (power on reset) and saw a
 hardware message about FICON Channel Error, Lost of Light or something.
 So we thought maybe it's a hardware failure. But i dont know how to be
 sure about that.

 There is also one weird thing, we re-configured all guests memory
 settings, but some guests still run properly some doesnt ipl.

 Regards

 On 05.11.2010 00:14, Harder, Pieter wrote:
 Can you describe in more detail what you exactly did?
 I hope you are talking about manually changing a monolithic source
 directory and not parts of a segmented directory on DIRMAINT disks?
 If the latter that won't work and there is a fair chance you
 clobbered your directory. In that case I hope you have a recent
 monlithic source directory to recover or you could be in for some
 trouble.
 After you made the changes I assume you also manually ran DIRECTXA
 against it? If not your changes are not active and you can simply
 logoff/logon you guest to get back to the old config.

 best regards,
 Pieter Harder

 
 Van: Linux on 390 Port [linux-...@vm.marist.edu] namens koray
 [nixst...@gmail.com]
 Verzonden: donderdag 4 november 2010 20:31
 Aan: LINUX-390@VM.MARIST.EDU
 Onderwerp: HCPGIR450W and HCPGIR453W after editing user direct

 Hello all,

 We have 14 Sles Guests running on Z/VM 5.4. We edited the user direct
 file and changed the memory settings of Linux guests.For example;

 linux001 - 2048M 4096M
 linux002 - 2048M 4096M
 has changed to
 linux001 - 3072M 6144M
 linux002 - 1024M 2048M

 Now, i cant ipl my guest's. When i try to ipl from minidisk 100,
 linux 001 says:
 HCPGIR453W CP Entered, program interrupt loop.
 linux002 says:
 HCPGIR450W CP entered, disabled wait PSW 00020001 8000 
 001536B0

 It seems disk mapping are broken but i'm totally sure that i only
 changed Memory settings, not touched minidisk settings.

 Need your help please.

 Regards

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/

 Brabant Water N.V.
 Postbus 1068
 5200 BC  's-Hertogenbosch
 http://www.brabantwater.nl
 Handelsregister: 16005077

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/


 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/



Re: mon_fsstatd - filesystem monitor records

2010-10-21 Thread Berry van Sleeuwen
Hi scott,

We do see records for every mounted filesystem. Both on SLES10 SP2 and
SLES11 SP1. Indeed, have option APPLMON for the guest and start
mon_fsstatd. Actually we have APPLDATA, mon_fsstatd and mon_procd running.

We run two machines on the CP MONITOR running custom plumbing. The first
only writes selected recordtypes to disk (such as Dom. 10 Rec. 2). The
second CMS machine monitors the filesystem records and creates incidents
based on certain thresholds on filesystem usage.

We don't run the IBM MONWRITE. First of all we'd like to write only
those records we are interested in. And second, MONWRITE writes the file
into fixed 4096 records instead of one record for each monitor record.

Do you know for sure your plumbing does indeed get the records the
correct way? Have you tried the MONVIEW package from the IBM VM packages?

Regards, Berry.


Op 21-10-10 17:16, Scott Rohling schreef:
 I am trying to use the mon_fsstatd driver (s390-tools) to generate monitor
 records with Linux fileystem stats.   The guest has OPTION APPLMON and
 ability to write monitor records.

 Records 'do' seem to be generated - but it seems like it's only for a single
 filesystem (/dev/dasdd1, which happens to be the last listed if you do a df
 -h).   According to the device drivers manual -- a record should be
 generated for each physical mounted filesystem.   I'm only seeing one.

 As an aside - I am viewing the records on z/VM by linking to MONWRITE 191
 and using some creative PIPEing to translate the ascii fields to ebcdic,
 etc...   Basically getting all records with 'LNXAPPL' in ascii and parsing
 them.   So pretty sure I'm not missing records that are being written for
 APPLDATA ...

 Has anyone else used this driver and gotten different/better results?

 (I'm running this on RHEL54 under z/VM 5.4)

 Scott Rohling

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: mon_fsstatd - filesystem monitor records

2010-10-21 Thread Berry van Sleeuwen
The most easiest:

PIPE STARMON |  monwrite file a, that way you will write one record
to disk for each record in CP MONITOR. In this case you won't have to
figure out how to parse the records or to process them afterwards with
MONVIEW. Just connect a test CMS machine to MONITOR if you can't use
MONWRITE for this.

Regards, Berry.

Op 21-10-10 21:04, Scott Rohling schreef:
 Hi Berry -   Thanks very much for your reply - you're right - I was being
 too simplistic in plumbing the MONWRITE data.  I used MONVIEW and quickly
 did an XLATE A2E against the output - I can now see dasda1, etc in the
 output.  So I obviously need to parse the MONWRITE data correctly.   I'll
 poke around the MONVIEW stuff to figure it out.

 Thanks again!

 Scott Rohling

 On Thu, Oct 21, 2010 at 12:28 PM, Berry van Sleeuwen 
 berry.vansleeu...@xs4all.nl wrote:


 Hi scott,

 We do see records for every mounted filesystem. Both on SLES10 SP2 and
 SLES11 SP1. Indeed, have option APPLMON for the guest and start
 mon_fsstatd. Actually we have APPLDATA, mon_fsstatd and mon_procd running.

 We run two machines on the CP MONITOR running custom plumbing. The first
 only writes selected recordtypes to disk (such as Dom. 10 Rec. 2). The
 second CMS machine monitors the filesystem records and creates incidents
 based on certain thresholds on filesystem usage.

 We don't run the IBM MONWRITE. First of all we'd like to write only
 those records we are interested in. And second, MONWRITE writes the file
 into fixed 4096 records instead of one record for each monitor record.

 Do you know for sure your plumbing does indeed get the records the
 correct way? Have you tried the MONVIEW package from the IBM VM packages?

 Regards, Berry.


 Op 21-10-10 17:16, Scott Rohling schreef:

 I am trying to use the mon_fsstatd driver (s390-tools) to generate

 monitor

 records with Linux fileystem stats.   The guest has OPTION APPLMON and
 ability to write monitor records.

 Records 'do' seem to be generated - but it seems like it's only for a

 single

 filesystem (/dev/dasdd1, which happens to be the last listed if you do a

 df

 -h).   According to the device drivers manual -- a record should be
 generated for each physical mounted filesystem.   I'm only seeing one.

 As an aside - I am viewing the records on z/VM by linking to MONWRITE 191
 and using some creative PIPEing to translate the ascii fields to ebcdic,
 etc...   Basically getting all records with 'LNXAPPL' in ascii and

 parsing

 them.   So pretty sure I'm not missing records that are being written for
 APPLDATA ...

 Has anyone else used this driver and gotten different/better results?

 (I'm running this on RHEL54 under z/VM 5.4)

 Scott Rohling

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/



 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/


 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: PowerCenter on z

2010-10-05 Thread Berry van Sleeuwen
Hello John,

Ah, yes. That answers my first question, so it can run on z. But looking
at PowerCenter I can only find what PC can do. I can't find what the
requirements would be to run it. I have seen some remarks on running on
RedHat and Suse (probably on intel) but it doesn't state what versions
for SLES, java or other software it would need.

The problem here is that our customer can't migrate either the hardware
or zOS without problems with their current version on Power. They have
asked us if we can run it on z but right now I can't give them the
answer on specific versions. So I was looking for a list of PC versions
and software requirements.

Regards, Berry.

Op 05-10-10 15:52, McKown, John schreef:
 Is this what you're talking about?

 http://www.informatica.com/solutions/mainframe/Pages/mainframe_solutions.aspx

 quote
 PowerCenter for z/Linux
 Have you chosen z/Linux to lower software licensing and IT operations costs 
 through server consolidation? Or are you hoping to lower MIPS-based costs and 
 possibly defer upgrading your z/OS environment by transferring some workloads 
 from z/OS to z/Linux? Whatever your z/Linux strategy may be, PowerCenter for 
 z/Linux was created to support you.

 CPU-intensive data transformations run at full speed in z/Linux, and 
 PowerCenter on z/Linux provides complete access to the entire range of 
 sources and targets supported by PowerExchange, no matter where data resides. 
 Data located in z/OS can be accessed via Hipersockets (the mainframe's 
 virtualized network technology) so it never leaves the safety and security of 
 the mainframe environment.
 /quote

 --
 John McKown
 Systems Engineer IV
 IT

 Administrative Services Group

 HealthMarkets(r)

 9151 Boulevard 26 * N. Richland Hills * TX 76010
 (817) 255-3225 phone * (817)-691-6183 cell
 john.mck...@healthmarkets.com * www.HealthMarkets.com

 Confidentiality Notice: This e-mail message may contain confidential or 
 proprietary information. If you are not the intended recipient, please 
 contact the sender by reply e-mail and destroy all copies of the original 
 message. HealthMarkets(r) is the brand name for products underwritten and 
 issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake 
 Life Insurance Company(r), Mid-West National Life Insurance Company of 
 TennesseeSM and The MEGA Life and Health Insurance Company.SM




 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On
 Behalf Of van Sleeuwen, Berry
 Sent: Tuesday, October 05, 2010 8:45 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: PowerCenter on z

 Hello Listers,

 We have been looking on the net but we can't get an answer. Is
 PowerCenter available for z/Linux? And if so, what are the
 requirements
 for PowerCenter?


 Met vriendelijke groet/With kind regards,
 Berry van Sleeuwen
 Flight Forum 3000 5657 EW Eindhoven

 ( +31 (0)6 22564276



 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/


 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


How to convince others. Was: Re: mono keep guest active - ban the blips.

2010-08-19 Thread Berry van Sleeuwen
That's a good way to make things clear. Especially to management.

Here is a challenge. We are in the process of enrolling new machines
into production. Part of that is that they want to force us to install a
general monitoring tool (nagios and local scripting). We noticed quite a
dramatic increase in resource usage. CPU at least doubles and the guests
all go to Q3. Upon our comments on wasting resources, poorer storage
handling etc. management responds so then we have to buy storage. So
we now have to write a bussinesscase why we NOT should increase storage
to handle the load. What are convincing arguments? After a few years of
discussing this over and over again I'm out of ideas.

Thanks, Berry.


Op 17-08-10 23:35, Barton Robinson schreef:
 The reason these blips are so virtual unfriendly - think about poor
 old z/vm storage management. We need to steal some pages for some real
 work going on.  Do we steal it from the server doing real
 transactions? or from the one that is blipping? oops, we can't tell
 the difference.


--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: How to convince others. Was: Re: mono keep guest active - ban the blips.

2010-08-19 Thread Berry van Sleeuwen
Nagios is in use at the server side. Each client (our servers) has the
nagios client, with scipting instead of the nagios plugins, and sec.

Sec is in use for monitoring the /var/log/messages, it makes the server
go into Q3 and stay there and has quite some CPU load as well. Usefull,
I don't know, perhaps but why brun so many cycles and keep busy all the
time? I mean, how many message can you write and consequently read? At
least when we monitor the linux console with PROP we won't have that
much overhead.

The other part is scripting scheduled in cron to monitor the filesystem
and processes. They tend to run at the same time for all servers and
have some CPU load as well. I did notice the mon_fsstat and such, that
only have minor impact on the linuxsystem and they even write records
every minute. So in this case, usefull yes, but at a cost.

Berry.

Op 19-08-10 22:04, David Kreuter schreef:
 Are Nagios and local scripts waking up needlessly? or are they doing
 legitimate work even if it is wasteful?
 David Kreuter


  Original Message 
 Subject: How to convince others. Was: Re: mono keep guest active - ban
 the blips.
 From: Berry van Sleeuwen berry.vansleeu...@xs4all.nl
 Date: Thu, August 19, 2010 3:49 pm
 To: LINUX-390@VM.MARIST.EDU

 That's a good way to make things clear. Especially to management.

 Here is a challenge. We are in the process of enrolling new machines
 into production. Part of that is that they want to force us to install a
 general monitoring tool (nagios and local scripting). We noticed quite a
 dramatic increase in resource usage. CPU at least doubles and the guests
 all go to Q3. Upon our comments on wasting resources, poorer storage
 handling etc. management responds so then we have to buy storage. So
 we now have to write a bussinesscase why we NOT should increase storage
 to handle the load. What are convincing arguments? After a few years of
 discussing this over and over again I'm out of ideas.

 Thanks, Berry.


 Op 17-08-10 23:35, Barton Robinson schreef:

 The reason these blips are so virtual unfriendly - think about poor
 old z/vm storage management. We need to steal some pages for some real
 work going on. Do we steal it from the server doing real
 transactions? or from the one that is blipping? oops, we can't tell
 the difference.


 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: How to convince others. Was: Re: mono keep guest active - ban the blips.

2010-08-19 Thread Berry van Sleeuwen
True, it isn't. It's the replacement of an operator. The main issue here
is that it needs to raise tickets and get reporting stats. For instance,
raise a ticket at 100% CPU (and indeed, our ABS limithard machines do
raise tickets when they are running their batch..sigh.) or when a
filesystem is at 100%. The reporting is for instance on CPU and
filesystem usage.

But indeed it can't provide insight in the performance of a guest, other
than detect thresholds. And it doesn't have to either, the monitoring
department can look at top, vmstat or sar to detect that kind of
problems should they need to (yeah right, then they know all about the
entire environment).

Still, as for a case, this is a good point. We need to be able to
address performance related monitoring and nagios can't do that. Or at
least not within the scope of an entire LPAR.

Thanks, Berry.

Op 19-08-10 22:12, Rich Smrcina schreef:
  A 'general monitoring tool' is not a performance monitor.  In an
 environment where
 efficient resource utilization is critical to the business, a means to
 monitor:

 - the performance of the virtual machine environment
 - the virtual machines running in that environment
 - potentially systems outboard from the environment

 Is paramount to a successful implementation on System z.  Additionally
 you may want to
 perform chargeback and accounting based on internal procedures that
 may be in place.

 Nagios doesn't provide the timing resolution or access to z/VM
 monitoring resources, so
 it loses.



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Shared root and shutdown

2010-08-10 Thread Berry van Sleeuwen
I have been playing with a RO setup. Directories that need to be RW are
separate minidisks (/var and /tmp) or they are linked to a directory on
the RW disk (/root, /home, /srv). /var is a separate RW disk, even the
regular RW systems also have /var on it's own (mini)disk. I didn't test
it with lvm just yet but I guess that would not need some temporary bind
mount. Or at least we don't see errors on /var/lock/lvm with our full RW
systems so I expect the /var disk is mounted before lvm needs it. I
don't think in this case it matters if /var is mounted on an RW or an RO
rootdisk.

Berry.

Op 10-08-10 16:03, Leland Lucius schreef:
 It was /var/lock/lvm that needed to be bind
 mounted to somewhere else temporarily.

 Leland



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Shared root and shutdown

2010-08-10 Thread Berry van Sleeuwen
Hm, I didn't think of that when I tried it. IIRC the redbook did mention
to replace the /etc/mtab on the / disk with a sym-link but didn't
mention to also replace it on the RW disk that is bind mounted. So
that's keeping my /etc from umount.

Also, I did replace it once and found the boot.rootfsck to remove the
mtab (or the link to /proc/mounts) and recreate a new mtab. Yes, that
was before the / went RO. After that a link can't be removed obviously.

Berry.


Op 10-08-10 12:26, Richard Troth schreef:
 To get /etc unmounted, you need to make /etc/mtab a sym-link to
 something outside of that filesystem.  Sym-linking /proc/mounts as
 /etc/mtab is the most common way to do this.  'umount' needs to be
 able to do its work without the deadlock of mtab being open when it
 makes the system call.  So good practice is to replace /etc/mtab as a
 stand alone file with a sym-link to /proc/mounts.


--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Attach OSA express3 to a guest

2010-08-02 Thread Berry van Sleeuwen
Hi Mark,

Thank you, after reboot the network has been started correctly.

To make you smile, now our client noted the java 1.5 and tomcat5 but he
realy wants java1.6. and tomcat6. So yes, i'm pulling SLES11 SP1 at this
moment.

Regards, Berry.

Op 30-07-10 20:59, Mark Post schreef:

 It looks like that part of the support didn't make it into SP2, only SP3 and 
 later.  Since you're running an out of service system anyway, you could just 
 make this update:


 Mark Post

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Attach OSA express3 to a guest

2010-07-27 Thread Berry van Sleeuwen
Hi Mark,

At the IBM devworks
(http://www.ibm.com/developerworks/linux/linux390/development_recommended.html)
I found that four-port OSA is supported with a patch against kernel
2.6.25. We are running in SLES10 SP2 at level 2.6.16. So does our system
support this option?

Regards, Berry.

Op 27-07-10 19:36, Mark Post schreef:
 On 7/27/2010 at 05:55 AM, van Sleeuwen, Berry

 berry.vansleeu...@atosorigin.com wrote:

 But how can we
 configure the linux guest to use port 1? Either in VM or in the
 linuxguest. Where can I find this in the documentation?

 On SLES 10 (SP2 and higher):
 yast - Network Devices - Network Card - Edit - Advanced - S/390
 and set Port Number to 1.


 Mark Post

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Attach OSA express3 to a guest

2010-07-27 Thread Berry van Sleeuwen
Indeed, my (old) Device driver book doesn't contain the options for
this. The newest version (dated 2010) does contain what I was searching for.

Thanks, Berry.

Op 27-07-10 14:11, Quay, Jonathan (IHG) schreef:
 Look on DeveloperWorks at the Devices Drivers documentation.  There is a 
 large chapter on qeth.

 

 From: Linux on 390 Port on behalf of van Sleeuwen, Berry
 Sent: Tue 7/27/2010 5:55 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Attach OSA express3 to a guest



 Hi listers,

 Our linux guests connect to the vswitch. Our vswitch has been configured
 to use an OSA device on one of the ports. We have a vswitch that
 connects to port 0 and two that connect to port 1.

 We now have a guest that must be configured with a dedicated OSA, ie
 attach the OSA devices to the guest, using port 1. But how can we
 configure the linux guest to use port 1? Either in VM or in the
 linuxguest. Where can I find this in the documentation?


 Met vriendelijke groet/With kind regards,
 Berry van Sleeuwen
 Flight Forum 3000 5657 EW Eindhoven

 ( +31 (0)6 22564276





 Atos Origin http://www.atosorigin.com/

 MO CF SC Mainframe Services





 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/



 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Files on disk

2010-07-21 Thread Berry van Sleeuwen
Hello Edmund,

Sparse files. OK. Then the next question, how can I store a 26G file in
a machine that isn't that large? And to add to this, why does the
filesystem backup really dump 26G into our TSM server?

So it looks like the data is going somewhere.

Berry.

Op 21-07-10 15:41, Edmund R. MacKenty schreef:

 Because they are sparse files.  Linux only allocates blocks for a file that
 have actually been written, so if a process creates a file and seeks a couple
 of gigabytes into it before the first write, the file size is reported as
 over 2GB, but it really only uses the blocks actually written after that
 point.  Use du(1) to report the actual space used by those files.




--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Files on disk

2010-07-21 Thread Berry van Sleeuwen
Thank you all for your replies. It's clear to me, we were dumping zero's.

Regards, Berry.

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Guest network connection error

2009-11-07 Thread Berry van Sleeuwen
Indeed, the actual linux guest is moved to the other VM.

Another thing that was noticed by the network guys, the OAT doesn't show
the registered IP addresses from this LPAR anymore. This is for all
guests, including the ones that are still running in this LPAR. If a
guest logs off it cannot register on the OSA. This has been verified by
restarting a test machine, it too can't be reached from outside VM
anymore. When we moved the guests to the second VM the IP addresses got
registered on the OSA in the second LPAR and we have got full
connectivity back. (note, same OSA)


Regards, Berry.

--
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: JAVA JDK 1.6

2009-08-08 Thread Berry van Sleeuwen
I guess Florian wanted to reply to the list.

Regards, Berry.

Florian Bilek schreef:
 Dear all,

 Even I couldn't agree more with the statements about sticking to the
 available software versions, this does not reflect reality. As
 software is mostly developed outside of the organisations they want to
 use it, nobody is taking care of certain maintenace levels. When it is
 available, when it is fits to the requirements then the management
 wants to have it. And when you as responsible for the zSeries tell
 them, well we can not do it because we have SLES 10 and SLES 11
 requires a new mainframe, I guess you can imagine what the reaction of
 the management will be: Burry this bloddy thing an replace it
 immediately by more modern hardware.

 In my opinon the zSeries has to be as flexible as possible in order to
 have a chance to survive against the other platforms. It is not that
 you simply buy a new zSeries every year.

 So I think there is a real need to support JAVA 1.6 also on SLES 10
 and I really don't see why this should not be possible.

 Best regards,
 Florian


 On Sat, Aug 8, 2009 at 1:01 AM, Berry van Sleeuwen
 berry.vansleeu...@xs4all.nl mailto:berry.vansleeu...@xs4all.nl wrote:

 I wish we could manage the programmers :-). Some do program with a
 version in mind. Especially when new functions are incorporated into a
 new software product. Or when some product requires (or thinks it
 requires) a certain version. As much as we would like to we can't
 always
 control the programmers or software vendors.

 I do agree that a programmer should code for the available version but
 it's not always that simple.

 Berry.


 Mark Post schreef:
  The programmers may prefer...  That's a management issue, and
 should be addressed by them.
 

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




 --
 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: JAVA JDK 1.6

2009-08-07 Thread Berry van Sleeuwen
I wish we could manage the programmers :-). Some do program with a
version in mind. Especially when new functions are incorporated into a
new software product. Or when some product requires (or thinks it
requires) a certain version. As much as we would like to we can't always
control the programmers or software vendors.

I do agree that a programmer should code for the available version but
it's not always that simple.

Berry.


Mark Post schreef:
 The programmers may prefer...  That's a management issue, and should be 
 addressed by them.


--
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: Administration on RedHat

2009-07-16 Thread Berry van Sleeuwen
I didn't know the system-config commands so I'll have a look at them.

As for YUM, as I understand it it is more like an updater so I didn't
look at it thus far since I want to install software (from my software
repository) rather than update installed packages.

Thank you all for your tips.

Regards, Berry.

Amelia Nilsson schreef:
 As far as I know there's nothing like YaST in RedHat, but you have the
 system-config-* commands that you might want to check out. They're not
 covering everything that YaST does but it's a little bit on the way.

 About GUI for package management I don't know of any at all, but yum is
 very easy to use even if it's a bit different from YaST.

 Best regards,
 Amelia





--
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: Mingetty version on SLES10

2009-01-22 Thread Berry van Sleeuwen
Hello Bruce,

When searching for an answer it was described with mingetty. But then I
found that that option wasn't available until version 1.0.*. IIRC I did
try some options, including agetty but all failed, probably due to my
error I guess.

Anyway, you all gave me some hints to try other options so I'll give
them a try.

OpenSuse 11.0 also has 1.0.7. So indeed I do expect it to be present in
SLES11. But that wouldn't help me now because we are still at SLES10.

Thanks, Berry.

--
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: Kernel bug in SLES 9

2009-01-06 Thread Berry van Sleeuwen
Hello Mark,

Thanks for your comments. This workaround would be an option. We'll have
to look into that.

I did find that some work has been done when I was looking into the
aio.c. And also that some parts have been discussed for some time now.
The aio.c (and aio.h) have been changed to some extent in later kernel
versions but I can't say if those changes would have any effect on our
problem.

Just for my good understanding (and for some input tomorrow at our next
meeting). Suppose we would be able to open a service request, what would
be the chance a kernel bug can be fixed through a service request? Based
on the discussions on the aio.c my guess would be that a kernel fix
would be difficult to get implemented, especially when a quick result is
expected. Am I correct when I expect that the service would be close to
an advice like changing specific parameters and/or install a newer
kernel or patch? (Note that this is in no way to you personally, I
expect kernel changes to be part of the kernel development team so any
change in that part is outside the scope of any company that provides
support. The problem is how to convince the upper level to view it the
same way. As Alan did suggest, input for a MER.)

Do you know by any chance what button to push for AIO in Oracle? I know
that we did cover that when the server was installed 4 years ago but I
didn't do that part myself. IIRC it was asynch_IO=yes or some parameter
like that. Correct?

Is there any guess as to what performance penalty this disable would
give us? The server does hit it's limits quite often so I expect this
question to be the next one.

Regards, Berry.

--
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: Recover a root disk

2008-11-27 Thread Berry van Sleeuwen
Hello Florian,

I wish that was the case, then it would be easy to investigate. Or at
least easier. Like I mentioned, it is not totally corrupted, a part of
the filesystem still exists. So it is not formatted. /boot for instance
still exists, the machine can boot but once it tries to read the inittab
it finds most of /etc has gone.

Regards, Berry.

Florian Bilek schreef:
 Hello Berry,

 Is the server running on z/VM? If so, couldn't it be that somebody had
 overlayed the rootdisk with another MDISK and formatted that new one,
 leaving the old one totally corrupted? Just guessing.

 Regards,
 Florian

 On Thu, Nov 27, 2008 at 2:10 PM, van Sleeuwen, Berry 
 [EMAIL PROTECTED] wrote:


 Hello list,

 Last night we had to recover the root disk of one of our SLES9 machines.
 For some unknown reason part of the root disk has disappeared. In the
 end we have restored the disk from our backups but we still have no idea
 why this had happend. It looks like someone has removed selected files
 or directories. Some directories are stil available, such as /bin or
 /boot but other have been partially or entirly removed. /etc contains
 some 40 files, var/log is gone, /var/spool still exists.

 Would it be possible to recover the data from the disk? Are there any
 tools available that can analyze and/or recover files? For instance the
 /var/log has vanished so if we could recover that perhaps it would give
 us some clue as to what happend.

 Do you have any thoughts as to why a part of a filesystem can just
 disappear?

 With kind regards,

 Berry van Sleeuwen.





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





 --
 Best regards

 Florian Bilek

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Recover a root disk

2008-11-27 Thread Berry van Sleeuwen
Hello Waldo,

We have mainframe DASD, 3390 model 3. Configured as minidisk in zVM. We
have mirrored DASD but since the source (production) disk has been
corrupted so is the mirror.

Well, I hope it wasn't an attack because that would mean it's an inside
job. This guest is not connected to the outside world.

Regards, Berry.

D Waldo Anderson schreef:
 I think it would depend on what the physical medium is.  If it's on a
 mainframe DASD volume, it should be  shadowed and DFH should be able to
 recover it.  If it's on a HD, some of the 'low level' formatting programs
 should be able to look at the physical drive to recover it.  On IDE/ATAPI
 drives, an erasure usually only deletes the directory and the blocks are
 untouched.
 Hope this helps, but it sounds like you may have been
 'attacked'.successfully.

 D  Waldo Anderson




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


Re: SUSE 10 Installation Help

2008-11-24 Thread Berry van Sleeuwen
Hello Russel,

I don't know if you are connecting from a windows (putty) or linux PC
(ssh or openssh) but yesterday I installed a system and connected from a
linux machine. SSH from linux apparently sends the userid with it. So I
had to issue ssh -l root 192.168.200.2 instead of just ssh
192.168.200.2 to force the root login. Once I used the -l option I was
granted the root login and the password I supplied in the install was
accepted.

Regards, Berry.

Jones, Russell schreef:
 I am 99% sure of what I set the password to in the first part of the
 installation. I was able to logon via ssh for the first part of the
 install, but the password is not being accepted now. If I can't get the
 password to work, is my only option to start the install over from the
 beginning?

 Russell Jones
 ANPAC
 System Programmer

 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Rich Smrcina
 Sent: Monday, November 24, 2008 1:48 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: SUSE 10 Installation Help

 It will be the temporary password that you entered during the first part
 of the install.
   Make sure you have the proper case for the password.

 Jones, Russell wrote:

 My boss came home from a tech conference with an evaluation copy of

 SUSE

 10. I am trying to install it and I seem to be stuck. I have completed
 the install and IPLed the new system. There is a message on the

 console

 to logon and run the command /usr/lib/YaST2/startup/YaST2.ssh. I can
 connect via ssh, but I do not know the root password to logon.
 Apparently it is not the same as the temp ssh password that I setup on
 the installation system. Is there a default root password?

 Thanks for your help,

 Russell Jones
 ANPAC
 System Programmer



 --
 Rich Smrcina
 VM Assist, Inc.
 Phone: 414-491-6001
 Ans Service:  360-715-2467
 http://www.linkedin.com/in/richsmrcina

 Catch the WAVV!  http://www.wavv.org
 WAVV 2009 - Orlando, FL - May 15-19, 2009

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: How to virtualize Windows under SLES Linux on zSeries - PJBR

2008-11-11 Thread Berry van Sleeuwen
Hello Florian,

IMO it is the other way around. Microsoft doesn't build it's software
for zseries therefore it will not run on zseries. Perhaps IBM would sell
zseries machines to run windows, just like they do for linux, but then
Microsoft would have to build the software for this CPU. And also other
vendors would have to build their software for z too.

I too don't consider x86 emulation to meet business needs. It would be
interesting to see if it will run from a specialist point of view. But
for production loads I want the software to run with as little overhead
as possible. Emulating an x86, or emulating any type of CPU for that
matter, to run mission critical software will just be too expensive.
Therefore, you'd be better off moving the workload to a native zseries
application than to run an emulated processor to do the same thing.

There are indeed a lot of applications that are out there for x86. But
there is a choice. If you want a database you can select Access. But
then you'd also select the hardware and OS it must run on. You could
also select DB2 or MySQL and in that case you can decide upon the
platform you can run it on, depending on the capabilities of the
platform. Most applications you can buy for windows do have
alternatives, either for x86 or for zseries. And now that we have linux
on zseries a lot more applications have become available for zseries. If
only there were more vendors that would offer (build/compile/support)
their products for zseries too.

We offer our clients an option with linux on z. If they want a database,
we support MySQL, Postgresql, DB2 and oracle. A webserver will be
Apache. A fileserver, Samba or NFS. Just what they can run on linux, we
are willing to offer. O, btw, it will run on z (notice we don't say
mainframe ;-)). But if a client insists on running IIS or MS-Access, too
bad, we can not run that on our linux on z as well as you cannot run it
on a x86 linux.

As for cost, yes, a mainframe will cost you more than a PC, but can you
run as much workload on a PC? You would need more PC's to run the same
workload and that would increase the cost to the same level or even
above that. The problem is that you can't compare a single PC with a
single mainframe and then say that the mainframe is more expensive. It
is just like comparing a car with a truck. I wouldn't buy a car and then
expect it to move 40tons of freight. So why then expect a PC to run the
workload of a mainframe? Unfortunatly, most decision makers only know a
PC and compare the price for a PC they buy at whatever discountstore
with the price they must pay for a zseries machine. They ignore the fact
that a mainframe can run much, much more workloads and is much more
scalable than a PC.

It is just a matter of choice and what choice you begin with. If you
select windows then you have selected x86 by default and also have
selected the range of products you can run on that platform. If you
select an application, you are limited by the options that this
application will bring you. But if you select the hardware that will
support your workload first then you are free to select the OS and
applications that will run on the type of hardware.

Regards, Berry.

Florian Bilek schreef:
 Hello Alan,

 I would like to come back on your statement:
 snip
 It's certainly
 interesting from an academic perspective, but it doesn't meet the needs of
 business.
 /snip

 I would really like to understand IBM's view on this issue. Is it from a
 business point of view that Windows or Intel (x86) is not considered as a
 serious environment for running mission critical applications??

 Unfortunately there are hundred thousands of applications out there that
 exist only on Windows and unfortunately not on Linux. And even when they
 would exist on Linux it does not mean that they would run on z/Series. So
 since long time I wonder myself what is the reason to simply ignore the fact
 that in a lot of organisations consider the costs of z/Series compared to
 WinTel Servers as terrible high and then this platform does not run Windows
 applications. (I do not want to discuss if this is true or not but this is
 what I hear from my management). I have all the time problems with my
 management to justify the costs. If x86 programs would run naively also on
 z/Series I would never had such problems any more. So I would see indeed a
 urgent need in solving this issue.


 Best Regards,

 Florian




 On Tue, Nov 11, 2008 at 5:57 PM, Alan Altmark [EMAIL PROTECTED]wrote:


 On Tuesday, 11/11/2008 at 11:24 EST, jose raul baron
 [EMAIL PROTECTED] wrote:


 Certainly I agree the proper thing would be to migrate the workload

 instead

 of keeping the same philosophy but... the customer is always right.

 (cough)

 As many customers who have talked to me can attest, no, they are not
 always right. :-) They can have good intentions and excellent ideas, but
 the technology is sometimes simply not there to support those ideas.  And,
 occasionally, 

Re: WHat are people doing

2008-09-19 Thread Berry van Sleeuwen
Hi Terry,

When we started our Linux on Z one of the first machines that has been
moved to this platform is a datawarehouse database. This database holds
some 500G (IIRC) and runs 2 entire IFL's. It could run even more if we
had more IFL power available.

As for the reason why anyone would stay on for instance solaris. In some
cases it can be just because we've done this already. Or perhaps
because of some tools that are in use. And in some cases there can be a
problem with a software product that is not (yet) supported on Z or on
the specific Linux release. I don't think it's related to the
capabilities of Linux on Z as such. But sometimes tuning can be a
problem because tuning in a shared environment can mean you'd have to
find new settings and knobs. At the very least I'd move a large database
to the mainframe to take advantage of the IO capabilities of the
mainframe. But make sure you know and understand tuning before moving
large databases (just to avoid a disapointed customer due to performance
issues).

But in the end it all has to do with cost. So make sure you get the
numbers. And make sure you get ALL numbers, not only CPU or DASD but
also the costs (or rather savings) in floorspace and power. Remember
that you are not necessarily be better off with just one Linux machine
on an LPAR. The added bonus is that you can run multiple machines,
either on VM or multiple LPAR's, with shared resources (CPU, storage,
floorspace, power etc). Some people tend to look only at one server for
their calculations and ignore the fact that you can (and will) be
sharing resources. So present the big picture to your management.

As for my LPAR's, we run one or two large machines to account for the
IFL's and storage of the LPAR. And a number of small little used
machines that will hitch a ride on the spare capacity. And that will be
your cost saver. After all, where can you find a test server that cost
you almost nothing?

I hope this helps you to convince your management to move to Linux on Z.

Kind regards, Berry.

Martin, Terry R. (CMS/CTR) (CTR) schreef:
 Hi



 Are you seeing a fair number of shops running Oracle on Linux on Z and
 if so have the results been favorable? The question comes about
 because



 My management is hearing that when people move servers over to the Z
 under Linux they are mostly moving servers that have very little usage
 already and that databases like Oracle are staying put on the other
 platforms such as Solaris in my case, giving them the impression that
 the z/Linux cannot handle this. I know there are some situations where
 this may be true but I do not believe on a whole this is necessarily
 true. What do you think!



 Thanks,



 Terry




 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390