Re: Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread Thomas Kern

That is what I have done on real systems (ORACLE RAC) running OEL5 where 
external access
was on one NIC and inter-RAC communications was on an internal network through 
another
NIC. I had to put a GATEWAY= statement in each icfcfg-ethx file and I had the 
DEFAULT
gateway listed in the /etc/sysconfig/network.

/Tom Kern

On 3/3/2011 14:52, Pat Carroll wrote:

Mike,
Has the customer tried to put the appropriate GATEWAY= statement in each 
ifcfg_ethx?
PC


Patrick Carroll  |  Technology Architect II
L.L.Bean, Inc.(r) |  Double L St. |  Freeport ME 04033
http://www.llbean.com | pcarr...@llbean.com | 207.552.2426


--
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: Spiking server

2011-03-03 Thread Rob van der Heij
On Thu, Mar 3, 2011 at 6:11 PM, Gaylord Toneff  wrote:

>
> The highest priority swap should always be VDISK (not real disk).
> Save the real disk for a small contingency (with the lowest priority) in
> case you run out of both MEM and VDISK swap.
>

Why would you want to use a real disk? (other than that you work from a
company that sells them)
Unused swap on real disk costs money, unused VDISK is practically for free.
You do need to monitor the usage of the VDISK and alert when usage grows
beyond planned capacity.

If you don't monitor VDISK usage, go ahead and use real disk to catch it. It
works like the gravel bed next to the race track. When Linux swaps to real
disk things get very slow, damage occurs and users will complain. Next thing
your boss will do the alerting. Not everyone likes that option ;-)

Rob
--
Rob van der Heij
Velocity Software
http://www.velocitysoftware.com/

--
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: Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread David Boyes
On 3/3/11 2:35 PM, "Michael MacIsaac"  wrote:

>I'm asking this question on the behalf of a customer:
>I have this set up fine as far as VM is concerned, and have eth0 and eth1
>defined on Linux (RHEL 5.5).
>My problem is that the networks defined by eth0 and eth1 have different
>gateway addresses, but when both interfaces are brought up, the default
>gateway becomes the gateway of the last interface started. This renders
>the previous interfaces unusable.
>How do I configure a different gateway for each interface successfully?
>Thanks for any help or ideas you might give me,

You can't. A machine can have only one default route. You must explicitly
route address prefixes (or get this info from a dynamic routing protocol
like RIPv2 or OSPF) to a destination handled by a host on a specific
subnet, and have the kernel choose which interface handles it.

Why? Remember what a default route is: the route of last resort when there
are no other possible choices, ie what do I do with this packet if there
is no other more specific route?

To simulate what you want, you'd have to add network routes for the hosts
reachable via each interface, and specify the "current default" route for
the segment as the next-hop destination for that network range.

Example: 

Host 1 has two interfaces, eth0 and eth1. eth0 is 1.2.3.4. eth1 is
5.6.7.8. 

Networks 192.168.1.x and 192.168.2.x are reachable via 1.2.3.1.
Networks 172.22.20.x and 172.155.20.x are reachable via 5.6.7.254
If we don't know any better, we send packets to 1.2.3.1 (the default
route). 

Your routing statements would look like this:

route add default gw 1.2.3.1 metric 0
route add 192.168.1.0 255.255.255.0 gw 1.2.3.1 metric 1
route add 192.168.2.0 255.255.255.0 gw 1.2.3.1 metric 1
route add 172.22.20.0 255.255.255.0 gw 5.6.7.254 metric 1
route add 172.155.20.0 255.255.255.0 gw 5.6.7.254 metric 1

For any real network, enable quagga and get this stuff via dynamic routing
updates. Much easier, and your network people will like you much better.

--
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/


TSM server

2011-03-03 Thread Melancon, Ruddy
We are in the process of bringing up a Tivoli Storage Manager [TSM] server 
using zLinux [SLES11] under zVM [6.2].  We are going to use the IBM7650G with 
XIV back end storage to provide Virtual Tape.  The idea is to backup intel 
servers directly to tape then replicate to remote DR site.

We have run into problems with memory allocations.  We were using 2GB memory 
with 750MB of swap space in vdev.  We started getting sql errors with the 
indication that it was a memory or swap space issue.  I have increased the 
memory to 3GB and now the image will only allow us to run 11 TSM processes 
before getting errors.  This will not be good for production.

I will increase this to 4 GB memory with 2GB of swap space to see what happens.

Does anyone have experience and/or recommendations as to the correct settings 
for memory allocations?

Ruddy A. Melancon
IT Systems Specialist, Senior
Alabama Department of Transportation
334-353-6323

--
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: Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread Christian Paro
That case (of wanting to load-balance traffic between two or more network
interfaces which can all access the same destinations) could be handled by
network interface bonding - but then you'd have only one IP address and
subnet for the entire bond. Different issue.

I think Mike's customer was having a problem with sometimes not getting
responses at all, as could happen in a case like the following:

A server has a public interface (eth0) and a private interface (eth1), where
eth1 is on a 10-dot or 192.168.x.x network that can't be accessed from the
outside world. Their eth1 interface is on 10.1.x.x, but incoming traffic
from 10.2.x.x is also routed through eth1 by a gateway on their ten-dot LAN.
They receive this incoming traffic, but without proper routing configuration
attempt to respond to it through the gateway configured for their default
eth0 interface. Which, since it can't reach the network endpoint that sent
the original incoming packets, fails to connect with "no route to host" when
an attempt is made to reply to that endpoint.

10.2.1.2 sends a packet to 10.1.2.3 through 10.2.0.1
10.2.0.1 routes it to 10.1.0.1
10.1.0.1 routes it to 10.1.2.3 (eth1)
10.1.2.3 replies through 9.1.2.1 (eth0)
9.1.2.1 can't reach 10.2.1.2.
Connection fails on reply.

On Thu, Mar 3, 2011 at 3:11 PM, McKown, John
wrote:

> I think what is wanted may be something like: eth0 goes to LAN-A (
> 10.170.0.0/16) while eth1 to to LAN-B (10.171.0.0/16). But both LANs have
> their own separate gateway which connects to the world-wide Internet. So the
> customer wants be be able to use either eth0 or eth1 when the destination is
> on the Internet. He does not want all Internet traffic to go through only
> the last eth? which was activated. I don't think you can have a single IP
> address routed randomly through whichever eth? happens to be available. I.e.
> www.redhat.com is accessable via LAN-A or LAN-B, so the user wants the
> server to pick whichever one is not busy and use it. I don't think this is
> possible.
>
> --
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> 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-390@VM.MARIST.EDU] On
> > Behalf Of Christian Paro
> > Sent: Thursday, March 03, 2011 2:01 PM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: Using 2 NIC addresses to different networks on
> > different VSWITCHes
> >
> > A system can only have one default interface. But it should
> > only be falling
> > back to default when one of the more specific routes have not
> > been met.
> >
> > So if I have a system like this:
> >
> > # route
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 9.1.2.3 * 255.255.255.128 U 0 0 0 eth0
> > 10.1.0.0 * 255.255.0.0 U 0 0 0 eth1
> > link-local * 255.255.0.0 U 0 0 0 eth0
> > loopback * 255.0.0.0 U 0 0 0 lo
> > default * 0.0.0.0 U 0 0 0 eth0
> >
> > ...anything going to 10.1.x.x is going through eth1, anything
> > going through
> > 9.1.2.0-9.1.2.128 is going through eth0, anything that doesn't fall to
> > either of those (or link-local or loopback) goes through the default
> > interface (eth0) using the gateway associated with that
> > interface (9.1.2.1)
> > on the assumption that said gateway will be able to route
> > this traffic on
> > toward its destination subnet.
> >
> > That config is working mostly off of assumptions based on
> > each interface's
> > ifcfg* file, with the only explicit routing configuration being this:
> >
> > # cat /etc/sysconfig/network/routes
> > default - - eth0
> >
> > ...if something more advanced than this kind of assumption
> > (forward traffic
> > for the subnet an interface is on to that interface,
> > everything that doesn't
> > match one of those subnets through the gateway associated
> > with the "default"
> > interface) is needed, that can also be configured in
> > /etc/sysconfig/network/routes on SLES. RHEL has separate per-interface
> > routing files under /etc/sysconfig/network-scripts, if I
> > remember correctly.
> >
> > If, for instance, I wanted to forward traffic outbound to
> > 10.2.x.x through
> > eth1 using the 10.1.0.1 gateway instead of eth0 using the
> > 9.1.2.1 gateway,
> > I'd need to create another routing line for that.
> >
> > That would look something like:
> >
> > # cat /etc

Re: Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread McKown, John
I think what is wanted may be something like: eth0 goes to LAN-A 
(10.170.0.0/16) while eth1 to to LAN-B (10.171.0.0/16). But both LANs have 
their own separate gateway which connects to the world-wide Internet. So the 
customer wants be be able to use either eth0 or eth1 when the destination is on 
the Internet. He does not want all Internet traffic to go through only the last 
eth? which was activated. I don't think you can have a single IP address routed 
randomly through whichever eth? happens to be available. I.e. www.redhat.com is 
accessable via LAN-A or LAN-B, so the user wants the server to pick whichever 
one is not busy and use it. I don't think this is possible.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
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-390@VM.MARIST.EDU] On 
> Behalf Of Christian Paro
> Sent: Thursday, March 03, 2011 2:01 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Using 2 NIC addresses to different networks on 
> different VSWITCHes
> 
> A system can only have one default interface. But it should 
> only be falling
> back to default when one of the more specific routes have not 
> been met.
> 
> So if I have a system like this:
> 
> # route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 9.1.2.3 * 255.255.255.128 U 0 0 0 eth0
> 10.1.0.0 * 255.255.0.0 U 0 0 0 eth1
> link-local * 255.255.0.0 U 0 0 0 eth0
> loopback * 255.0.0.0 U 0 0 0 lo
> default * 0.0.0.0 U 0 0 0 eth0
> 
> ...anything going to 10.1.x.x is going through eth1, anything 
> going through
> 9.1.2.0-9.1.2.128 is going through eth0, anything that doesn't fall to
> either of those (or link-local or loopback) goes through the default
> interface (eth0) using the gateway associated with that 
> interface (9.1.2.1)
> on the assumption that said gateway will be able to route 
> this traffic on
> toward its destination subnet.
> 
> That config is working mostly off of assumptions based on 
> each interface's
> ifcfg* file, with the only explicit routing configuration being this:
> 
> # cat /etc/sysconfig/network/routes
> default - - eth0
> 
> ...if something more advanced than this kind of assumption 
> (forward traffic
> for the subnet an interface is on to that interface, 
> everything that doesn't
> match one of those subnets through the gateway associated 
> with the "default"
> interface) is needed, that can also be configured in
> /etc/sysconfig/network/routes on SLES. RHEL has separate per-interface
> routing files under /etc/sysconfig/network-scripts, if I 
> remember correctly.
> 
> If, for instance, I wanted to forward traffic outbound to 
> 10.2.x.x through
> eth1 using the 10.1.0.1 gateway instead of eth0 using the 
> 9.1.2.1 gateway,
> I'd need to create another routing line for that.
> 
> That would look something like:
> 
> # cat /etc/sysconfig/network/routes
> 10.2.0.0 10.1.0.1 255.255.0.0 eth1
> default  --   eth0
> 
> On Thu, Mar 3, 2011 at 2:52 PM, Pat Carroll 
>  wrote:
> 
> > Mike,
> > Has the customer tried to put the appropriate GATEWAY= 
> statement in each
> > ifcfg_ethx?
> > PC
> >
> >
> > Patrick Carroll  |  Technology Architect II
> > L.L.Bean, Inc.(r) |  Double L St. |  Freeport ME 04033
> > http://www.llbean.com | pcarr...@llbean.com | 207.552.2426
> >
> > CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain
> > confidential information that is legally privileged. The 
> information is
> > solely for the use of the intended recipient(s). Any 
> disclosure, copying,
> > distribution, or other use of this information is strictly 
> prohibited. If
> > you have received this e-mail in error, please notify the 
> sender by return
> > e-mail and delete this message.
> >
> >
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On 
> Behalf Of
> > Michael MacIsaac
> > Sent: Thursday, March 03, 2011 2:36 PM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Using 2 NIC addresses to different networks on 
> different VSWITCHes
> >
> > I'm asking this question on the behalf of a customer:
> > I have this set up fine as far as VM is concerned, and have 
> eth0 and eth1
> > defined on Linux (RHEL 5.5).
> > My problem is that the networks defined by eth0 and eth1 
> have different
> > gateway addresses, but when 

Re: Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread Christian Paro
A system can only have one default interface. But it should only be falling
back to default when one of the more specific routes have not been met.

So if I have a system like this:

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
9.1.2.3 * 255.255.255.128 U 0 0 0 eth0
10.1.0.0 * 255.255.0.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 eth0

...anything going to 10.1.x.x is going through eth1, anything going through
9.1.2.0-9.1.2.128 is going through eth0, anything that doesn't fall to
either of those (or link-local or loopback) goes through the default
interface (eth0) using the gateway associated with that interface (9.1.2.1)
on the assumption that said gateway will be able to route this traffic on
toward its destination subnet.

That config is working mostly off of assumptions based on each interface's
ifcfg* file, with the only explicit routing configuration being this:

# cat /etc/sysconfig/network/routes
default - - eth0

...if something more advanced than this kind of assumption (forward traffic
for the subnet an interface is on to that interface, everything that doesn't
match one of those subnets through the gateway associated with the "default"
interface) is needed, that can also be configured in
/etc/sysconfig/network/routes on SLES. RHEL has separate per-interface
routing files under /etc/sysconfig/network-scripts, if I remember correctly.

If, for instance, I wanted to forward traffic outbound to 10.2.x.x through
eth1 using the 10.1.0.1 gateway instead of eth0 using the 9.1.2.1 gateway,
I'd need to create another routing line for that.

That would look something like:

# cat /etc/sysconfig/network/routes
10.2.0.0 10.1.0.1 255.255.0.0 eth1
default  --   eth0

On Thu, Mar 3, 2011 at 2:52 PM, Pat Carroll  wrote:

> Mike,
> Has the customer tried to put the appropriate GATEWAY= statement in each
> ifcfg_ethx?
> PC
>
>
> Patrick Carroll  |  Technology Architect II
> L.L.Bean, Inc.(r) |  Double L St. |  Freeport ME 04033
> http://www.llbean.com | pcarr...@llbean.com | 207.552.2426
>
> CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain
> confidential information that is legally privileged. The information is
> solely for the use of the intended recipient(s). Any disclosure, copying,
> distribution, or other use of this information is strictly prohibited. If
> you have received this e-mail in error, please notify the sender by return
> e-mail and delete this message.
>
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Michael MacIsaac
> Sent: Thursday, March 03, 2011 2:36 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Using 2 NIC addresses to different networks on different VSWITCHes
>
> I'm asking this question on the behalf of a customer:
> I have this set up fine as far as VM is concerned, and have eth0 and eth1
> defined on Linux (RHEL 5.5).
> My problem is that the networks defined by eth0 and eth1 have different
> gateway addresses, but when both interfaces are brought up, the default
> gateway becomes the gateway of the last interface started. This renders the
> previous interfaces unusable.
> How do I configure a different gateway for each interface successfully?
> Thanks for any help or ideas you might give me,
>
> "Mike MacIsaac"(845) 433-7061
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions, send email
> to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> 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: Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread Pat Carroll
Mike, 
Has the customer tried to put the appropriate GATEWAY= statement in each 
ifcfg_ethx?
PC 


Patrick Carroll  |  Technology Architect II 
L.L.Bean, Inc.(r) |  Double L St. |  Freeport ME 04033 
http://www.llbean.com | pcarr...@llbean.com | 207.552.2426 

CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain 
confidential information that is legally privileged. The information is solely 
for the use of the intended recipient(s). Any disclosure, copying, 
distribution, or other use of this information is strictly prohibited. If you 
have received this e-mail in error, please notify the sender by return e-mail 
and delete this message.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Michael 
MacIsaac
Sent: Thursday, March 03, 2011 2:36 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Using 2 NIC addresses to different networks on different VSWITCHes

I'm asking this question on the behalf of a customer:
I have this set up fine as far as VM is concerned, and have eth0 and eth1 
defined on Linux (RHEL 5.5).
My problem is that the networks defined by eth0 and eth1 have different gateway 
addresses, but when both interfaces are brought up, the default gateway becomes 
the gateway of the last interface started. This renders the previous interfaces 
unusable.
How do I configure a different gateway for each interface successfully?
Thanks for any help or ideas you might give me,

"Mike MacIsaac"(845) 433-7061

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
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: Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread Quay, Jonathan (IHG)
In your routing table, route the appropriate networks out the
appropriate gateways and interfaces.  Or run a routing protocol daemon.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Michael MacIsaac
Sent: Thursday, March 03, 2011 2:36 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Using 2 NIC addresses to different networks on different
VSWITCHes

I'm asking this question on the behalf of a customer:
I have this set up fine as far as VM is concerned, and have eth0 and
eth1
defined on Linux (RHEL 5.5).
My problem is that the networks defined by eth0 and eth1 have different
gateway addresses, but when both interfaces are brought up, the default
gateway becomes the gateway of the last interface started. This renders
the previous interfaces unusable.
How do I configure a different gateway for each interface successfully?
Thanks for any help or ideas you might give me,

"Mike MacIsaac"(845) 433-7061

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


Using 2 NIC addresses to different networks on different VSWITCHes

2011-03-03 Thread Michael MacIsaac
I'm asking this question on the behalf of a customer:
I have this set up fine as far as VM is concerned, and have eth0 and eth1
defined on Linux (RHEL 5.5).
My problem is that the networks defined by eth0 and eth1 have different
gateway addresses, but when both interfaces are brought up, the default
gateway becomes the gateway of the last interface started. This renders
the previous interfaces unusable.
How do I configure a different gateway for each interface successfully?
Thanks for any help or ideas you might give me,

"Mike MacIsaac"(845) 433-7061

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Spiking server

2011-03-03 Thread Eddie Chen
During the 45000 hit/hr how many threads was created by APACHE.
You should also  look at I/O activities  for dasda2, chances are is at 100. 
There are some apache perforamce you can do, one of them is proxy for static  
page.  



- Original Message -
From: van Sleeuwen, Berry [mailto:berry.vansleeu...@atosorigin.com]
Sent: Thursday, March 03, 2011 09:45 AM
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: Spiking server

Perhaps you can look at the threads for the application. We have a very
small apache that is configured to have only a few childs and threads
within the web server. Granted, it can't service as much threads
simultaneously but the server doesn't abend due to memory problems. So
the users connecting to the server could experience some more delays
during those peaks but usually the server doesn't crash. It does have a
high vdisk IO rate during those peaks.

Did it indeed crash with all swap space exhausted? In that case, maybe
you can consider adding a swapdisk or enlarge an existing one.

Regards, Berry.

> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Bauer, Bobby (NIH/CIT) [E]
> Sent: donderdag 3 maart 2011 13:45
> To: LINUX-390@VM.MARIST.EDU
> Subject: Spiking server
> 
> We have a Wordpress server that really spikes during certain, know
> times of the month, about 45000 hits/hour. Its running on a single z9
> IFL with only 4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I
know,
> more memory, good luck since we are a govt. agency). The user did not
> expect this kind of response so we have all been surprised.
> 
> We have Supercache in use.
> 
> At 1G of memory it crashed yesterday due to lack of memory so we upped
> it to 2G and are waiting for the next cycle. It has swap space of:
> swapon -s
> FilenameTypeSizeUsed
> Priority
> /dev/dasda2 partition   1023976 0
> -1
> /dev/dasdb1 partition   194964  0
> 2
> /dev/dasdc1 partition   64976   0
> 1
> 
> dasda2 is real dasd
> dasdb1 and c1 are VDISK defined using the swapgen macro from Sine
> Nomine
> 
> this morning the server looks like this:
> free
>  total   used   free sharedbuffers
> cached
> Mem:   20503601323728 726632  0 114588
> 345964
> -/+ buffers/cache: 8631761187184
> Swap:  1283916  01283916
> 
> 
> So the general question is, are there other steps we can take to help
> response time when usage peaks? There are 2 other production servers
on
> this lpar. One is very low usage, the other has the potential for the
> same kind of activity. There is a test lpar sharing the IFL with 4G of
> memory also. I've thought of stealing a G from test and moving it to
> production. There are plans to host Wiki's on the production lpar
also.
> Any suggestions would be appreciated.
> 
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
> 
> 
> 
> --
> 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/
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment to it is 
privileged, confidential and protected from disclosure.  If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to 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 notify 
the sender immediately by replying to the message, and please delete it from 
your system.  Thank you.  NYSE Euronext.

--
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: Spiking server

2011-03-03 Thread David Boyes
On 3/3/11 9:49 AM, "Bauer, Bobby (NIH/CIT) [E]" 
wrote:

>Thanks Berry, yes it did crash with all swap space used. We doubled the
>memory but adding another swap space may keep it from crashing.

Making the virtual machine bigger is probably making things worse.

With real memory that constrained, add another VDISK for swap and check to
see that your VDISKs are prioritized over the real disk. Also, if you
don't have any already, defining some XSTOR in your VM LPAR might help in
that you could page the VDISK very quickly to XSTOR w/o impacting things
too much. 

Also look at where your VM paging packs are located -- try to make sure
that they're spread out over as many virtual control units as possible.

--
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: Spiking server

2011-03-03 Thread Gaylord Toneff

The highest priority swap should always be VDISK (not real disk).
Save the real disk for a small contingency (with the lowest priority) in
case you run out of both MEM and VDISK swap.

Gaylord Toneff
IBM Global Services
gton...@us.ibm.com

Member, z/Linux Commercial Account Support
Kaiser Permanente Account
Home Office  661 456 2242
Cell 661 618 2825
Kaiser Office 626 564 7473


   
  From:   "Bauer, Bobby (NIH/CIT) [E]"   
   
  To: LINUX-390@vm.marist.edu  
   
  Date:   03/03/2011 04:48 AM  
   
  Subject:Spiking server   
   
  Sent by:Linux on 390 Port   
   





We have a Wordpress server that really spikes during certain, know times of
the month, about 45000 hits/hour. Its running on a single z9 IFL with only
4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I know, more memory, good
luck since we are a govt. agency). The user did not expect this kind of
response so we have all been surprised.

We have Supercache in use.

At 1G of memory it crashed yesterday due to lack of memory so we upped it
to 2G and are waiting for the next cycle. It has swap space of:
swapon -s
FilenameTypeSizeUsed
Priority
/dev/dasda2 partition   1023976 0   -1
/dev/dasdb1 partition   194964  0   2
/dev/dasdc1 partition   64976   0   1

dasda2 is real dasd
dasdb1 and c1 are VDISK defined using the swapgen macro from Sine Nomine

this morning the server looks like this:
free
 total   used   free sharedbuffers cached
Mem:   20503601323728 726632  0 114588 345964
-/+ buffers/cache: 8631761187184
Swap:  1283916  01283916


So the general question is, are there other steps we can take to help
response time when usage peaks? There are 2 other production servers on
this lpar. One is very low usage, the other has the potential for the same
kind of activity. There is a test lpar sharing the IFL with 4G of memory
also. I've thought of stealing a G from test and moving it to production.
There are plans to host Wiki's on the production lpar also.
Any suggestions would be appreciated.

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474



--
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: EDEV FBA disks and Cloning

2011-03-03 Thread Craig Collins
FYI - the problem we were having with the boot.findself script had to do
with upper/lower case matching issues when the script interrogated the
sles11 parameter files searching for the source and destination server names
and ip addresses.  So, the script worked fine once we matched the cases to
what the script expected as it scanned the parameters.

--
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: EDEV FBA disks and Cloning

2011-03-03 Thread Craig Collins
the script does have the "sync" command executing after the copy with "dd"
completes

--
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: EDEV FBA disks and Cloning

2011-03-03 Thread Mark Post
>>> On 3/3/2011 at 11:29 AM, Craig Collins  wrote: 
> So, we have a method to make the clone, but the clonerw.sh script doesn't
> seem to work with this disk without further modifications that we can't
> figure out at this point.

Are you using the "sync" option on the dd command, or issuing a manual sync 
command after it has finished?  We had a couple of reports of that fixing this 
sort of thing.


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/


Request for Enhancement Requests

2011-03-03 Thread Mark Post
Cross-posted to Linux-390, IBMVM and IBM-Main

Once again, I'm looking for customer requirements to enhance our Linux for 
System z product.  If you've ever had any "gee I wish SLES would do X" type of 
thoughts, please send those to me off-list.  I'm primarily interested in things 
that would be specific to System z, but _anything_ is fair game for this.  If 
anyone is interested, I can send them the collected list (also off-line) once I 
have it.  Please let me know if you would want that information sent back to 
you.  (IYou don't have to send me an RFE of your own to get that, but it sure 
would be nice.)

Thanks,

Mark Post
Novell Global Technical Support

--
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: EDEV FBA disks and Cloning

2011-03-03 Thread Craig Collins
1. rebuilt the golden image, preparing the disk with CMS FORMAT & RESERVE on
EDEV FBA mini-disks
2. prepared the clone system disk with CMS FORMAT & RESERVE on EDEV FBA
mini-disks
3. Altered the clonerw.sh script so that it recognized the disk as FBA
instead of CKD to get the device names and deleted the format section of the
script.
4. ran the clonerw.sh script and through the ssh session, it gave no error
messages, however on the VM guest console we received many iterations of the
following messages for each device during the dd copy command executions:
Buffer I/O error on device dasdc, logical block 4547
lost page write due to I/O error on dasdc
end_request: I/O error, dev dasdc, sector 36400
Mar  3 08:28:14 S11CLONE kernel: end_request: I/O error, dev dasdc, sector
77016
5. tried booting the clone but expected failure due to I/O errors and as
expected the boot failed
6. Under CMS, used DDR to copy each of the EDEV FBA disks from the golden
image to the clone
7. Clone server booted without issue.  Working on some parts of
boot.findself script to set the ifcfg-eth0 ip address that don't appear to
be working, but the server came up without an error.

So, we have a method to make the clone, but the clonerw.sh script doesn't
seem to work with this disk without further modifications that we can't
figure out at this point.
On Thu, Mar 3, 2011 at 10:12 AM, Mark Post  wrote:

> >>> On 3/2/2011 at 03:47 PM, Richard Troth  wrote:
> > There is a lot of confusion about 'dasdfmt' versus 'mkfs'.  If you
> > already know the difference, please excuse this note.
>
> Rick,
>
> Do me a favor and stick this out on the wiki (after editing it a bit for
> style).  I think this would be useful for others that might trip across it
> and don't know about this listserve.
>
>
> 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: EDEV FBA disks and Cloning

2011-03-03 Thread Mark Post
>>> On 3/2/2011 at 03:47 PM, Richard Troth  wrote: 
> There is a lot of confusion about 'dasdfmt' versus 'mkfs'.  If you
> already know the difference, please excuse this note.  

Rick,

Do me a favor and stick this out on the wiki (after editing it a bit for 
style).  I think this would be useful for others that might trip across it and 
don't know about this listserve.


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: Spiking server

2011-03-03 Thread Rob van der Heij
On Thu, Mar 3, 2011 at 1:44 PM, Bauer, Bobby (NIH/CIT) [E] <
baue...@mail.nih.gov> wrote:

We have a Wordpress server that really spikes during certain, know times of
> the month, about 45000 hits/hour. Its running on a single z9 IFL with only
> 4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I know, more memory, good
> luck since we are a govt. agency). The user did not expect this kind of
> response so we have all been surprised.
>

That sounds like a good candidate for "CMM with a stick" - during know peak
times you let air out of the balloon, and in the quiet periods you inflate
the CMM balloon to give resource back to z/VM. Make sure to add plenty of
VDISK for swap space so that memory allocation does not fail when your
squeeze the penguin (the 128M isn't much on a 2G server).
Something like that is also neat for services that need resources during the
night when online services need less (eg TSM running backups).

To determine what amount could be donated, use the "drop_caches" in an idle
period to get a base level. And after some activity you review performance
history to understand the peak requirement.

Rob

--
Rob van der Heij
Velocity Software
http://www.velocitysoftware.com/

--
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: Spiking server

2011-03-03 Thread Bauer, Bobby (NIH/CIT) [E]
Thanks Berry, yes it did crash with all swap space used. We doubled the memory 
but adding another swap space may keep it from crashing.

We have limited the number of https threads, that was one of the first things 
we noticed when usage stared to ramp up.

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474



-Original Message-
From: van Sleeuwen, Berry [mailto:berry.vansleeu...@atosorigin.com] 
Sent: Thursday, March 03, 2011 9:45 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Spiking server

Perhaps you can look at the threads for the application. We have a very small 
apache that is configured to have only a few childs and threads within the web 
server. Granted, it can't service as much threads simultaneously but the server 
doesn't abend due to memory problems. So the users connecting to the server 
could experience some more delays during those peaks but usually the server 
doesn't crash. It does have a high vdisk IO rate during those peaks.

Did it indeed crash with all swap space exhausted? In that case, maybe you can 
consider adding a swapdisk or enlarge an existing one.

Regards, Berry.

> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of 
> Bauer, Bobby (NIH/CIT) [E]
> Sent: donderdag 3 maart 2011 13:45
> To: LINUX-390@VM.MARIST.EDU
> Subject: Spiking server
> 
> We have a Wordpress server that really spikes during certain, know 
> times of the month, about 45000 hits/hour. Its running on a single z9 
> IFL with only 4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I
know,
> more memory, good luck since we are a govt. agency). The user did not 
> expect this kind of response so we have all been surprised.
> 
> We have Supercache in use.
> 
> At 1G of memory it crashed yesterday due to lack of memory so we upped 
> it to 2G and are waiting for the next cycle. It has swap space of:
> swapon -s
> FilenameTypeSizeUsed
> Priority
> /dev/dasda2 partition   1023976 0
> -1
> /dev/dasdb1 partition   194964  0
> 2
> /dev/dasdc1 partition   64976   0
> 1
> 
> dasda2 is real dasd
> dasdb1 and c1 are VDISK defined using the swapgen macro from Sine 
> Nomine
> 
> this morning the server looks like this:
> free
>  total   used   free sharedbuffers
> cached
> Mem:   20503601323728 726632  0 114588
> 345964
> -/+ buffers/cache: 8631761187184
> Swap:  1283916  01283916
> 
> 
> So the general question is, are there other steps we can take to help 
> response time when usage peaks? There are 2 other production servers
on
> this lpar. One is very low usage, the other has the potential for the 
> same kind of activity. There is a test lpar sharing the IFL with 4G of 
> memory also. I've thought of stealing a G from test and moving it to 
> production. There are plans to host Wiki's on the production lpar
also.
> Any suggestions would be appreciated.
> 
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
> 
> 
> 
> --
> 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: Spiking server

2011-03-03 Thread van Sleeuwen, Berry
Perhaps you can look at the threads for the application. We have a very
small apache that is configured to have only a few childs and threads
within the web server. Granted, it can't service as much threads
simultaneously but the server doesn't abend due to memory problems. So
the users connecting to the server could experience some more delays
during those peaks but usually the server doesn't crash. It does have a
high vdisk IO rate during those peaks.

Did it indeed crash with all swap space exhausted? In that case, maybe
you can consider adding a swapdisk or enlarge an existing one.

Regards, Berry.

> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Bauer, Bobby (NIH/CIT) [E]
> Sent: donderdag 3 maart 2011 13:45
> To: LINUX-390@VM.MARIST.EDU
> Subject: Spiking server
> 
> We have a Wordpress server that really spikes during certain, know
> times of the month, about 45000 hits/hour. Its running on a single z9
> IFL with only 4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I
know,
> more memory, good luck since we are a govt. agency). The user did not
> expect this kind of response so we have all been surprised.
> 
> We have Supercache in use.
> 
> At 1G of memory it crashed yesterday due to lack of memory so we upped
> it to 2G and are waiting for the next cycle. It has swap space of:
> swapon -s
> FilenameTypeSizeUsed
> Priority
> /dev/dasda2 partition   1023976 0
> -1
> /dev/dasdb1 partition   194964  0
> 2
> /dev/dasdc1 partition   64976   0
> 1
> 
> dasda2 is real dasd
> dasdb1 and c1 are VDISK defined using the swapgen macro from Sine
> Nomine
> 
> this morning the server looks like this:
> free
>  total   used   free sharedbuffers
> cached
> Mem:   20503601323728 726632  0 114588
> 345964
> -/+ buffers/cache: 8631761187184
> Swap:  1283916  01283916
> 
> 
> So the general question is, are there other steps we can take to help
> response time when usage peaks? There are 2 other production servers
on
> this lpar. One is very low usage, the other has the potential for the
> same kind of activity. There is a test lpar sharing the IFL with 4G of
> memory also. I've thought of stealing a G from test and moving it to
> production. There are plans to host Wiki's on the production lpar
also.
> Any suggestions would be appreciated.
> 
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
> 
> 
> 
> --
> 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/
ÿþ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 
Origin 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 Origin goederen en/o

Re: Spiking server

2011-03-03 Thread Bauer, Bobby (NIH/CIT) [E]
I'll look into it. So far cpu has only been about 45%.

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474



-Original Message-
From: Scott Rohling [mailto:scott.rohl...@gmail.com] 
Sent: Thursday, March 03, 2011 8:23 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Spiking server

Have you done anything with SHARE settings for the guest? You can set
either an absolute (% of CPU) or relative (xx relative to yy) minimum so
this guest will get that much more CPU when it's needed...

Scott Rohling

On Mar 3, 2011 5:44am, "Bauer, Bobby (NIH/CIT) [E]" 
wrote:
> We have a Wordpress server that really spikes during certain, know times
> of the month, about 45000 hits/hour. Its running on a single z9 IFL with
> only 4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I know, more
> memory, good luck since we are a govt. agency). The user did not expect
> this kind of response so we have all been surprised.



> We have Supercache in use.



> At 1G of memory it crashed yesterday due to lack of memory so we upped it
> to 2G and are waiting for the next cycle. It has swap space of:

> swapon -s

> Filename Type Size Used Priority

> /dev/dasda2 partition 1023976 0 -1

> /dev/dasdb1 partition 194964 0 2

> /dev/dasdc1 partition 64976 0 1



> dasda2 is real dasd

> dasdb1 and c1 are VDISK defined using the swapgen macro from Sine Nomine



> this morning the server looks like this:

> free

> total used free shared buffers cached

> Mem: 2050360 1323728 726632 0 114588 345964

> -/+ buffers/cache: 863176 1187184

> Swap: 1283916 0 1283916





> So the general question is, are there other steps we can take to help
> response time when usage peaks? There are 2 other production servers on
> this lpar. One is very low usage, the other has the potential for the
> same kind of activity. There is a test lpar sharing the IFL with 4G of
> memory also. I've thought of stealing a G from test and moving it to
> production. There are plans to host Wiki's on the production lpar also.

> Any suggestions would be appreciated.



> Bobby Bauer

> Center for Information Technology

> National Institutes of Health

> Bethesda, MD 20892-5628

> 301-594-7474







> --

> 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: Spiking server

2011-03-03 Thread Scott Rohling

Have you done anything with SHARE settings for the guest? You can set
either an absolute (% of CPU) or relative (xx relative to yy) minimum so
this guest will get that much more CPU when it's needed...

Scott Rohling

On Mar 3, 2011 5:44am, "Bauer, Bobby (NIH/CIT) [E]" 
wrote:

We have a Wordpress server that really spikes during certain, know times
of the month, about 45000 hits/hour. Its running on a single z9 IFL with
only 4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I know, more
memory, good luck since we are a govt. agency). The user did not expect
this kind of response so we have all been surprised.





We have Supercache in use.





At 1G of memory it crashed yesterday due to lack of memory so we upped it
to 2G and are waiting for the next cycle. It has swap space of:



swapon -s



Filename Type Size Used Priority



/dev/dasda2 partition 1023976 0 -1



/dev/dasdb1 partition 194964 0 2



/dev/dasdc1 partition 64976 0 1





dasda2 is real dasd



dasdb1 and c1 are VDISK defined using the swapgen macro from Sine Nomine





this morning the server looks like this:



free



total used free shared buffers cached



Mem: 2050360 1323728 726632 0 114588 345964



-/+ buffers/cache: 863176 1187184



Swap: 1283916 0 1283916







So the general question is, are there other steps we can take to help
response time when usage peaks? There are 2 other production servers on
this lpar. One is very low usage, the other has the potential for the
same kind of activity. There is a test lpar sharing the IFL with 4G of
memory also. I've thought of stealing a G from test and moving it to
production. There are plans to host Wiki's on the production lpar also.



Any suggestions would be appreciated.





Bobby Bauer



Center for Information Technology



National Institutes of Health



Bethesda, MD 20892-5628



301-594-7474









--



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: EDEV FBA disks and Cloning

2011-03-03 Thread Craig Collins
We created the golden image server on EDEV FBA disk as well so our clone is
from EDEV FBA to EDEV FBA.  I presume if we are using the CMS FORMAT/RESERVE
sequence we should do so for the source golden image build as well as the
clone system before copying.  When we tried using dd to clone, I watched the
VM console for the server and there are many block errors during the copies.
 This was before we rebuilt using the FORMAT/RESERVE.  I'm going to try that
next.  We'll rebuild the golden image after formatting the disk with that
method and then try the clone again.

I'll update with results when we complete that work.

--
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/


Spiking server

2011-03-03 Thread Bauer, Bobby (NIH/CIT) [E]
We have a Wordpress server that really spikes during certain, know times of the 
month, about 45000 hits/hour. Its running on a single z9 IFL with only 4G of 
memory on the lpar, z/VM 5.4, REHL 6 (yeah, I know, more memory, good luck 
since we are a govt. agency). The user did not expect this kind of response so 
we have all been surprised.

We have Supercache in use.

At 1G of memory it crashed yesterday due to lack of memory so we upped it to 2G 
and are waiting for the next cycle. It has swap space of:
swapon -s
FilenameTypeSizeUsedPriority
/dev/dasda2 partition   1023976 0   -1
/dev/dasdb1 partition   194964  0   2
/dev/dasdc1 partition   64976   0   1

dasda2 is real dasd
dasdb1 and c1 are VDISK defined using the swapgen macro from Sine Nomine 

this morning the server looks like this:
free
 total   used   free sharedbuffers cached
Mem:   20503601323728 726632  0 114588 345964
-/+ buffers/cache: 8631761187184
Swap:  1283916  01283916


So the general question is, are there other steps we can take to help response 
time when usage peaks? There are 2 other production servers on this lpar. One 
is very low usage, the other has the potential for the same kind of activity. 
There is a test lpar sharing the IFL with 4G of memory also. I've thought of 
stealing a G from test and moving it to production. There are plans to host 
Wiki's on the production lpar also. 
Any suggestions would be appreciated.

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474

 

--
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/