Re: Cif mount
Hi Peter, I'm not sure if you ever got this working, but I thought I'd add a couple of thoughts just in case. Your questions touched upon two different topics, and they each have their own answers: 1.) Is there a way to permit access to more than one user for a CIF mount ? As Aria mentioned, this can be accomplished by setting the UID/GID of the mount point. For example, you could mount the Windows share with a specific group ID, then ensure each user you want to access the mount point belongs to that shared group. The important differentiator is that the root user mounts the CIFS share once, then multiple users can access it. As an alternative approach, you can use the credentials method that Aria mentioned, or perform a multi-user mount. For reference, here's how to set that up: Steps for RHEL: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/mounting_an_smb_share (see section 9.2.4 "Authenticating to an SMB share using a credentials file") (see section 9.2.5 "Performing a multi-user SMB mount") Steps for SLES: https://www.suse.com/support/kb/doc/?id=16706 2) Is it possible to mount cif with multiple uid at once ? ... I mean authority based mount where we specify UID while doing mount This is something that the Gnome desktop does. Using the Nautilus file browser, you can connect to a Windows share, provide your user credentials to access the share, and the mount point appears "automatically" on your desktop. You don't need Gnome to accomplish this, but instead you can use the underlying component (fuse, which stands for "filesystem in userspace") to do the same thing from the command line. The end result is that each user can mount the Windows share using their own credentials, and multiple users can have it mounted simultaneously. If you don't have a Gnome desktop installed, you'll need to install a few required packages. The following package names are based on RHEL, so may need some tweaks for other Linux distributions, but it should be very similar: - gvfs-fuse: This provides the Fuse daemon for creating the mount point "automatically" - gvfs-smb: Allows mounting CIFS shares through Fuse - dbus-x11: This provides a binary called "dbus-launch" that you'll need before mounting the CIFS share Once these are installed, you can use "gio" to mount the Windows share. Here are the steps with comments: ### Install package dependencies # yum install gvfs-fuse gvfs-smb dbus-x11 ### Change to the user you'd like to mount, "myuser" for example # su - myuser ### Create a dbus-enabled shell. Otherwise you'll get errors similar to "volume doesn’t implement mount" $ dbus-launch bash ### Mount the CIFS share. Provide the user credentials on the commandline $ gio mount smb://servername/sharename User [myuser]: Domain [SAMBA]: Password: ### Optional, list info about the share $ gio mount --list --detail ### At this point, your mount point is accessible from the .gvfs directory in the user's home directory. ### FYI if you are running a Gnome desktop, the mount point is in /run/user/ $ ls ~/.gvfs smb-share:server=servername,share=sharename ### Unmount the share $ gio mount -u smb://servername/sharename So it really comes down to which user should mount the Windows share, the root user or the normal user, because there are different answers for each. Hope this helps and isn't totally off base from what you were asking. -Brad --- Brad Hinson Principal Solution Architect Red Hat <https://www.redhat.com/> bhin...@redhat.com M: 919-360-0443 <https://www.redhat.com/> On Mon, Apr 20, 2020 at 5:32 AM Peter wrote: > I mean authority based mount where we specify UID while doing mount > > On Mon, 20 Apr, 2020, 4:14 PM Aria Bamdad, wrote: > > > I don't understand your exact need but through the credentials= option > and > > multiple credential files, you can provide for a series of different user > > name/password pairs. > > > > -Original Message- > > From: Linux on 390 Port On Behalf Of Peter > > Sent: Sunday, April 19, 2020 12:59 PM > > To: LINUX-390@VM.MARIST.EDU > > Subject: Re: Cif mount > > > > Thank you > > > > Is it possible to mount cif with multiple uid at once ? > > > > On Thu, 16 Apr, 2020, 5:54 PM Aria Bamdad, wrote: > > > > > Peter, > > > > > > I don't know if your windows file server is a Samba also or it is > > actually > > > a windows server. In my environment, I use SAMBA as the file server > and > > > then on the Linux side, I use the uid= and gid= arguments of the cifs > > mount > > > to force specific user/groups. Perhaps that may be of help in your > > > situation. > > > > > > Aria > > >
Re: Best way to edit Linux files in z/VM 3270
Another option is the HMC ASCII console: http://www.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.lgdd/lgdd_c_con_access_zvm_hmc.html Since it's fullscreen it will allow vi as well. Brad Hinson Solution Architect, Red Hat (919) 360-0443 On Tue, Sep 20, 2016 at 2:22 PM, Rogério Soares <rogerio.soa...@gmail.com> wrote: > Set iucv on your servers... Vi works perfectly! > > Em ter, 20 de set de 2016 17:01, Marcy Cortes < > marcy.d.cor...@wellsfargo.com> > escreveu: > > > There's just mainly one sed command that i've needed in order to fix > > enough to get the network up. > > > > sed -i -e 's/oldstring/newstring/' filename > > > > That's generally been enough to get me through say bad IP addresses or > > gateway settings. > > > > > > > > -Original Message- > > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of > > Mark Post > > Sent: Tuesday, September 20, 2016 12:25 PM > > To: LINUX-390@VM.MARIST.EDU > > Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 > > > > >>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" > > >>> <david.d...@dc.gov> > > wrote: > > > 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?? > > > > The ed command works fine, but you need to understand how to use it. > It's > > ... different. > > > > I frequently use sed, but if you're at the point where the root file > > system is mounted, you should be able to use the terminal server access. > > This allows you to SSH to the terminal server, then connect to the target > > system and use the normal vi/vim editors. > > > > > > 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: Errors after adding disk to a LVM on SLES11sp3 Linux guest
Shot in the dark, but any chance the minidisk used to create the new pv is being accessed readonly by this guest? -Brad On 01/29/2014 11:38 AM, Tom Morris wrote: We are getting errors after adding more disk to a LVM on the SLES11sp3 Linux guest running DB2. We followed our normal procedures for added space and we do not get any errors while adding the space and extending the LVM. We turned it over to the DBA's and they are getting errors and they lose the ability to create tablespaces and even create a file in some of there DB2 directories. In vi you get a error E212: Can't open file for writing. We checked /var/log/messages and found the following EXT3-fs and Buffer I/Q errors. We did restore the linux guest from a backup and re-added the space to double check our process but got the same errors. We add space all the time to our DB2 servers and have never seen this problem. Any one have any ideas?? Thanks Tom *** cut and paste from /var/log/messages * Jan 28 14:30:25 zvmlnx33 su: (to db2inst1) root on /dev/pts/0 Jan 28 14:31:29 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_find_entry: reading directory #8839169 offset 0 Jan 28 14:31:30 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_find_entry: reading directory #8839173 offset 0 Jan 28 14:31:30 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_find_entry: reading directory #8839177 offset 0 Jan 28 14:31:56 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_find_entry: reading directory #8839181 offset 0 Jan 28 14:35:46 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_find_entry: reading directory #8839181 offset 0 Jan 28 14:35:57 zvmlnx33 sshd[10196]: Accepted keyboard-interactive/pam for root from 10.1.151.246 port 56195 ssh2 Jan 28 14:35:57 zvmlnx33 sshd[10196]: subsystem request for sftp by user root Jan 28 14:55:57 zvmlnx33 -- MARK -- Jan 28 14:57:12 zvmlnx33 syslog-ng[1119]: Log statistics; dropped='pipe (/dev/xconsole)=0', dropped='pipe(/dev/console)=0', processed='center (queued)=567', processed='center(received)=318', processed='destination (messages)=309', processed='destination(mailinfo)=7', processed='destination(mailwarn)=1', processed='destination (localmessages)=0', processed='destination(newserr)=0', processed='destination(mailerr)=1', processed='destination(netmgm)=0', processed='destination(warn)=138', processed='destination(console)=51', processed='destination(null)=0', processed='destination(mail)=9', processed='destination(xconsole)=51', processed='destination(firewall)=0', processed='destination(acpid)=0', processed='destination(newscrit)=0', processed='destination(newsnotice)=0', processed='source(src)=318' Jan 28 15:08:51 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_find_entry: reading directory #8839181 offset 0 Jan 28 15:28:51 zvmlnx33 -- MARK -- Jan 28 15:31:18 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377154 Jan 28 15:31:18 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:31:18 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377160 Jan 28 15:31:18 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:31:18 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377161 Jan 28 15:31:18 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:31:24 zvmlnx33 kernel: JBD: Detected IO errors while flushing file data on dm-4 Jan 28 15:31:25 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377162 Jan 28 15:31:25 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:31:29 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377163 Jan 28 15:31:29 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:31:34 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377164 Jan 28 15:31:34 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:31:43 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377162 Jan 28 15:31:43 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:31:56 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377163 Jan 28 15:31:56 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:32:00 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377160 Jan 28 15:32:00 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:32:00 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377161 Jan 28 15:32:00 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:32:13 zvmlnx33 kernel: Buffer I/O error on device dm-4, logical block 35377162 Jan 28 15:32:13 zvmlnx33 kernel: lost page write due to I/O error on dm-4 Jan 28 15:32:16 zvmlnx33 kernel: JBD: Detected IO errors while flushing file data on dm-4 Jan 28 15:39:49 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_find_entry: reading directory #8839181 offset 0 Jan 28 15:43:11 zvmlnx33 kernel: EXT3-fs error (device dm-4): ext3_get_inode_loc: unable to
Re: LVM thin provisioning
Hi Marcy, LVM thin provisioning is pretty new, and it's only in the last year that it's been introduced in various distros (as well as OpenStack). I would guess there aren't a huge number of production rollouts right now. But with that said, I know that we have some folks kicking the tires in test environments. We're also seeing it pop up in other open source projects, like Docker, who uses it to replace their AuFS (unionFS) dependency: https://www.docker.io/ http://blog.docker.io/2013/09/red-hat-and-docker-collaborate/ I think we'll see more of LVM thin provisioning as it gets further baked in the enterprise world. Meanwhile, as others have mentioned, thin provisioning at the storage level can accomplish many of the same things. However, LVM is storage-agnostic, and is a great compliment to LVM snapshots if you use those. I'd say check it out when you get a chance. -Brad Brad Hinson Solution Architect, Red Hat +1 (919) 360-0443 On 12/04/2013 06:22 PM, Marcy Cortes wrote: This is now available as of SLES 11 SP3. Has anyone played around with it? Wondering if this is a good solution to those folks who ask for big old disk spaces (and pay) but never really use them all ☺. Marcy -- 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: Still can't install on z196.
Hi Tom, I created this bug report for you: https://bugzilla.redhat.com/show_bug.cgi?id=883562 Please feel free to add any additional information that I missed. -- Brad Hinson Solution Architect, Red Hat +1 (919) 360-0443 On Dec 4, 2012, at 10:05 AM, Tom Huegel wrote: I give up, spent the last 1 1/2 hrs. trying to create a bug report. I'll move on to something else. On Mon, Dec 3, 2012 at 11:34 PM, Dan Horák dho...@redhat.com wrote: Tom Huegel píše v Po 03. 12. 2012 v 13:16 -0800: This is my default prm file ro ramdisk_size=4 cio_ignore=all,!0.0.0009 vnc rd.dasd=0.0.0251 rd.dasd=0.0.025f ip=172.17.51.126:255.255.254.0:172.17.50.1:24:fedora.example.com: eth0:none rd.znet=qeth,0.0.0340,0.0.0341,0.0.0342,layer2=0,portname=FOOBAR,portno=0 root=live: http://dl.fedoraproject.org/pub/fedora-secondary/releases/17/Fedora/s3 90x/os/images/install.img nameserver=172.17.50.1 As is it fails because it can't get to root.. this is expected because I ned to pass through a firewall/http server to get to the outside. I can not figure out where to put the server address 10.74.12.13 that I need to pass through. yes, I've checked the sources for dracut (the tool that downloads the image after setting the needed devices online) and there is no way to set a proxy server. Please open a bug at https://bugzilla.redhat.com (product Fedora, compoment dracut) asking for this capability and let me know the bug number. Thanks Dan -- 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: SCSI/FCP disk size
On Oct 9, 2012, at 7:32 PM, Thang Pham wrote: Hello List, Is there a way to find out the size of a native SCSI device attached via FCP channel? I do not see lszfcp or lsscsi having an option that lets you see the size of the disk you have attached to a VM. I always liked sfdisk -s block_device. Just returns the size as one number, easy to parse in a script. Thanks, Thang Pham -- 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/
HyperPAV and LVM striping
Hi folks, What are the best practices for HyperPAV and LVM striping? I assumed that if you have HyperPAV enabled, you don't need to stripe the data. Is this true, or if not, what is the best practice for optimum performance? I have lots of mod-9 ECKD with HyperPAV enabled, so I want to use LVM. So my two choices are standard LVM, or LVM striping. If I stripe across the disks I spread the I/O across the physical volumes, but my gut tells me I shouldn't have to do this, since HyperPAV is moving around aliases dynamically. For example, say I have 2 PVs and 4 HyperPAV aliases. If I send some heavy I/O through the Linux (device-mapper) block device, then I would assume: - #1, for the case with LVM striping enabled, LVM will spread the I/O to both PVs, and HyperPAV will assign 2 aliases to each PV since I'm banging on them both. - #2, for the case without LVM striping, HyperPAV will assign 4 aliases to the first PV since that's the only one in use. In either case, it seems I'm using all 4 aliases, so seems like I would get the same performance. Please correct me if I'm wrong. And if so, which of these configs is better? Lastly, is there a presentation or doc that talks about how to enable HyperPAV in Linux, or is bringing the HyperPAV aliases online enough to trigger the dasd driver to do the right thing? Thanks as always, -Brad -- Brad Hinson Solution Architect, Red Hat +1 (919) 360-0443 -- 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: RHEL 6.2 - IBM-Z10 BC
Hi Franco, There is an evaluation version for Red Hat Enterprise Linux on System z. There are two types, supported evaluation (recommended, where you can call support if you have issues while you're testing), or unsupported (just a download link, no support). In both cases, it's the same software version. Check this page: http://www.redhat.com/z and click on How to buy, then Contact Red Hat Sales, which will give you a form to fill out, and you'll get a link to download the evaluation copy. -- Brad Hinson Solution Architect, Red Hat +1 (919) 360-0443 On Sep 17, 2012, at 11:08 AM, Franco Oberto wrote: Hi , it's there Red Hat Enterprise Linux 6.2 demo version for mainframe IBM Z10-BC ? I want install for test and valuations this version but I cannot found this download on the Redhat Portal. Can you tell me where can I download it from Redhat portal ? Thanks for your help , Franco Oberto . Mike MacIsaac mikemac at-sign us.ibm.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/ -- 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: Redhat network
Should be working normally now. On Aug 28, 2012, at 12:38 PM, Hodge, Robert L wrote: I used the Red Hat portal URL and it put up a page with the following text redhat.com will be back soon. No detail as to what soon means. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Bauer, Bobby (NIH/CIT) [E] Sent: Tuesday, August 28, 2012 10:14 AM To: LINUX-390@VM.MARIST.EDU Subject: EXTERNAL: Redhat network Anybody else having trouble getting to the Redhat network? I get a Technical Problem (503)' when I try to login. 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: Dynamic adjust linux guest's storage
On Apr 11, 2012, at 8:15 AM, Bruce Hayden wrote: You need the storage to be standby and not reserved. Change your command to: DEFINE STORAGE AS 700M STANDBY 300M As was discussed in another thread, reserved storage is memory that may become available (either to your virtual machine or to an LPAR) but is not currently available. Standby storage *is* available and can be dynamically added to your virtual machine or to an LPAR. In an LPAR, the amount of standby storage can change if other LPARs have unassigned storage added to their storage. In a virtual machine, you control the amount of standby storage vs. reserved storage with the CP command. To add it to Linux, look at the Device Drivers book for SLES 11: http://public.dhe.ibm.com/software/dw/linux390/docu/l26edd01.pdf For RHEL: http://public.dhe.ibm.com/software/dw/linux390/docu/l26fdd00.pdf (see Chapter 25 Managing hotplug memory) 2012/4/11 Lu GL Gao lu...@cn.ibm.com: How to dynamically increase/decrease storage for linux running on z/VM? Assumption: Define LPAR profile with 4G initial and 0 reserved storage. z/VM version is 5.4 User Direct statement for linux guest is USER LNX1 LNX1 1G 2G EG Objective: Dynamically increase/decrease guest storage. Before booting linux, use commandDEFINE STORAGE AS 700M RESERVED 300M to set 300M reserved storage for linux. Question 1: If linux guest is SUSE11 or above, how to dynamically increase/decrease storage ?? Question 2: If linux guest is Redhat, how to dynamically increase/decrease storage ?? Best Regards! Gao Lu (高路) I/T Specialist Global Technology Services IBM Global Services (China) Company Limited. Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang District, Beijing, 100101 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101 BeiJing 100027, PRC Cell Phone: 15001327619 Internet ID: lu...@cn.ibm.com -- Bruce Hayden z/VM and Linux on System z ATS IBM, Endicott, NY -- 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/
HyperPAV in RHEL 5
Hi, HyperPAV support is currently available in RHEL 6 only. If anyone is interested in seeing HyperPAV added to RHEL 5, please shoot me a note off-list. Thanks, -Brad -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z -- 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: persistent zfcp ports/luns
Hi, Try running mkinitrd with --with=zfcp. It forces mkinitrd to include the new version of /etc/zfcp.conf in the new initrd. And just for completeness, make sure to run zipl afterwards, otherwise the old LUNs will appear along with the new ones - the old ones come from the initrd and the new ones come from /etc/zipl.conf. Now that I think about it, that's more likely the issue. Could the zipl step be missing? -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z On Feb 29, 2012, at 6:44 AM, Offer Baruch wrote: Sorry... I forgot to mention that rebuilding the initrd did not help. I am running with rhel v5 On 29 בפבר 2012 13:41, Steffen Maier ma...@linux.vnet.ibm.com wrote: On 02/29/2012 07:07 AM, Offer Baruch wrote: I have a strange zfcp problem i just can't figure out... My OS runs on ECKD but i have a few luns on an XIV machine for oracle data. We are in the middle of a migration process from one XIV to another. my /etc/zfcp.conf used to look like this (before the migration): # 0.0.0010 0x0 0x5001738000800140 0x0 0x 0.0.0010 0x0 0x5001738000800150 0x0 0x 0.0.0010 0x0 0x5001738000800160 0x0 0x 0.0.0011 0x0 0x5001738000800171 0x0 0x 0.0.0011 0x0 0x5001738000800181 0x0 0x 0.0.0011 0x0 0x5001738000800191 0x0 0x and now it looks like this (different WWPNs and i got rid of lun zero): # 0.0.0011 0x0 0x5001738062670140 0x0 0x0001 0.0.0011 0x0 0x5001738062670150 0x0 0x0001 0.0.0011 0x0 0x5001738062670160 0x0 0x0001 0.0.0010 0x0 0x5001738062670170 0x0 0x0001 0.0.0010 0x0 0x5001738062670180 0x0 0x0001 0.0.0010 0x0 0x5001738062670190 0x0 0x0001 I expected that after a reboot zfcp will forget about the old luns but he didn't. looking at: /sys/bus/ccw/drivers/zfcp/0.0.**0010 /sys/bus/ccw/drivers/zfcp/0.0.**0011 i can still see the old ports and luns. for example: drwxr-xr-x 6 root root0 Feb 28 15:17 0x5001738000800140 - old drwxr-xr-x 6 root root0 Feb 28 15:17 0x5001738000800150 - old drwxr-xr-x 6 root root0 Feb 28 15:17 0x5001738000800160 - old drwxr-xr-x 5 root root0 Feb 28 15:17 0x5001738062670170 -new drwxr-xr-x 5 root root0 Feb 28 15:17 0x5001738062670180 -new drwxr-xr-x 5 root root0 Feb 28 15:17 0x5001738062670190 -new under 0x5001738000800140 you can see the old luns: drwxr-xr-x 2 root root0 Feb 28 15:17 0x drwxr-xr-x 2 root root0 Feb 28 15:17 0x0001 drwxr-xr-x 2 root root0 Feb 28 15:17 0x0002 drwxr-xr-x 2 root root0 Feb 28 15:17 0x0003 something does not add up. i guess i have some misunderstanding about zfcp start up procedure. I though the script zfcpconf.sh is run at startup using the 56-zfcp.rules* *udev rule and that is it... as all 56-zfcp.rules* *does is run zfcpconf.sh i can't figure out where did the system get the old luns/ports? I suppose this is RHEL 5: You may need to regenerate your initrd after modifications to /etc/zfcp.conf since this gets added to the initrd, IIRC. On reboot, your old initrd containing the old zfcp.conf still activates the old WWPNs and LUNs before the root-fs gets mounted. (All this differs for RHEL 5, RHEL 6, SLES 10, SLES 11.) zfcpconf.sh just reads /etc/zfcp.conf That adds the new WWPNs and LUNs after the root-fs was mounted. HTH Steffen Linux on System z Development IBM Deutschland Research Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 --**--**-- 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-390http://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
Re: SLES and RHEL iSCSI installations
Hi Livio, This is supported in RHEL 6.2, kernel 2.6.32-220 and later. -Brad -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z On Feb 14, 2012, at 10:38 PM, Livio Sousa wrote: Hi guys, Just to be sure: Installing Linux under System z on iSCSI devices is officially supported by SuSE and RedHat? Is there any kernel level required? 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/ -- 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/
[no subject]
Also make sure the initrd was transferred completely. I've seen this error when the FTP session had a hidden error that the disk was full. Check query disk to make sure the 191-a disk isn't at 100% usage. If you login to the guest and run the 'filelist' command, you'll see the record length (LRECL) and the number of records (RECORDS) for the initrd. The LRECL for the initrd should always show 80, and if you tell me which update of RHEL 5 you're installing I can give you the expected number of records, to make sure the file was transferred correctly. For example, the RHEL 5.7 initrd is 132080 records, and the RHEL 5.6 initrd is 119579 records. -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z On Feb 17, 2012, at 7:49 AM, karlkings...@ongov.net wrote: Make sure that your files that you punch to the reader are FB 80. If you don't you get all kinds of weird errors. From: Cameron Seay cws...@gmail.com To: LINUX-390@VM.MARIST.EDU Date: 02/16/2012 10:19 PM Subject:Re: Sent by:Linux on 390 Port LINUX-390@VM.MARIST.EDU I am trying to install RHEL 5 to a z9. I think I have all of my installation files properly configured, but when I run my exec file I get this message. Help. RAMDISK: Compressed image found at block 0 No filesystem could mount root, tried: ext2 iso9660 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) 01: HCPGSP2629I The virtual machine is placed in CP mode due to a SIGP stop from CPU 00. -- Cameron Seay, Ph.D. Electronics, Computer and Information Technology School of Technology NC A T State University Greensboro, NC 336 334 7717 x2251 -- 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: LDAP
Hi Erik, I'm not an LDAP expert, but I know it's changed a lot since RHEL 5. Check these links: https://access.redhat.com/kb/docs/DOC-66593 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Directory_Servers.html#s2-ldap-pam If that doesn't have what you need, I recommend opening a support call. There are LDAP specialists who can probably answer that one very quickly. -Brad -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z On Feb 3, 2012, at 9:32 AM, Eric K. Dickinson wrote: I reworded and resent it so it makes more sense. On 02/03/2012 09:23 AM, Bauer, Bobby (NIH/CIT) [E] wrote: Greek to me but hopefully somebody who is LDAP/AD knowledgeable will respond. Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Dickinson, Eric (CIT) Sent: Friday, February 03, 2012 9:18 AM To: LINUX-390@VM.MARIST.EDU Subject: LDAP Re worded so it makes sense{8^) I have been trying to configure REHL6 on a z114 to authenticate to an Active Directory Domain Controller with LDAP. What I was hoping was to be directed to a document or procedure to help me along. I think I have it all working but the TLS. The manuals are very terse. I was also emailed the certificate and the books are all about downloading the certificate. I am not clear exactly where to put it or name it. Thank you! eric -- 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: zIPL from s390utils package
On Jan 25, 2012, at 8:41 AM, Alan Altmark wrote: On Tuesday, 01/24/2012 at 03:07 EST, James Vincent jamesscottvinc...@gmail.com wrote: We have dump devices set up with the zIPL tool from the s390utils package (the 1.8.2 level). The tool has worked great but we have noticed something interesting. We are setting up our linux guests with a default amount of storage, along with a max and standby amount. For example, a server may have the following in the directory: STORAGE 1G MAXSTORAGE 16G COMMAND DEFINE STORAGE STANDBY 15G RESERVED 0M When we use the dump device on one of these servers, it dumps all 16G even though only 1G is defined/active! Is this normal behavior for the tool, or should it (can it?) be looking at what storage is active? I wouldn't think so. For it to dump all 16GB, Linux would have to activate the standby memory, but that would be meaningless since it going to be filled with zeroes. Or does it simply *appear* to have dumped all 16GB? Is the dump file actually 16GB? Look at CP Q V STOR before and after the dump. Before the dump I would expect something similar to STORAGE = 1G MAX = 16G INC = 1M STANDBY = 15G RESERVED = 0 If Linux activated the storage, you would see STORAGE = 16G MAX = 16G INC = 1M STANDBY = 0 RESERVED = 0 Alan Altmark Senior Managing z/VM and Linux Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott I see the same behavior on our system. In my test, with 512M stor and 512M standby, all 1G is dumped. Just for fun I tried this with zipl from the latest s390-tools and the same thing happens. Here's a capture: 03: HCPGSP2630I The virtual machine is placed in CP mode due to a SIGP stop and store status from CPU 00. 00: zIPL v1.16.0-build-20120125 dump tool (64 bit) 00: Dumping 64 bit OS 00: 0128 / 1024 MB [...] 00: 1024 / 1024 MB 00: Dump successful 00: HCPGIR450W CP entered; disabled wait PSW 0002 8000 00: 00: CP Q V STOR 00: STORAGE = 512M MAX = 2G INC = 1M STANDBY = 512M RESERVED = 0 James, could you open a bug report? -Brad -- 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: HugePage support with RHEL
Hi James, It appears that in order to use hardware large page support, Linux must be running in LPAR mode. I can't find anything that says this is supported in z/VM. Hopefully someone can correct me if I'm wrong. I can confirm that on a z10 under z/VM 6.1 I also do not see 'edat' in /proc/cpuinfo, so hugepage support is emulated in software. See here: http://linuxvm.org/present/SHARE111/S9262ms.pdf (see slide 11) -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z On Sep 1, 2011, at 11:31 AM, CHAPLIN, JAMES (CTR) wrote: I am currently looking at the HugePage support feature and whether it can help us at our site. But I hit a roadblock that someone out there may be able to help me with. In the doc I have found (both from RH and a collection of other presentations on the web), I have found how to set the /proc/sys/vm/nr_hugepages value with sysctl with no problem. But my concern is with the next bit of information concerning whether the hardware has large page support and if not, how do I enable that support. When I issue cat /proc/cpuinfo, we do not have the edat value set in features (page 26 in http://zjournal.tcipubs.com/issues/zJ.DEC-JAN09.pdf). We have two z196s with zVM 6.1 running zLinux guests using RHEL 5.6 (2.6.18-238.9.1.el5). Can anyone point me to how to get the feature edat turned on and where documentation on this may be located? James Chaplin Systems Programmer, MVS, zVM zLinux -- 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: Enabling core dumps for RHEL 6
On Aug 25, 2011, at 11:33 PM, Mark Post wrote: On 8/25/2011 at 01:10 PM, Bauer, Bobby (NIH/CIT) [E] baue...@mail.nih.gov wrote: Anybody know how to enable core dumps for RHEL 6. Working with a vendor who has asked for a dump but we can't seem to get one. Haven't found anything in the manuals yet. Did you read the Using the Dump Tools on Red Hat Enterprise Linux 6.1 - SC34-2607-01 manual on IBM's developerWorks page? Mark Post If it's an application crash, run 'ulimit -c' to check that core dumps are enabled for processes. 'ulimit -c unlimited' sets this on the fly (won't survive a reboot), or you can set it permanently in /etc/security/limits.conf (better approach). -- 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: Rhnsd?
The checkin at 21 minutes after the hour is definitely the regularly scheduled one. If you take these out, then you have a second pattern starting at 51 minutes past the our at roughly 6 hour intervals. Looks like rhnsd isn't doing the right thing. Is there only one rhnsd process running? If so, I'd recommend opening a RH support ticket. fyi, there's one open bug report against rhnsd that could be related: https://bugzilla.redhat.com/show_bug.cgi?id=730350 -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z On Aug 22, 2011, at 11:14 AM, Bauer, Bobby (NIH/CIT) [E] wrote: Hi Brad, logrotate is installed. There doesn't seem to be a pattern. [Thu Aug 18 02:21:30 2011] up2date logging into up2date server [Thu Aug 18 02:21:34 2011] up2date successfully retrieved authentication token from up2date server 90 minutes - 1'30'' [Thu Aug 18 03:51:26 2011] up2date logging into up2date server [Thu Aug 18 03:51:29 2011] up2date successfully retrieved authentication token from up2date server 210 minutes - 2'30'' [Thu Aug 18 06:21:30 2011] up2date logging into up2date server [Thu Aug 18 06:21:33 2011] up2date successfully retrieved authentication token from up2date server 210 minutes - 2'30'' [Thu Aug 18 09:54:50 2011] up2date logging into up2date server [Thu Aug 18 09:54:54 2011] up2date successfully retrieved authentication token from up2date server 270 minutes - 4'30'' [Thu Aug 18 14:21:31 2011] up2date logging into up2date server [Thu Aug 18 14:21:34 2011] up2date successfully retrieved authentication token from up2date server 90 minutes - 1'30'' [Thu Aug 18 15:57:52 2011] up2date logging into up2date server [Thu Aug 18 15:57:55 2011] up2date successfully retrieved authentication token from up2date server 150 minutes - 2'30'' [Thu Aug 18 18:21:30 2011] up2date logging into up2date server [Thu Aug 18 18:21:34 2011] up2date successfully retrieved authentication token from up2date server 100 minutes - 1'40'' [Thu Aug 18 22:01:18 2011] up2date logging into up2date server [Thu Aug 18 22:01:22 2011] up2date successfully retrieved authentication token from up2date server 150 minutes - 2'30'' [Fri Aug 19 02:21:30 2011] up2date logging into up2date server [Fri Aug 19 02:21:34 2011] up2date successfully retrieved authentication token from up2date server [Fri Aug 19 04:04:42 2011] up2date logging into up2date server [Fri Aug 19 04:04:45 2011] up2date successfully retrieved authentication token from up2date server [Fri Aug 19 06:21:30 2011] up2date logging into up2date server [Fri Aug 19 06:21:33 2011] up2date successfully retrieved authentication token from up2date server [Fri Aug 19 10:08:00 2011] up2date logging into up2date server [Fri Aug 19 10:08:03 2011] up2date successfully retrieved authentication token from up2date server [Fri Aug 19 12:53:56 2011] up2date logging into up2date server [Fri Aug 19 12:54:00 2011] up2date successfully retrieved authentication token from up2date server [Fri Aug 19 16:11:27 2011] up2date logging into up2date server [Fri Aug 19 16:11:31 2011] up2date successfully retrieved authentication token from up2date server [Fri Aug 19 20:53:57 2011] up2date logging into up2date server [Fri Aug 19 20:54:00 2011] up2date successfully retrieved authentication token from up2date server [Fri Aug 19 22:14:13 2011] up2date logging into up2date server [Fri Aug 19 22:14:16 2011] up2date successfully retrieved authentication token from up2date server [Sat Aug 20 00:53:56 2011] up2date logging into up2date server [Sat Aug 20 00:54:00 2011] up2date successfully retrieved authentication token from up2date server [Sat Aug 20 04:17:36 2011] up2date logging into up2date server [Sat Aug 20 04:17:40 2011] up2date successfully retrieved authentication token from up2date server [Sat Aug 20 08:53:56 2011] up2date logging into up2date server [Sat Aug 20 08:54:00 2011] up2date successfully retrieved authentication token from up2date server [Sat Aug 20 10:21:10 2011] up2date logging into up2date server [Sat Aug 20 10:21:13 2011] up2date successfully retrieved authentication token from up2date server [Sat Aug 20 12:53:56 2011] up2date logging into up2date server [Sat Aug 20 12:53:59 2011] up2date successfully retrieved authentication token from up2date server Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Brad Hinson [mailto:bhin...@redhat.com] Sent: Friday, August 19, 2011 5:58 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Rhnsd? Hi Bobby, Can you check further back in the older logs (/var/log/update-date if you have logrotate installed) to see if this is the 12th up2date checkin? What may be happening is that rhnsd is designed to check in regularly 11 times, then on the 12th time
Re: Rhnsd?
Hi Bobby, Can you check further back in the older logs (/var/log/update-date if you have logrotate installed) to see if this is the 12th up2date checkin? What may be happening is that rhnsd is designed to check in regularly 11 times, then on the 12th time it applies some random jitter to the time (to avoid lots of systems checking in at the same frequency all the time). After that it resumes the 4 hour checkins. -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 http://www.redhat.com/z On Aug 18, 2011, at 11:50 AM, Bauer, Bobby (NIH/CIT) [E] wrote: In our RHEL 6, there is an RHNSD task that the man page says queries 'Red Hat Network for updates and information'. It is suppose to check in every 4 hours, the default, this is also specified in /etc/sysconfig/rhn/rhnsd. According to /etc/init.d/rhnsd it uses /etc/sysconfig/rhn/up2date as its config file. In here specifies logging as /var/log/up2date Looking at /var/log/up2date it appears the 4 hour default is ignored. In fact, I'm not sure what interval it is using: [Thu Aug 18 02:21:30 2011] up2date logging into up2date server [Thu Aug 18 02:21:34 2011] up2date successfully retrieved authentication token from up2date server [Thu Aug 18 03:51:26 2011] up2date logging into up2date server [Thu Aug 18 03:51:29 2011] up2date successfully retrieved authentication token from up2date server [Thu Aug 18 06:21:30 2011] up2date logging into up2date server [Thu Aug 18 06:21:33 2011] up2date successfully retrieved authentication token from up2date server [Thu Aug 18 09:54:50 2011] up2date logging into up2date server [Thu Aug 18 09:54:54 2011] up2date successfully retrieved authentication token from up2date server The RHN web page indicates the server Checked In: 8/18/11 10:21:34 AM EDT Using the RHN web page, I specified 4 fixes to be pushed to this server and I expected it to happen when the server checked in. It didn't. So can anybody explain the time that time intervals we are seeing and when RHN will actually push fixes to a server? Thanks 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/
cmsfs-fuse package in RHEL 6.1
Hi, Just an fyi for anyone interested in cmsfs. cmsfs-fuse is a new feature included in RHEL 6.1 (released last week) which allows write access to a CMS filesystem. For example, it's now possible to edit files on a guest's 191 disk with a Linux text editor like 'vi'. It's contained in the package 's390utils-cmsfs-fuse', but you won't find it in the normal channels for download with RHEL 6.1 on http://access.redhat.com. Instead, it's in the 'optional' channel for 6.1. For ease, here's a link: https://rhn.redhat.com/rhn/software/packages/details/Overview.do?pid=631604 (redhat.com login required) Some new packages land here by default, but you may see it merged into the normal channels by RHEL 6.2. Please let me know if anyone has trouble getting this new package. Thanks, -Brad -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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: modprobe.conf
The most popular use of modprobe.conf was to edit the dasd= parameter. This has been moved to /etc/dasd.conf (just add a new line with the dasd address and any parameters, there should be some examples there already). On 05/23/2011 11:29 AM, Bauer, Bobby (NIH/CIT) [E] wrote: I see in RHEL V6 Migration Guide that modprobe.conf is not created by default. The manual doesn't tell me what is used in place of modprobe.conf. Anybody know? 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/ -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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: modprobe.conf
Nope, that's a relief right? :) On 05/25/2011 10:14 AM, Allison, Phil wrote: Does this new support require a customer to run mkinitrd and zipl after updating /etc/dasd.conf ? Phil Allison Lender Processing Services Chief Technology Office 601 Riverside Ave, Jacksonville FL, 32204 Office: 904-854-5905 Email: phil.alli...@lpsvcs.com Corporate Web Address: www.lpsvcs.com - Original Message - From: Brad Hinson [mailto:bhin...@redhat.com] Sent: Wednesday, May 25, 2011 09:08 AM To: LINUX-390@VM.MARIST.EDULINUX-390@VM.MARIST.EDU Subject: Re: modprobe.conf The most popular use of modprobe.conf was to edit the dasd= parameter. This has been moved to /etc/dasd.conf (just add a new line with the dasd address and any parameters, there should be some examples there already). On 05/23/2011 11:29 AM, Bauer, Bobby (NIH/CIT) [E] wrote: I see in RHEL V6 Migration Guide that modprobe.conf is not created by default. The manual doesn't tell me what is used in place of modprobe.conf. Anybody know? 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/ -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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/ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. -- 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/ -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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: Read-only DASD and CMSCONFFILE
On 02/28/2011 11:42 AM, Philip Rowlands wrote: Short version: DASD='777,888(ro)' is valid and useful CMSCONFFILE, but we don't see that syntax in either the documentation or the script's own output. Long version: Picture the scene; there's a minidisk holding kickstart files and the full RHEL install file set. Other users LINK this minidisk in order to read the data locally. We configure the target and repo dasd with DASD=777,888. What happens next? - The R/O LINK is not detected by the Linux dasd module. /sys/bus/ccw/devices/0.0.0888/readonly is 0. - For reasons unclear to me, anaconda wants to write to all the partition tables it can see, despite having no clearpart, initlabel or partitions defined for that disk. - The kernel logs spews out the usual EXAMINE 24 error and sense hex data seen when you try to write to a read-only disk. - anaconda stalls and prompts to Ignore the error on dasdb, unless we're using non-interactive kickstart, in which case it stalls for good. How to fix this? The CMSCONFFILE read by linuxrc.s390 (the /sbin/init of RHEL's initrd installer image) supports a DASD= parameter, which is sanity-checked and passed to the kernel. Tell linux which minidisks are readonly like this: DASD=777,888(ro) If we follow the RHEL install documentation, or rely on linuxrc.s390's own interactive option p to print out the CONF file, we have a problem. CMSCONFFILE is a shell script, sourced by bash. It must be written in syntax-compliant bash, which DASD=777,888(ro) is not. DASD='777,888(ro)' # quoted to protect the parentheses is correct syntax, and will successfully protect the disk from anaconda's attempts to write to it. I'll probably file this in RHEL Bugzilla, and send a note to IBM's Linux team in Germany, but wanted to post here first for feedback and to see if anyone else has run into similar problems. Cheers, Phil Hi Phil, Thanks for your detective work in tracking down the fix for this. Please do file a RHEL Bugzilla. This should be documented. Once you file the bug report, please let me know the Bugzilla number and I'll make sure it gets documented in the right places. Thanks, -Brad -- 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/ -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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/
Standby storage and user direct
Hi, Anyone know if there's support in z/VM's user direct file for defining standby storage/memory when defining a user? Thanks, -Brad -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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 use FSCK_FORCE_ALL_PARALLEL at boot time
On 01/04/2011 01:35 PM, Donald Russell wrote: RHEL 5 The man pages for fsck say the FSCK_FORCE_ALL_PARALLEL environment variable controls fsck behavior so filesystems residing on the same physical device can actually be checked in parallel as per the /etc/fstab settings. i.e. I have the root file system with fsck pass 1 and all other filesystems as pass 2. The idea being that all pass 2 file systems may be checked simultaneously, though fsck will do them serially if they are on the same devices. The man page doesn't say if a particular value needs to be set, so I assume just the fact the environment variable being defined is enough, so I set it to 1. I also explicitly set FSCK_MAX_INST=0. (Which I may change later if I get this working) But, I don't see all these fscks going in parallel when I boot. I use shutdown -F -r now to force an fsck but they still seem to run serially. I put the values in /etc/sysconfig/init but either that's not the right place, or 1 is not a value fsck deems appropriate. :-) So, where is the correct place and what is the correct value to set these if I want them to take effect when the system is coming up? Thanks very much Hi, Unfortunately /etc/sysconfig/init isn't the right place for that environment variable. It's really only for the variables listed here: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-The_sysconfig_Directory.html#s2-sysconfig-init FSCK_FORCE_ALL_PARALLEL really needs to be set in /etc/rc.sysinit, before fsck is run. So there are a couple of options. 1) Manually edit /etc/rc.sysinit, and change the lines that run fsck (around line 640, search for Checking filesystems). Change: fsck -T -t ... to FSCK_FORCE_ALL_PARALLEL=1 fsck -T -t ... Pros/Cons of this approach: It'll definitely work, but mucking with startup files causes update issues (/etc/rc.sysinit could get overwritten when the initscripts package is updated), and could also cause issues if you call into Red Hat support one day. 2) You can open a support ticket with Red Hat support and request this change. The fix would be to either change /etc/rc.sysinit to support fsck-related environment variables, or edit fsck itself to take this variable as a commandline option instead (probably the better fix, since it's already possible to pass fsck commandline options through a config file -- /fsckoptions). This is the best long-term approach, but doesn't give you a fix today. 3) Okay first off this is an ugly hack I admit. But there are some config files that get read before the fsck in rc.sysinit. One of these is /etc/sysconfig/clock. You could add FSCK_FORCE_ALL_PARALLEL=1 to the bottom of /etc/sysconfig/clock, and theoretically it will be set by the time the fsck runs. The Pro is you'll be fully supported by Red Hat because you're just editing a config file, as opposed to option 1. The Con, well, see the first sentence :) -Brad --- Hey! Hey! You! You! Get off of my cloud! http://news.cnet.com/8301-13578_3-20002423-38.html -- 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/ -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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: Kernel panic - not syncing error on Red Hat Linux
In addition to the other great hardware suggestions, on the software side, that's a pretty old kernel version. There are a couple dozen OOM-related fixes in post RHEL 4.4 kernels. I'd recommend sending your sysreport to Red Hat support, so they can tell you the minimum kernel version to use. Or I'd recommend trying the latest RHEL 4 kernel (2.6.9-89). In a way it's good it locks up so often, because you'll know pretty quickly if the new kernel version helps. You know, glass half full and all.. ;) -Brad -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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: Announcing Red Hat Enterprise Linux 6
On 11/11/2010 01:36 PM, Jim Elliott wrote: RHEL 6 was released publicly today, and is available for download from RHN (https://rhn.redhat.com). For more info, please see: ttp://www.redhat.com/promo/Red_Hat_Enterprise_Linux6/ Brad: Is there any doc on which of these functions are NOT available on System z? I suspect that, as in the past, System z does not get all the function and now the add ons at http://www.redhat.com/rhel/add-ons/ Jim Hi Jim, The last two add-ons (Smart management, Extended update support) are available for RHEL 6 on z. The others are not available and/or don't apply because there is equivalent functionality already in z, like the load balancer and high performance network for example. -Brad -- 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/ -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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/
Announcing Red Hat Enterprise Linux 6
RHEL 6 was released publicly today, and is available for download from RHN (https://rhn.redhat.com). For more info, please see: http://www.redhat.com/promo/Red_Hat_Enterprise_Linux6/ Here are a couple of selected bullets from the what's new link on the page above.. -- Scalability * Red Hat Enterprise Linux 6 supports more sockets, more cores, more threads, and more memory. Efficient Scheduling * The CFS schedules the next task to be run based on which task has consumed the least time, task prioritization, and other factors. Using hardware awareness and multi-core topologies, the CFS optimizes task performance and power consumption. Filesystems * The new default file system, ext4, is faster, more robust, and scales to 16TB. * NFSv4 is significantly improved over NFSv3, and is backwards compatible. * Fuse allows filesystems to run in user space allowing testing and development on newer fused-based filesystems (such as cloud filesystems). System Resource Allocation * Cgroups organize system tasks so that they can be tracked, and so that other system services can control the resources that cgroup tasks may consume (Partitioning). Two user-space tools, cgexec and cgclassify, provide easy configuration and management of cgroups. ..plus much more. See http://www.redhat.com/rhel/server/details/ for more info on what's new. Thanks, -Brad -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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: Tripwire on zLinux
On 08/12/2010 11:31 AM, Mark Post wrote: On 8/12/2010 at 10:47 AM, Burton, Randyrbur...@bbandt.com wrote: I'm interested in knowing if anyone is running the Tripwire security compliance product at their shop. We are using it at BBT, and at least from what I've been able to find on Tripwire's web site, it isn't supported on zLinux. So, we need to find something equivalent and I'm interested in knowing what others are doing, are there equivalent products that are supported on zLinux, etc. I can't speak for Red Hat, but Novell ships the aide package for this purpose. Mark Post Red Hat ships the aide package as well. Nice program: http://www.cs.tut.fi/~rammer/aide.html -- 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/ -- Brad Hinsonbhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) www.redhat.com/z -- 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: Red Hat 5 Update 5 Install Failing on Network
Few things: - In the VSWITCH output, there's Portname: OSD02, so in the PARM (or CONF) file, you should have PORTNAME=OSD02. - Try using lowercase subchannels, i.e. SUBCHANNELS=0.0.0c00,0.0.0c01,0.0.0c02 - Add PORTNO=0 to PARM (or CONF) file -Brad On 05/24/2010 06:25 PM, Scully, William P wrote: Portname: OSD02 -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) +1 (919) 754-4198 (voicemail) www.redhat.com/z -- 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
Announcing Red Hat Enterprise Linux 6 beta
Below is the announcement for RHEL 6 beta, released this past Wednesday. It's currently available on RHN (https://rhn.redhat.com). Red Hat is pleased to announce the Beta availability of the next generation of the Red Hat Enterprise Linux product family. Red Hat Enterprise Linux 6 brings together ground-breaking improvements across many subsystems and a significant update to the kernel to deliver the overall Red Hat open source experience. Red Hat Enterprise Linux 6 Beta is available today for download by customers, partners and members of the public. We value wide participation and invite you to install, test and provide feedback on the Beta to help us ensure that the final release delivers a best-in-class solution. Our currently supported release, Red Hat Enterprise Linux 5, continues to be the cornerstone of Red Hat's subscription-based software product portfolio. It will continue to be supported by Red Hat and its ISV and OEM partners until 2014. Featuring fully updated core technology, from the kernel to the application infrastructure to the development toolchain, Red Hat Enterprise Linux 6 Beta includes many features and enhancements to the following areas: * Virtualization* Security * Power management * Storage * Resource management * RAS * File systems * Scalability * Compiler and tools* Desktop * Installer * New hardware enablement Please note that this early access software should not be deployed in production environments. The Beta packages and installation images are intended for testing purposes only. Red Hat Enterprise Linux 6 Beta is still in active development, and the contents of the media kit and the implemented features are subject to change. The Beta is not formally supported and it will not be possible to upgrade from the Beta to the final production version. Due to the incorporation of debugging features, performance tests based on the Beta will not provide results that are representative of the final product. To learn more about this release or to download the installation kits, please visit the Red Hat Enterprise Linux 6 Beta portal at: http://www.redhat.com/rhel/beta The portal also provides detail on how to report issues and feedback to Red Hat. Please be sure to periodically check the Red Hat blog for articles on Red Hat Enterprise Linux 6. The blog can be accessed at: http://press.redhat.com/ If you'd like to stay current with Red Hat Enterprise Linux 6 updates, we encourage you to subscribe to the following mailing lists: 1. Mailing list that provides general announcements related to Red Hat Enterprise Linux 6. https://www.redhat.com/mailman/listinfo/rhelv6-announce 2. Mailing list to serve as a discussion list for Red Hat Enterprise Linux 6 beta(s). https://www.redhat.com/mailman/listinfo/rhelv6-beta-list Thank you for your continued support of Red Hat and your interest in the Red Hat Enterprise Linux 6 Beta. Your participation is critical in ensuring that we deliver a high-quality release that supports your enterprise environments. Sincerely, The Red Hat Enterprise Linux Team -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) +1 (919) 754-4198 (voicemail) www.redhat.com/z -- 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: The udevadm settle command timing out
On 04/23/2010 10:40 AM, Michael MacIsaac wrote: Hi, I have a script that does a FLASHCOPY, then a chccwdev -e against the newly copied disk. It seemed that the chccwdev command finished asynchronously. In the past I had a sleep 1 which seemed to allow enough time for the command to finish, but I got comments that udevsettle, or udevadm settle were the preferred method of waiting for chccwdev to finish. So I now use udevadm settle and it seemed to also work fine. Until today... I ran the script and it didn't complete for a few minutes. I isolated the delay to the udevadm settle command. Now I run it from the command line and see: # time udevadm settle After the udevadm settle timeout, the events queue contains: 415: /devices/css0/0.0.000d/0.0.1100 416: /devices/css0/0.0.000d 423: /devices/css0/0.0.000d 424: /devices/css0/0.0.000d/0.0.1102 427: /devices/css0/0.0.000d/0.0.1102 428: /devices/css0/0.0.000d 431: /devices/css0/0.0.000d 432: /devices/css0/0.0.000d/0.0.1102 435: /devices/css0/0.0.000d/0.0.1102 436: /devices/css0/0.0.000d real3m0.929s user0m0.008s sys 0m0.044s It seems that udevadm settle is timing out after three minutes. Has anyone seen this, or can explain it? Thanks. Mike MacIsaacmike...@us.ibm.com(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 The udevsettle command has a --timeout option according to the man page. This is probably band-aid for some deeper problem though.. -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) +1 (919) 754-4198 (voicemail) www.redhat.com/z -- 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: non-disruptive adding memory to z/VM LPAR
Hi Sterling, This will be available in RHEL 6, which should be available in beta really soon. -Brad On 03/31/2010 11:37 AM, Sterling James wrote: Does any of the distros (rhel or sles) support nondisruptive adding memory to the guest under z/VM 5.4 or 6.1? Thx - Please consider the environment before printing this email and any attachments. This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your 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 -- Brad Hinson bhin...@redhat.com Worldwide System z Sales, Strategy, Marketing Red Hat, Inc. +1 (919) 360-0443 (mobile) +1 (919) 754-4198 (voicemail) www.redhat.com/z -- 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: RHEL 5.4 install
Frank M. Ramaekers wrote: I'm having some problems with installing RHEL 5.4 under VM. No, I've already completed a Suse and a CentOS4 under VM with little problems. I can get it to boot (spooling decks to the reader and IPLing), but when attempting an FTP install, it hangs on: Unable to retrieve ftp://wac780l1022.ailife.com//outgoing/RedHat/images/stage2.img ftp://wac780l1022.ailife.com/outgoing/RedHat/images/stage2.img From the VM console: 14:14:17 INFO: setting language to en_US.UTF-8 14:14:20 INFO: need to set up networking 14:14:20 INFO: going to pick interface 14:14:20 INFO: only have one network device: eth0 14:14:20 INFO: going to do getNetConfig 14:14:20 INFO: dnsservers is 10.1.2.50 14:14:20 INFO: setting specified hostname of vmlnx000.ailife.com 14:14:20 INFO: doing kickstart... setting it up 14:14:25 INFO: starting to STEP_URL 14:15:34 ERROR : got to setupCdrom without a CD device 14:15:34 INFO: transferring ftp://wac780l1022.ailife.com//outgoing/RedHat/images/updates.img to a fd 14:18:43 INFO: transferring ftp://wac780l1022.ailife.com//outgoing/RedHat/disc1/images/updates.img to a fd 14:21:52 INFO: transferring ftp://wac780l1022.ailife.com//outgoing/RedHat/images/product.img to a fd 14:25:02 INFO: transferring ftp://wac780l1022.ailife.com//outgoing/RedHat/disc1/images/product.img to a fd 14:28:11 INFO: 508988 kB are available 14:28:11 INFO: transferring ftp://wac780l1022.ailife.com//outgoing/RedHat/images/stage2.img to a fd 14:31:21 INFO: transferring ftp://wac780l1022.ailife.com//outgoing/RedHat/disc1/images/stage2.img to a fd The file exists (using a FTP client): C:\ ftp localhost Connected to ftpserver.xx.com. 220 Microsoft FTP Service User (ftpserver.xx.com:(none)): anonymous 331 Anonymous access allowed, send identity (e-mail name) as password. Password: 230 Anonymous user logged in. ftp cd outgoing/RedHat/images 250 CWD command successful. ftp ls 200 PORT command successful. 150 Opening ASCII mode data connection for file list. cdboot.img generic.prm initrd.img initrd.size kernel.img minstg2.img stage2.img tape.tdf tape0 TRANS.TBL 226 Transfer complete. ftp: 115 bytes received in 0.02Seconds 7.19Kbytes/sec. ftp bin 200 Type set to I. ftp get stage2.img 200 PORT command successful. 150 Opening BINARY mode data connection for stage2.img(88608768 bytes). 226 Transfer complete. ftp: 88608768 bytes received in 4.70Seconds 18840.90Kbytes/sec. ftp Ideas, suggestions, anything? Looks like you have 512MB stor defined for this guest. Does it get any farther with 768MB? Also, are there any firewall rules on the FTP server that would prevent access from the z guest/subnet, but allow the FTP client you used above? -Brad Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr. Fax: (254)741-5777 Waco, Texas 76701 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Rhel 5.4 install problems
Mark Ver wrote: Try defining a second cpu DEF CPU 02 Or try doing a define stor of 2G or greater. If I recall correctly, there was an issue found with parameter file handling on RHEL 5.4 installer image that required such restrictions. I think this will be documented in an updated release notes if not done so already. But whenever I've seen that problem, I've been able to log on after specifying the network info manually. So it sounds like there is another problem involved here. Also as far as I know, the prompt into the Red Hat installer shouldn't be asking for a password ... is the session just hanging? Or is actually coming back with an access denied message? Another thing to check is the protocol your ssh client (for example PuTTY) is using. It should be ssh protocol 2, not 1. Here are a few things that might be a good place to start debug: 1) see if you can log in as debug instead of root (should also not require a password) 2) if using a Windows ssh client, try logging in from another Linux system with X forwarding explicitly disabled (small x flag) in case X forwarding is causing some sort of disruption in getting the display from the loader program. ssh -x r...@mysystem.net 3) press enter twice on the z/VM console for the guest, this should get it to display a console prompt, ex: sh-3.2# You can then use it to do stuff like: ifconfig tail /tmp/anaconda.log cat /tmp/netinfo cat /etc/passwd ps | grep sshd - Mark Ver -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: CentOS 4.7 on zSeries
received this in error, please destroy it immediately and notify us at privacy...@ailife.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 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 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: RedHat 5.4 (and 5.2) installs fail before formatting DASD
RPN01 wrote: Trying to install a RedHat image by hand, and I get through the network definitions, I skip the installation number, and get to the warning about formatting the first disk and data loss. I tell it to go ahead and format, and RedHat exits without doing anything. Is there any way to get around this and go on with the install? I¹ve tried both RHEL 5.4 and 5.2, with the same results. Open to any suggestions. (SLES was much simpler...) How much storage did you define? Anything less than 512MB can cause shutdowns/memory problems for the 'vnc' option. -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: CentOS 4.7 on zSeries
Frank M. Ramaekers wrote: No, I want two: eth0 - Real OSA-X (out to the real world) eth1 - VSWITCH (internal to the zSeries) I went ahead and added my own ifcfg-eth1 (hoping that would help). # IBM QETH DEVICE=eth1 ARP=no BOOTPROTO=static BROADCAST=192.168.199.255 IPADDR=192.168.199.40 MTU=4096 NETMASK=255.255.255.0 NETTYPE=qeth NETWORK=192.168.199.0 ONBOOT=yes PORTNAME=FOOBAR SUBCHANNELS=0.0.0700,0.0.0701,0.0.0702 TYPE=Ethernet Is eth1 not coming up automatically? If not, make sure you have this line in /etc/modprobe.conf: alias eth1 qeth Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Brad Hinson Sent: Friday, December 18, 2009 2:28 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: CentOS 4.7 on zSeries Frank M. Ramaekers wrote: 1) see below... CP Q NIC DET Adapter 0700.P00 Type: QDIO Name: UNASSIGNED Devices: 3 MAC: 02-00-00-00-00-06 VSWITCH: SYSTEM VSWTMK00 RX Packets: 0 Discarded: 0 Errors: 0 TX Packets: 0 Discarded: 0 Errors: 0 RX Bytes: 0TX Bytes: 0 Unassigned Devices: Device: 0700 Unit: 000 Role: Unassigned Device: 0701 Unit: 001 Role: Unassigned Device: 0702 Unit: 002 Role: Unassigned Currently, I IPL CMS in order to perform the 'COUPLE' command (which doesn't fail). I have performed the SET GRANT. I see nothing in the dmesg (except for the eth0): qeth: Device 0.0.0600/0.0.0601/0.0.0602 is a OSD Express card (level: 0892) with link type OSD_1000 (portname: FOOBAR) divert: allocating divert_blk for eth0 qeth: Hardware IP fragmentation not supported on eth0 qeth: VLAN enabled qeth: Multicast enabled qeth: IPV6 enabled qeth: Broadcast enabled qeth: Using SW checksumming on eth0. qeth: Outbound TSO enabled ip_tables: (C) 2000-2002 Netfilter core team eth0: no IPv6 routers present (The real OSA-X is at 0600-0602 and the VSWITCH is 0700-0702) This indicates eth0 is 600-602, the real OSA. If you want eth0 to be the NIC, set SUBCHANNES=0.0.0700,0.0.0701,0.0.0702 in /etc/sysconfig/network-scripts/ifcfg-eth0. If that doesn't help, the output of 'q vswitch VSWTMK00' and /etc/sysconfig/network-scripts/ifcfg-eth0 may help. -Brad # vmcp q v osa OSA 0600 ON OSA 0F90 SUBCHANNEL = 0600 DEVTYPE OSA CHPID 01 OSD 0600 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE OSA 0601 ON OSA 0F91 SUBCHANNEL = 0001 0601 DEVTYPE OSA CHPID 01 OSD 0601 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE OSA 0602 ON OSA 0F92 SUBCHANNEL = 0002 0602 DEVTYPE OSA CHPID 01 OSD 0602 QDIO ACTIVE QIOASSIST ACTIVE 0602 0602 INP + 01 IOCNT = 00136721 ADP = 014 PROG = 000 UNAVAIL = 114 0602 BYTES = 01359600 0602 OUT + 01 IOCNT = ADP = 000 PROG = 000 UNAVAIL = 128 0602 BYTES = 0602 OUT + 02 IOCNT = ADP = 000 PROG = 000 UNAVAIL = 128 0602 BYTES = 0602 OUT - 03 IOCNT = 1377 ADP = 001 PROG = 127 UNAVAIL = 000 0602 BYTES = 0004ADC0 0602 OUT + 04 IOCNT = ADP = 000 PROG = 000 UNAVAIL = 128 0602 BYTES = OSA 0700 ON NIC 0700 UNIT 000 SUBCHANNEL = 0003 0700 DEVTYPE OSA CHPID 02 OSD 0700 MAC 02-00-00-00-00-06 CURRENT 0700 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE OSA 0701 ON NIC 0700 UNIT 001 SUBCHANNEL = 0004 0701 DEVTYPE OSA CHPID 02 OSD 0701 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE OSA 0702 ON NIC 0700 UNIT 002 SUBCHANNEL = 0005 0702 DEVTYPE OSA CHPID 02 OSD 0702 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE 2) Okay: modprobe vmcp [r...@vmlnx000 ~]# vmcp q t TIME IS 10:28:38 CST FRIDAY 12/18/09 CONNECT= 27:04:50 VIRTCPU= 014:03.64 TOTCPU= 014:28.42 Does the monprobe have to run each time the Linux system is booted? Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mauro Souza Sent: Friday, December 18, 2009 9:50 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: CentOS 4.7 on zSeries 1 - When you IPL your Linux, there could be some message indicating why your vswitch isn't working. The most common mistake is forgetting to give the guest authorization to couple to the vswitch. 2 - To use vmcp, the module vmcp must be loaded. Issue a modprobe vmcp before. Mauro http://mauro.limeiratem.com - registered Linux
Re: Redhat on FCP
Hi Marian, That should be FCP_1, FCP_2, and so on. Can they specify them like this? The idea is to specify all the LUNs, and the installer will see that they're all really the same multipath'd LUN. -Brad Marian Gasparovic wrote: Hi, I have a question from customer. They try to install RedHat 5.4 into LPAR, so no z/VM involved. Not DASD but SCSI disks. They are able to install it, but without multipath for root. I have this link http://kbase.redhat.com/faq/docs/DOC-15673 which explains how to make root filesystem multipathed, but it says it can be done only during installation. And it modifies parmfile (ok, that can be done with reburning DVD) but that points to CONF file which is on CMS disk. They say they cannot specify fcp1 and fcp2 during install, only one and then disk is on single path. Any idea ? Thank you === Marian Gasparovic === The mere thought hadn't even begun to speculate about the merest possibility of crossing my mind. -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: TCPDUMP
Hi Ron, This sounds strangely familiar to an issue fixed in libpcap/tcpdump in RHEL 5.2: http://rhn.redhat.com/errata/RHBA-2008-0321.html Under Details section: * The libpcap library did not work correctly with qeth devices when layer2 mode was disabled. Here's the title of the original Bugzilla: tcpdump does not show outgoing packets with fake_ll=1 I've attached the patch. You may want to contact Novell support to see if this patch has been included in the versions of libpcap/tcpdump you're using. -Brad Ron Wells wrote: Linux guy says---Ooops... you are correct.. but still why can not see outbound traffic and only inbound From: John Summerfield deb...@herakles.homelinux.org To: LINUX-390@VM.MARIST.EDU Date: 11/03/2009 07:49 PM Subject: Re: TCPDUMP Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU Ron Wells wrote: Not recv'ing / seeing packets being sent from Linux box..only see them coming inbound?? Where can I start looking Going through VSWITCH where OSA-Gig card is set z/VM5.4 SLES 10 SP2 Linux agfzxt02 2.6.16.60-0.42.4-default #1 SMP Fri Aug 14 14:33:26 UTC 2009 s390x s390x s390x GNU/Linux tcpdump command: tcpdump -p -i eth0 -s 0 -vv -w /root/appwork01.lcap src port not 22 or dst port not 22 When people start combining AND and NOT I have to think, and I don't like thinking. But I wonder whether you mean and rather than or. I'd use port not 22 Something like this: tcpdump -i eth0 -A -s host terry and not port 22 which doesn't trace ssh activity. -- Cheers John -- spambait 1...@coco.merseine.nu z1...@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- 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 -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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 diff -up libpcap-0.9.4/pcap-linux.c.qeth libpcap-0.9.4/pcap-linux.c --- libpcap-0.9.4/pcap-linux.c.qeth 2007-11-20 14:48:58.0 +0100 +++ libpcap-0.9.4/pcap-linux.c 2007-11-20 14:53:37.0 +0100 @@ -1323,6 +1323,54 @@ static void map_arphrd_to_dlt(pcap_t *ha /* = Functions to interface to the newer kernels == */ +/* We need to use cooked mode if this is a qeth device + * which has attribute layer2 = 0 and fake_ll = 1, and + * RAW data link type if layer2 = 0 and fake_ll = 0 */ + +static int qeth_l3(const char *device, int fake_ll) +{ + FILE *f; + char buf[200], name[100]; + int l, l2, fl; + + l = snprintf(name, sizeof (name), + /sys/class/net/%s/device/driver, device); + if (l 0 || l = sizeof (name)) + return 0; + + l = readlink(name, buf, sizeof (buf)); + if (l 0 || l = sizeof (buf)) + return 0; + + if (strncmp(buf + l - 4, qeth, 4)) + return 0; + + l = snprintf(name, sizeof (name), + /sys/class/net/%s/device/layer2, device); + if (l 0 || l = sizeof (name)) + return 0; + + if ((f = fopen(name, r)) == NULL) + return 0; + l = fscanf(f, %d, l2); + fclose(f); + + if (l != 1 || l2) + return 0; + + l = snprintf(name, sizeof (name), + /sys/class/net/%s/device/fake_ll, device); + if (l 0 || l = sizeof (name)) + return 0; + + if ((f = fopen(name, r)) == NULL) + return 0; + l = fscanf(f, %d, fl); + fclose(f); + + return l == 1 fl == fake_ll; +} + /* * Try to open a packet socket using the new kernel interface. * Returns 0 on failure. @@ -1398,7 +1446,8 @@ live_open_new(pcap_t *handle, const char handle-linktype == DLT_LINUX_IRDA || (handle-linktype == DLT_EN10MB (strncmp(isdn, device, 4) == 0
Re: SAR -v command values
Hi Rick, dentunusd shows how many unused directory entries (dentries) you have in the kernel's memory cache. Dentries are stored on disk, and contain information about a specific directory. They're cached in memory for faster access as you change directories. For a rough example, try 'mkidr /tmp/test; vi /tmp/test'. Here's an article on managing this value. I'm sure there are many like it, but this is just one approach: http://rackerhacker.com/2008/12/03/reducing-inode-and-dentry-caches-to-keep-oom-killer-at-bay/ -Brad Rick Truett wrote: Hello, I am looking for an explanation of the value returned in the dentunusd field from the sar -v command. I have values in teh millions and would like to understand why the value is so high. -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: RHEL install
Hi Thang, Yes, you can definitely install without a CONF file. You would just put everything into the PARM file, and not specify CMSCONFFILE= or CMSDASD=. In fact, this is how it's done with zPXE, the PXE client for cobbler/Satellite. For example, see here: https://fedorahosted.org/cobbler/wiki/SssThreeNinety (sample PARM file towards the bottom) Keep in mind though that the PARM file has an architectural limit of 11 lines (880 characters), so you have to be clever and fit as many parameters on an 80 character line as possible. -Brad Thang Pham wrote: Is there a way to install RHEL on s390x architecture without the need to specify a CONF file and putting the CONF file on a CMS disk? Can I append the configuration onto the PARM file and punch it to reader (which I tried but does not work)? According to Red Hat, A .parm file is still required for the real kernel parameters, such as root=/dev/ram0 ro ip=off ramdisk_size=4, and single parameters which are not assigned to variables, such as vnc. Two parameters which are used in z/VM installs to point the installation program at the new CMS configuration file need to be added to the .parm file: CMSDASD=191 CMSCONFFILE=redhat.conf CMSDASD is the device ID of the CMS formatted DASD which contains the configuration file. CMSDASD is often the 'A' DASD (usually disk 191) of the z/VM guest account. The name of the configuration file must be set with CMSCONFFILE and needs to be all lowercase. ( http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Installation_Guide/s1-s390-steps-vm.html ) Thank you, - Thang Pham IBM Poughkeepsie - -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: RHEL install
Hi Thang, I noticed this line during your IPL: 00: NO FILES CHANGED Are you purging the reader before punching and IPLing? I copied/pasted your PARM file, and it worked for me. For reference, here's my exec: /* EXEC to punch RHEL 5 64-bit install */ 'CP SPOOL PUN *' 'CP CLOSE RDR' 'PUR RDR ALL' 'PUN RH53 KERNEL * (NOH' 'PUN 'userid()' PARM * (NOH' 'PUN RH53 INITRD * (NOH' 'CH RDR ALL KEEP' 'IPL 00C CLEAR' I wonder if you were IPL'ing an old copy of the PARM file (I noticed the vnc/vncpasswd options are missing from the kernel cmdline output, which may confirm this theory). -Brad Thang Pham wrote: Hi Brad, I took you advice and put everything in the parm file. I have the following in my parm file: root=/dev/ram0 ro ip=off ramdisk_size=4 DASD=0.0.0100,0.0.0101 HOSTNAME=gpok6.endicott.ibm.com NETTYPE=qeth IPADDR=10.0.0.6 SUBCHANNELS=0.0.0800,0.0.0801,0.0.0802 NETWORK=10.0.0.0 NETMASK=255.255.255.0 SEARCHDNS=endicott.ibm.com BROADCAST=10.0.0.255 GATEWAY=10.0.0.1 DNS=9.0.2.11 MTU=1500 PORTNAME=UNASSIGNED PORTNO=0 LAYER2=0 vnc vncpassword=123456 When the virtual server IPL 000C, which is where the kernel, parm, and initrd are punched to, I get the following message: Which kind of network device do you intend to use (e.g. ctc, iucv, qeth, lcs). Enter 'qeth' for OSA-Express Fast Ethernet, Gigabit Ethernet (including 1000Base-T), High Speed Token Ring, and ATM (running Ethernet LAN emulation) features in QDIO mode. Enter 'lcs' for OSA 2 Ethernet/Token Ring, OSA-Express Fast Ethernet in non-QDIO mode, OSA-Express High Speed Token Ring in non-QDIO mode and Gigabit Ethernet in non-QDIO mode. It looks like the parm file was never read. I see this at the beginning when the virtual server IPLed 000C: RDR FILE 0121 SENT FROM LINUX254 PUN WAS 0142 RECS 048K CPY 001 A NOHOLD NOKEEP RDR FILE 0122 SENT FROM LINUX254 PUN WAS 0143 RECS 0005 CPY 001 A NOHOLD NOKEEP RDR FILE 0123 SENT FROM LINUX254 PUN WAS 0144 RECS 117K CPY 001 A NOHOLD NOKEEP 00: NO FILES CHANGED Linux version 2.6.18-128.el5 (mockbu...@spud.z900.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Dec 17 11:45:02 EST 2008 We are running under VM (64 bit mode) Detected 2 CPU's Boot cpu address 0 Built 1 zonelists. Total pages: 131072 Kernel command line: root=/dev/ram0 ro ip=off ramdisk_size=4 DASD=0.0.0100,0.0.0101 HOSTNAME=gpok6.endicott.ibm.com NETTYPE=qeth IPADDR=10.0.0.6 SUBCHANNELS=0.0.0800,0.0.0801,0.0.0802 NETWORK=10.0.0.0 NETMASK=255.255.255.0 SEARCHDNS=endicott.ibm.com BROADCAST=10.0.0.255 GATEWAY=10.0.0.1 DNS=9.0.2.11 MTU=1500 PORTNAME=UNASSIGNED PORTNO=0 LAYER2=0 What could be wrong? - Thang Pham IBM Poughkeepsie - From: Brad Hinson bhin...@redhat.com To: LINUX-390@VM.MARIST.EDU Date: 10/31/2009 11:17 AM Subject: Re: RHEL install Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU Hi Thang, Yes, you can definitely install without a CONF file. You would just put everything into the PARM file, and not specify CMSCONFFILE= or CMSDASD=. In fact, this is how it's done with zPXE, the PXE client for cobbler/Satellite. For example, see here: https://fedorahosted.org/cobbler/wiki/SssThreeNinety (sample PARM file towards the bottom) Keep in mind though that the PARM file has an architectural limit of 11 lines (880 characters), so you have to be clever and fit as many parameters on an 80 character line as possible. -Brad Thang Pham wrote: Is there a way to install RHEL on s390x architecture without the need to specify a CONF file and putting the CONF file on a CMS disk? Can I append the configuration onto the PARM file and punch it to reader (which I tried but does not work)? According to Red Hat, A .parm file is still required for the real kernel parameters, such as root=/dev/ram0 ro ip=off ramdisk_size=4, and single parameters which are not assigned to variables, such as vnc. Two parameters which are used in z/VM installs to point the installation program at the new CMS configuration file need to be added to the .parm file: CMSDASD=191 CMSCONFFILE=redhat.conf CMSDASD is the device ID of the CMS formatted DASD which contains the configuration file. CMSDASD is often the 'A' DASD (usually disk 191) of the z/VM guest account. The name of the configuration file must be set with CMSCONFFILE and needs to be all lowercase. ( http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Installation_Guide/s1-s390-steps-vm.html ) Thank you, - Thang Pham IBM Poughkeepsie - -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919
Re: Kickstart question
Thang Pham wrote: I am trying kicktstart to install RHEL5.4 on a z/VM virtual machine. I have not problems setting up the kickstart file, parm-r54 and conf-r54 files. But during the kickstart installation, I get this question: The partition table on device dasdb (0.0.0101) was unreadable. To create new partitions it must be initialized, causing the loss of ALL DATA on this drive. This operation will override any previous installation choices about which drives to ignore. Would you like to initialize this drive, erasing ALL DATA? yesno [] If I put in yes, it continuously prints out 'y' and never ends. If I press the 'enter' key, I get: sh-3.2# I did specifiy 'clearpart --all --initlabel' in my kickstart configuration file. So the disks should have been formatted automatically. # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work zerombr yes clearpart --all --initlabel part / --fstype ext3 --size=1 --grow --ondisk=dasda part /usr --fstype ext3 --size=1 --grow --ondisk=dasdb What could I be doing wrong? Thank you, - Thang Pham IBM Poughkeepsie - Your kickstart options are correct. This looks like a bug. Can you open a ticket with support? Thanks, -Brad -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Kickstart question
Brad Hinson wrote: Thang Pham wrote: I am trying kicktstart to install RHEL5.4 on a z/VM virtual machine. I have not problems setting up the kickstart file, parm-r54 and conf-r54 files. But during the kickstart installation, I get this question: The partition table on device dasdb (0.0.0101) was unreadable. To create new partitions it must be initialized, causing the loss of ALL DATA on this drive. This operation will override any previous installation choices about which drives to ignore. Would you like to initialize this drive, erasing ALL DATA? yesno [] If I put in yes, it continuously prints out 'y' and never ends. If I press the 'enter' key, I get: sh-3.2# I did specifiy 'clearpart --all --initlabel' in my kickstart configuration file. So the disks should have been formatted automatically. # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work zerombr yes clearpart --all --initlabel part / --fstype ext3 --size=1 --grow --ondisk=dasda part /usr --fstype ext3 --size=1 --grow --ondisk=dasdb What could I be doing wrong? Thank you, - Thang Pham IBM Poughkeepsie - Your kickstart options are correct. This looks like a bug. Can you open a ticket with support? Thanks, -Brad After some further digging, this works for me with the line: clearpart --initlabel --drives=dasda,dasdb Note --all is replaced with --drives=. Can you verify this works for you? fyi, the --drives= option is only necessary when the disk is *very* unformatted, i.e. cpfmtxa/cpformat/dasdfmt has never been run on this disk. It was tough to get a disk back into this state after it's been used in Linux, but by using dasdfmt (killed prematurely before if finished), I was able to attach the disk to another guest, and lsdasd showed: 0.0.1000(ECKD) at ( 94: 24) is dasdg : n/f 0.0.1001(ECKD) at ( 94: 32) is dasdi : n/f (with n/f meaning not formatted) Under this situation, --drives is needed. Otherwise, --all --initlabel will do the trick. I believe it has to do with this error printed on the console: 16:59:08 INFO: inserted /tmp/dasd_diag_mod.ko 16:59:08 INFO: inserted /tmp/dasd_fba_mod.ko dasd_erp(3990): 0.0.0100: EXAMINE 24: No Record Found detected dasd_erp(3990): 0.0.0101: EXAMINE 24: No Record Found detected 16:59:08 INFO: inserted /tmp/dasd_eckd_mod.ko In this state, clearpart --all can't find dasda/dasdb, so you have to specify that you want to format them with --drives=dasda,dasdb. -Brad -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Terminal server
Hi, RHEL 5.4 added a TTY terminal server over IUCV. Here's a brief description, copied/pasted from the feature request bugzilla: This implements the terminal server running on a dedicated z/VM guest. The terminal server is a user space program that accepts connections via the normal network and uses the AF_IUCV socket API to provide a console session to the Linux guests of the z/VM system that are enabled for the IUCV console. Note that while the description above mentions 'user space program', there is also an equivalent kernel piece that requires the RHEL 5.4 kernel as well as the RHEL 5.4 s390-utils package. As for documentation, check out the readme here: /usr/share/doc/s390utils-1.8.1/ts-shell/README.ts-shell -Brad Thang Pham wrote: I understand that RHEL 5.4 has a terminal server, is there any documentation about how to install and use it? - Thang Pham IBM Poughkeepsie - -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Multipathing for ECKD devices
Sterling James wrote: Has the ECKD dasd device driver in SLES11/Redhat 5.4 changed to provide muiltipathing vs multipath? lsdasd Bus-ID Status Name Device Type BlkSz Size Blocks == 0.0.0206 alias ECKD 0.0.0207 alias ECKD 0.0.0201 active dasda 94:0ECKD 4096 7043MB1803060 0.0.0202 active dasdb 94:4ECKD 4096 7043MB1803060 0.0.0205 active dasdc 94:8ECKD 4096 2347MB601020 Thanks This is just the new format for output from lsdasd. It is now PAV-aware, so it knows that (in this example) disks 206 and 207 are aliases. You can still use these devices (base+alias) in a multipath, using the device-mapper-multipath package. As a reminder, for RHEL this procedure is outlined here: http://kbase.redhat.com/faq/docs/DOC-3413 -Brad - Please consider the environment before printing this email and any attachments. This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Adding dasd to Red Hat, mkinitrd problem
Sterling James wrote: (ex: mkinitrd /boot/initrd-2.2.5-15.img 2.2.5-15) How do I get the new dasd added to this RedHat system? Thanks to anyone who can help. Check out http://kbase.redhat.com/faq/docs/DOC-2404, How do I add a new DASD to a Red Hat Enterprise Linux guest in z/VM (IBM's virtualization manager)? Let me know if that helps First, please excuse the lack of understanding but the url raised two questions for me; 1) Is the cp initrd-$(uname -r).img initrd-$(uname -r).img.orig, just, a backup? Or am I missing it's intent? Yep, this is optional and purely for backup purposes. 2) The mkinitrd -f initrd-$(uname -r).img $(uname -r); assuming uname -r returns the current level of the running kernel, if you're doing several things during a small maintenance window, e.g. - applying patches, adding dasd, and with this scenario existing; You are correct. This command assumes you want to rebuild an initrd for the currently running kernel. If you have multiple kernels installed, or are building an initrd during a maintenance window where your running kernel does not match your production kernel version, you'll have to manually specify the kernel version instead of using $(uname -r). [use...@localhost ~]$ ls /boot bootmapsymvers-2.6.18-128.el5.gz config-2.6.18-128.7.1.el5 symvers-2.6.18-164.el5.gz config-2.6.18-128.el5 System.map-2.6.18-128.7.1.el5 config-2.6.18-164.el5 System.map-2.6.18-128.el5 grub System.map-2.6.18-164.el5 initrd-2.6.18-128.7.1.el5.img tape0 initrd-2.6.18-128.el5.img vmlinuz-2.6.18-128.7.1.el5 initrd-2.6.18-164.el5.img vmlinuz-2.6.18-128.el5 lost+found vmlinuz-2.6.18-164.el5 symvers-2.6.18-128.7.1.el5.gz [use...@localhost ~]$ cat /etc/zipl.conf [defaultboot] default=2.6.18-164.el5 target=/boot/ [2.6.18-164.el5] image=/boot/vmlinuz-2.6.18-164.el5 ramdisk=/boot/initrd-2.6.18-164.el5.img parameters=root=/dev/rootvg/rootvol [2.6.18-128.7.1.el5] image=/boot/vmlinuz-2.6.18-128.7.1.el5 ramdisk=/boot/initrd-2.6.18-128.7.1.el5.img parameters=root=/dev/rootvg/rootvol [linux] image=/boot/vmlinuz-2.6.18-128.el5 ramdisk=/boot/initrd-2.6.18-128.el5.img parameters=root=/dev/rootvg/rootvol uname -r would return 2.6.18-128.7.1.el5 which then the mkinitrd would not accomplish the desired result. If this is correct, srcipting a maintenance window becomes very tricky. Thanks - Please consider the environment before printing this email and any attachments. This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: vmpoff=LOGOFF not working in RHEL 5.3?
Michael MacIsaac wrote: Clovis, Please, try with vmphalt too. root=LABEL=/ vmpoff=LOGOFF vmphalt=LOGOFF BOOT_IMAGE=0 Thanks for the suggestion. I tried that and there was no difference: # cat /proc/cmdline cat /proc/cmdline root=LABEL=/ vmpoff=LOGOFF vmphalt=LOGOFF BOOT_IMAGE=0 # halt halt That should be vmhalt, not vmphalt. The reason vmpoff didn't work the first time is that '/sbin/halt' halts the system without doing a true poweroff instruction (thus leaving the system halted but on), whereas '/sbin/poweroff' does a halt+poweroff. 'shutdown -h now' does a poweroff also, which is why that worked the 2nd time. If you have vmpoff=LOGOFF vmhalt=LOGOFF, you have all your bases covered. Any time the system halts, it'll logoff, regardless of whether you run the command to perform an actual poweroff. -Brad Broadcast message from root (console) (Fri Aug 14 12:01:52 2009): The system is going down for system halt NOW! ... 00: HCPGSP2629I The virtual machine is placed in CP mode due to a SIGP stop from CPU 01. 01: HCPGSP2630I The virtual machine is placed in CP mode due to a SIGP stop and store status from CPU 01. The user ID remains logged on. Then I reboot and try a shutdown -h now and the behavior is different (I naively thought that halt and shutdown -h now were the same): # shutdown -h now ... And in fact the system does get logged off Then I reboot again and go to MAINT and do a: == signal shutdown rh5rwmnt And I see the system go down on the 3270 session, however it does not logoff, it goes to disabled wait: 01: HCPGSP2629I The virtual machine is placed in CP mode due to a SIGP stop from CPU 01. 00: HCPGIR450W CP entered; disabled wait PSW 00020001 8000 0FFF Back on MAINT I see: HCPSIG2113I User RH5RWMNT has reported successful termination However, the user ID remains running: q rh5rwmnt RH5RWMNT -L0006 So now I'm even more confused. But something does not seem to be working correctly. Mike MacIsaac mike...@us.ibm.com (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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Using a guest LAN for a private network
I set this up and was unable to get it working at first, too. As a test, I destroyed everything then recreated the GuestLAN with the 'eth' keyword to test layer2. Then I added OPTIONS=layer2=1 and MACADDR=madeupmacaddr to ifcfg-ethX. With the GuestLAN in layer2 mode, I can ping successfully. As to why layer3/IP mode isn't working, it could be my setup, but I noticed this on the console when I brought the nic online with echo 1 /sys/bus/...: HCPIPN2833E Error 'E00A'X adding IP address 192.168.7.3 for VSWITCH SYSTEM VSW2. HCPIPN2833E IP address is already in use on the LAN. which is strange because I'm working with 'lan mylan' but a vswitch (with guests on a different subnet) is complaining about IP address in use. I should note that I couldn't get this working with either ARP=no or ARP=yes in ifcfg-ethX, but the error only appeared when I set ARP=yes. If my issues are separate, please don't let them cloud your original issue, but thought I'd share my experience. Can you test a layer2 GuestLAN to see if that works? Do you see any VSWITCH-related messages on the console like I did? my config: RHEL 5.3 z/VM 5.2, level 0602 -Brad Scott Rohling wrote: We want to establish a small private subnet that some guests can use to communicate with between themselves, with all ports open... On guest A: vmcp define lan mylan type qdio vmcp define nic 900 type qdio vmcp couple 900 to guesta mylan We have an ifcfg-eth2 (this is redhat) that gives an address of 192.168.7.2 using netmask 255.255.255.0 eth2 comes up fine - route shows 192.168.7.0 going over eth2 Unrestricted LAN 'mylan' for guesta shows up doing a Q LAN On guest B: vmcp define nic 900 type qdio vmcp couple 900 to guesta mylan ifcfg-eth2 gives address of 192.168.7.3 using netmask 255.255.255.0 eth2 comes up fine - route shows 192168.7.0 going over eth2 Q LAN shows 2 users connected to 'mylan' Everything looks great -- but they can't talk .. pings, etc just fail... What am I forgetting?? I know I've done this beforeaargh! Any ideas or insight? Scott -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: yum-autoupdate on RHEL
John Summerfield wrote: Michael Grundy wrote: I've discovered this on RHEL5-clone on another platform. Looking at a RHEL 5.3 system, I don't see a yum-auto update. There is yum-updatesd, which can be controlled in the normal fashion: # chkconfig --list yum-updatesd yum-updatesd0:off 1:off 2:on3:on4:on5:on6:off yum-autoupdate is in Fedora. I don't know whether it can be removed, in SL removing it also removes yum. It seems the behaviour I see is specific to Scientific Linux 5. I'm generating some heat there, I don't see any justification for it in any likely environment for a RHEL clone. I for one don't want updates to any of my systems on Red Hat's say-so, and that's exactly what has been happening. A system like Microsoft's where one can opt-out would be fine. Opt-in would be better for EL IMV. Not sure what version of yum-autoupdate you're running on Scientific, but I found a link to the SL rpm here: http://linux.maruhn.com/sec/autoupdate.html Based on this version, can you remove/rename /etc/cron.daily/yum.cron? There is similar functionality built into Satellite, but it's disabled by default, so totally opt-in. Some people do like it though, I hear. Of course Satellite is a more controlled environment, as you control the repository of RPMs the clients are auto-updating from. -Brad -- Cheers John -- spambait 1...@coco.merseine.nu z1...@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Adding dasd technique
Bauer, Bobby (NIH/CIT) [E] wrote: Thanks Mike but the manual expects you to reboot to make the new disk available. Not always an option. It is the naming that I'm having trouble with. Adding the disk does not require a reboot. You can use chccwdev at the command line to enable the new disks. My apologies for not highlighting this point in the Redbook. -Brad Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Michael MacIsaac Sent: Tuesday, July 28, 2009 10:54 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Adding dasd technique Bobby, swapgen macro in the profile exec for the server and the mkswap and swapon commands in rc.local If you're using SWAPGEN you don't need the mkswap and swapon. SWAPGEN makes the swap space. If you have it in /etc/fstab, as with any other swap space, it will be turned on as part of normal Linux bootup. (doing that is described on page 106 of z/VM and Linux on IBM System z The Virtualization Cookbook for RHEL 5.2, SG24-7492, on the Web at http://www.redbooks.ibm.com/abstracts/sg247492.html) Also section 12.1 on page 181 describes adding a logical volume, then extending it. Hope this helps. Mike MacIsaac mike...@us.ibm.com (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 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Adding dasd technique
Bauer, Bobby (NIH/CIT) [E] wrote: How do I use by-device-address? Don't find it on the Redhat site nor did Google tell me much. Fstab is built from the input of Anaconda when I build the server isn't it? The /dev/disk/ directory contains links with other ways to access the DASD. For example, on my system: # ls -ld /dev/disk/* drwxr-xr-x 2 root root 480 Jul 15 19:22 /dev/disk/by-id drwxr-xr-x 2 root root 60 Jun 25 15:13 /dev/disk/by-label drwxr-xr-x 2 root root 380 Jul 15 19:22 /dev/disk/by-path drwxr-xr-x 2 root root 60 Jul 15 17:12 /dev/disk/by-uuid # ls /dev/disk/by-id/ccw-0X3D2C* -l lrwxrwxrwx 1 root root 11 Jun 25 15:13 /dev/disk/by-id/ccw-0X3D2C - ../../dasda lrwxrwxrwx 1 root root 12 Jun 25 15:13 /dev/disk/by-id/ccw-0X3D2C-part1 - ../../dasda1 lrwxrwxrwx 1 root root 12 Jun 25 15:13 /dev/disk/by-id/ccw-0X3D2C-part2 - ../../dasda2 You can use these in /etc/fstab, but in your case with LVM, I don't think it will help, since LVM entries in fstab are of the form /dev/{volume_group_name}/{logical_volume_name}. Going back to the original issue, the reason the new disk came up as dasdg is because you're calling chccwdev/mkswap in /etc/rc.local. As Adam, Pat, and Mike pointed out, you should use modprobe.conf for all disks. Either: options dasd_mod dasd=200-205,700-701 in which case any DASD you add after 701 will be dasdh. Or you could do something like: options dasd_mod dasd=200-20f,700-701 The latter is a preallocation of device nodes. You can add any DASD up to 70f without needing to remake the initrd or rerun zipl. -Brad Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Adam Thornton Sent: Tuesday, July 28, 2009 10:29 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Adding dasd technique On Jul 28, 2009, at 9:18 AM, Bauer, Bobby (NIH/CIT) [E] wrote: We are running Redhat V5 with z/VM V5.4 with all 3390 dasd. I need to add another volume to one of my servers. I also have 2 swap disk defined using Sine Nomine's swapgen macro in the profile exec for the server and the mkswap and swapon commands in rc.local: If you're running swapgen then you don't need to mkswap or swapon. You should probably put dasd=200-205,700-701. But you should also use the by-device-address form of talking about your dasd (rather than dasda, dasdb, and so on) in /etc/fstab precisely so you don't have to care as you add and subtract devices, as long as they stay at the same virtual addresses. Also don't forget to rebuild your initrd after every time you change dasd configuration. Adam -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Adding dasd technique
LJ Mace wrote: Am I missing something this isn't about the problem ,but helping me understan: you said options dasd_mod dasd=200-20f,700-701 The latter is a preallocation of device nodes. You can add any DASD up to 70f without needing to remake the initrd or rerun zipl. Should that be 700-70f?? thanks and sorry about the confusion. Mace You could do that, too (preallocate devices for additional VDISK swap). Depends on whether you're more likely to add ECKD DASD, VDISK swap, or both in the future. --- On Tue, 7/28/09, Brad Hinson bhin...@redhat.com wrote: From: Brad Hinson bhin...@redhat.com Subject: Re: Adding dasd technique To: LINUX-390@VM.MARIST.EDU Date: Tuesday, July 28, 2009, 12:48 PM Bauer, Bobby (NIH/CIT) [E] wrote: How do I use by-device-address? Don't find it on the Redhat site nor did Google tell me much. Fstab is built from the input of Anaconda when I build the server isn't it? The /dev/disk/ directory contains links with other ways to access the DASD. For example, on my system: # ls -ld /dev/disk/* drwxr-xr-x 2 root root 480 Jul 15 19:22 /dev/disk/by-id drwxr-xr-x 2 root root 60 Jun 25 15:13 /dev/disk/by-label drwxr-xr-x 2 root root 380 Jul 15 19:22 /dev/disk/by-path drwxr-xr-x 2 root root 60 Jul 15 17:12 /dev/disk/by-uuid # ls /dev/disk/by-id/ccw-0X3D2C* -l lrwxrwxrwx 1 root root 11 Jun 25 15:13 /dev/disk/by-id/ccw-0X3D2C - ../../dasda lrwxrwxrwx 1 root root 12 Jun 25 15:13 /dev/disk/by-id/ccw-0X3D2C-part1 - ../../dasda1 lrwxrwxrwx 1 root root 12 Jun 25 15:13 /dev/disk/by-id/ccw-0X3D2C-part2 - ../../dasda2 You can use these in /etc/fstab, but in your case with LVM, I don't think it will help, since LVM entries in fstab are of the form /dev/{volume_group_name}/{logical_volume_name}. Going back to the original issue, the reason the new disk came up as dasdg is because you're calling chccwdev/mkswap in /etc/rc.local. As Adam, Pat, and Mike pointed out, you should use modprobe.conf for all disks. Either: options dasd_mod dasd=200-205,700-701 in which case any DASD you add after 701 will be dasdh. Or you could do something like: options dasd_mod dasd=200-20f,700-701 The latter is a preallocation of device nodes. You can add any DASD up to 70f without needing to remake the initrd or rerun zipl. -Brad Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Adam Thornton Sent: Tuesday, July 28, 2009 10:29 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Adding dasd technique On Jul 28, 2009, at 9:18 AM, Bauer, Bobby (NIH/CIT) [E] wrote: We are running Redhat V5 with z/VM V5.4 with all 3390 dasd. I need to add another volume to one of my servers. I also have 2 swap disk defined using Sine Nomine's swapgen macro in the profile exec for the server and the mkswap and swapon commands in rc.local: If you're running swapgen then you don't need to mkswap or swapon. You should probably put dasd=200-205,700-701. But you should also use the by-device-address form of talking about your dasd (rather than dasda, dasdb, and so on) in /etc/fstab precisely so you don't have to care as you add and subtract devices, as long as they stay at the same virtual addresses. Also don't forget to rebuild your initrd after every time you change dasd configuration. Adam -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Documentation on CMM-1 setup?
Hi Pat, Here's the process: 1.) Add 'modprobe cmm' as the last line in /etc/rc.local (then run 'modprobe cmm' to load the module) 2.) Add 'CP XAUTOLOG VMRMSVM' to AUTOLOG1's profile exec (then XAUTOLOG the VMRMSVM user for the current IPL) That's it for the default setup. For more advanced options, you can create a config file in VM (VMRM CONFIG on VMRMSVM's 191 disk) with additional options. See this link for more info: http://publib.boulder.ibm.com/infocenter/zvm/v5r4/topic/com.ibm.zvm.v54.hcpb8/irdsvm.htm#irdsvm and btw, here's the main page for info on CMM: www.vm.ibm.com/sysman/vmrm/vmrmcmm.html -Brad Patrick Spinler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, For redhat enterprise 5 (which per redhat and ibm still doesn't support cmm-2 / cmma), can someone kindly point me at any document describing how to set up and configure cmm-1? Something that covers both the z/VM and linux guest tasks, please. Thanks a ton! - -- Pat -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpI5xoACgkQNObCqA8uBsz2gwCeLozlvaBvw9D0rxvpLqUCwieZ 3mMAn0C63xvcW9k12h5eJiwasA3x77xT =N5Mo -END PGP SIGNATURE- -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: EPEL-like repos for z/Linux
Hi, I'm in the process of rebuilding packages now. EPEL packages for z have never existed, but if all goes well they could be released soon. fyi, this requires a dedicated z guest for compiles/builds (which I already have), and integration into the current EPEL infrastructure (which I'm learning how to do now). More to come soon.. -Brad Kenneth Holter wrote: Thanks for the replies I got for the EPEL-thread ( http://www.mail-archive.com/linux-390@vm.marist.edu/msg53425.html) I posted. In January I posted some questions on the Red Hat mailing list, asking about EPEL (amongst other things). This is the post: http://linux.derkeiler.com/Mailing-Lists/RedHat/2009-01/msg00049.html From the replies I got I was under the impression that EPEL-like repos for z/Linux allready exists - not necessarily z/Linux packages within EPEL, but perhaps a repo similar to EPEL. If anyone knows where to find this repo please feel free to send me a link to it. Regards, Kenneth -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: EPEL-like repos for z/Linux
Hi, Currently there are no s390x packages in EPEL. A while back I had a conversation with the folks who can make this happen, and it looks like it's possible. I'll forward this message internally and get that conversation going again. -Brad Kenneth Holter wrote: Hello list. This is my first post to the list. We're about to set up some RHEL 5 servers in z/VM on z10, and would like to incoorporate the z/Linux servers into our existing infrastructure as much as possible. For example, I'd like to use Nagios and Munin, since this is what we're currently using on our x86 platform. For our x86 platform we use the Nagios and Munin RPMs found in EPEL. Is there any EPEL-like repos for z/Linux that perhaps contains these tools? Regards, Kenneth Holter -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: RED HAT 5.2 KICKSTART
: transferring ftp://lftp:pa55w...@10.15.0.107//SPACE/RHEL52/KI CKSTART to a fd 16:52:09 ERROR : cannot determine address family of lftp 16:52:09 ERROR : failed to retrieve http://lftp:pa55w...@10.15.0.107///SPACE/HEL52/KICKSTART Any help would be welcomed. Thank You, Terry Martin Lockheed Martin - Information Technology z/OS z/VM Systems - Performance and Tuning Cell - 443 632-4191 Work - 410 786-0386 terry.ma...@cms.hhs.gov -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to European legal entities. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: To kick or to clone ... that is the question
Scott Rohling wrote: Hi Doug -- Yep, we sure had some fun kicking Linux servers! Not sure how Linux not doing restarting itself is an IBM issue... but that 'is' a nasty downside to kickstarting -- ending up at a 'You may safely reboot' screen doesn't help automation. Reboot issue fixed in RHEL 5.3 :-) And we should add that kickstarting is faster than cloning 'if' the DASD is already Linux formatted.. if not, the kickstart does the formatting, adding time to the install. Scot On Tue, Jun 9, 2009 at 11:39 PM, WILLIAM CARROLL v...@smgvbest.com wrote: Hi Scott, I'll jump on your bandwagon but then again you already know I perfer Kickstarting over cloning you should also mention that unless you have Flashcopy for your DASD Kickstarting is actually faster than cloning. unless your clone master is very small. as you recall ours was on a mod3 (lots of required garbage) and cloning that mod3 was slower than kickstarting also after the kickstart was done the server was ready, no additional steps to change IP's or anything. if only redhat would fix that re-ipl after the reboot. they say it's an IBM issue not thiers Doug Carroll - Original Message - From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@VM.MARIST.EDU Sent: Wednesday, June 10, 2009 12:00 AM Subject: To kick or to clone ... that is the question This is a blatant request for discussion about the pros and cons of using an automated installation (e.g. RH kickstart - Suse autoyast (though maybe this has changed - I'm not current on Suse) - vs cloning a system from a 'golden image'... and I should say: on zSeries. I'm a fan of kickstart - and I'll list my reasons in approximate order of importantance to me (most to least): - kickstart forces a scripted and recreatable installation. You specify the rpm's and can do some limited scripting within the kickstart file itself to end up with (hopefully) a working Linux system that requires no manual tweaking (at least - if you do it 'right'). The alternative is a cloned system that the Linux SA's have been on, and perhaps several other teams - all performing manual tasks to end up with the final product - all sorts of shoeprints and no good detectives. Whereas a kickstart config is self-documenting - a clone is not. With good scripting and good use of rpm packaging for your 'local' or even 'vendor' products - you can end up with a very KISS config file that might even go multiplatform. (e.g. arch=`uname -m` ) - with a proper building of conf and parm files on z/VM - a guest can be kicked already configured with a working network -- no need for some outside scripting or manual config. - you can have different kickstart files for different server 'types' (web, app, db, etc) - these can even be built dynamically and requested via a URL to to the kickstart ( e.g. http://mykicker/kick.webip=xx.xx.xx.xx+etc+etc.) - The size of the DASD can be flexible.. cloning requires copying the same size DASD as the source.. - The latest fixes can be applied by keeping the repository the kickstart uses current - rather than updating a clone source. (of course - testing is still required and would require kickstarting a guest to truly do any testing - a good thing imo) - It encourages packing by rpm rather than manual 'tarball' methods.. this is in line with a 'recreatable' install. Yes, you can still do 'tar' commands in the kickstart file itself.. but specifying an rpm package is oh so much easier. - Servers start 'clean' - ie no old log files from the clone source and no need to try and script a 'cleanup' - No worrying about whether a clone source is 'up' when a new server is clone and possibly clone a live system There are downsides.. but I'll leave those to the rest of you to expound on, since I'm taking a position of 'kickstart good, Jane' Thanks and hope this is valuable to some .. Scott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists
Re: To kick or to clone ... that is the question
Hall, Ken (GTS) wrote: The small addition of the read time for DDR is nothing compared to the time required to install the packages over the network. That's at least the same amount of reading, plus network time. I agree about the problem of keeping multiple masters. We keep just one per version, and use a first-boot process to install additional packages via yum as needed, or let the admins install what they need manually. It's still faster, by quite a lot. Unfortunately, I don't have time today to run measurements, but our base system clone process takes less than 30 minutes from beginning to end. All this said, we have been seriously considering going to a kickstart based method, but my experience with it has not been encouraging. Aside from taking longer, it seems to be fairly fragile and requires more manual effort. Our clone method consists of running a VM-based dialog, waiting for the copies to finish (run asynchronously in a service machine), and then autologging the new guest. Are you using NFS to host the install tree? In some recent tests, I noticed a huge improvement installing over NFS when tweaking the NFS mount options (rsize, wsize, tcp instead of udp, timeout). In the kickstart file, you'd specify something like this: nfs --server=server.example.com --dir=/path/to/rhel5.3 --opts=tcp,rsize=8192,wsize=8192,timeo=20 These options help especially if there's a lot of traffic on the line. The default mount options are UDP, with rsize/wsize=32768. -Brad -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Rob van der Heij Sent: Wednesday, June 10, 2009 9:16 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] To kick or to clone ... that is the question On Wed, Jun 10, 2009 at 2:54 PM, Hall, Ken (GTS)ken_h...@ml.com wrote: How could it be faster? Cloning involves simply copying the disks, that's one pass with DDR. Copying a disk requires reading and writing. Formatting just requires (short) writes. Depending on your configuration, you may not notice the extra resource usage in the elapsed time. But it's probably more whether you spend the time while you're waiting for it. Once you get into the business of holding several different golden masters to copy from, things get more complicated. Back then we used a very bare minimum that was copied to the new root disk, and the required additional packages were added on top of it. That approach allows for a stock supply of copied root disks ready to use. -Rob -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to Merrill Lynch are references to any company in the Merrill Lynch Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Sec urities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -- -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- For LINUX-390 subscribe / signoff / archive access
Re: To kick or to clone ... that is the question
Scott Rohling wrote: Excellent - thanks, Brad -- I assume the code honors the kickstart 'reboot' option now on z? Scott Yep. Right now it only does a ccw reipl though, so reboot works for installation for root partition on ECKD or FBA DASD, but not root partition on FCP. On Wed, Jun 10, 2009 at 8:22 AM, Brad Hinson bhin...@redhat.com wrote: Scott Rohling wrote: Hi Doug -- Yep, we sure had some fun kicking Linux servers! Not sure how Linux not doing restarting itself is an IBM issue... but that 'is' a nasty downside to kickstarting -- ending up at a 'You may safely reboot' screen doesn't help automation. Reboot issue fixed in RHEL 5.3 :-) And we should add that kickstarting is faster than cloning 'if' the DASD is already Linux formatted.. if not, the kickstart does the formatting, adding time to the install. Scot On Tue, Jun 9, 2009 at 11:39 PM, WILLIAM CARROLL v...@smgvbest.com wrote: Hi Scott, I'll jump on your bandwagon but then again you already know I perfer Kickstarting over cloning you should also mention that unless you have Flashcopy for your DASD Kickstarting is actually faster than cloning. unless your clone master is very small. as you recall ours was on a mod3 (lots of required garbage) and cloning that mod3 was slower than kickstarting also after the kickstart was done the server was ready, no additional steps to change IP's or anything. if only redhat would fix that re-ipl after the reboot. they say it's an IBM issue not thiers Doug Carroll - Original Message - From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@VM.MARIST.EDU Sent: Wednesday, June 10, 2009 12:00 AM Subject: To kick or to clone ... that is the question This is a blatant request for discussion about the pros and cons of using an automated installation (e.g. RH kickstart - Suse autoyast (though maybe this has changed - I'm not current on Suse) - vs cloning a system from a 'golden image'... and I should say: on zSeries. I'm a fan of kickstart - and I'll list my reasons in approximate order of importantance to me (most to least): - kickstart forces a scripted and recreatable installation. You specify the rpm's and can do some limited scripting within the kickstart file itself to end up with (hopefully) a working Linux system that requires no manual tweaking (at least - if you do it 'right'). The alternative is a cloned system that the Linux SA's have been on, and perhaps several other teams - all performing manual tasks to end up with the final product - all sorts of shoeprints and no good detectives. Whereas a kickstart config is self-documenting - a clone is not. With good scripting and good use of rpm packaging for your 'local' or even 'vendor' products - you can end up with a very KISS config file that might even go multiplatform. (e.g. arch=`uname -m` ) - with a proper building of conf and parm files on z/VM - a guest can be kicked already configured with a working network -- no need for some outside scripting or manual config. - you can have different kickstart files for different server 'types' (web, app, db, etc) - these can even be built dynamically and requested via a URL to to the kickstart ( e.g. http://mykicker/kick.webip=xx.xx.xx.xx+etc+etc.) - The size of the DASD can be flexible.. cloning requires copying the same size DASD as the source.. - The latest fixes can be applied by keeping the repository the kickstart uses current - rather than updating a clone source. (of course - testing is still required and would require kickstarting a guest to truly do any testing - a good thing imo) - It encourages packing by rpm rather than manual 'tarball' methods.. this is in line with a 'recreatable' install. Yes, you can still do 'tar' commands in the kickstart file itself.. but specifying an rpm package is oh so much easier. - Servers start 'clean' - ie no old log files from the clone source and no need to try and script a 'cleanup' - No worrying about whether a clone source is 'up' when a new server is clone and possibly clone a live system There are downsides.. but I'll leave those to the rest of you to expound on, since I'm taking a position of 'kickstart good, Jane' Thanks and hope this is valuable to some .. Scott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message
Re: To kick or to clone ... that is the question
David Boyes wrote: Are you using NFS to host the install tree? In some recent tests, I noticed a huge improvement installing over NFS when tweaking the NFS mount options (rsize, wsize, tcp instead of udp, timeout). This is also one of the few cases where memory-mapping the install repository filesystem in XSTORE on the kickstart server is worth considering. Speeds up the process enormously at the cost of paging space and operations. Hmm, interesting.. do you mean creating a DCSS for the install tree? That would be blazing fast. -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: RED HAT 5.2 KICKSTART
After glancing through the code, it appears you can in fact host the kickstart over FTP in RHEL 5, but it must be anonymous FTP. This is a change in behavior since RHEL 4. Note this is just for downloading the kickstart file. The install tree can still be located on password-protected FTP. Brad Hinson wrote: Hi Terry, Mark is correct here, you can host the kickstart on NFS, HTTP, or DASD, but not FTP. Note this is just to download the kickstart file. You can host the install tree on NFS, HTTP, DASD, or FTP. -Brad Martin, Terry R. (CMS/CTR) (CTR) wrote: Hi William, Yes the path is correct. Obviously there is still something wrong but not sure at this point. I was hoping someone from REDHAT would respond. I guess I will need to contact them directly in the morning Thank You, Terry Martin Lockheed Martin - Information Technology z/OS z/VM Systems - Performance and Tuning Cell - 443 632-4191 Work - 410 786-0386 terry.mar...@cms.hhs.gov -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of William D Carroll Sent: Tuesday, June 09, 2009 4:16 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: RED HAT 5.2 KICKSTART It can be FTP,HTTP,NFS or a file on disc (not for us of course) most use http because then they can use scripting to autogenerate kickstartfile (perl,php etc) my question is I see ks=ftp://lftp:pa55w...@10.15.0.107/SPACE/RHEL52/KICKSTART is that path correct for the ftp site? ie. is SPACE/RHEL52/KICKSTART supposed to be caps. if not it would fail from what you sent it tried ftp://lftp:pa55w...@10.15.0.107//SPACE/RHEL52/KICKSTART to a fd that failed then it tried http which it will always try http as a last resort. http://lftp:pa55w...@10.15.0.107///SPACE/HEL52/KICKSTART which failed as well so double check your FTP URL and the case of the path William 'Doug' Carroll Mainframe Systems Eng Sr I Global Technology Infrastructure RedHat Certified Engineer: 805008304430937 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Martin, Terry R. (CMS/CTR) (CTR) Sent: Tuesday, June 09, 2009 1:31 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: RED HAT 5.2 KICKSTART Hi Does anyone know for sure that the KICKSTART must be on an HTTP server? We did at the beginning last year and had a lot of help from Red Hat support so I am thinking maybe we never did get this to work the way we are trying to do it now.. Thank You, Terry Martin Lockheed Martin - Information Technology z/OS z/VM Systems - Performance and Tuning Cell - 443 632-4191 Work - 410 786-0386 terry.mar...@cms.hhs.gov -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Scott Rohling Sent: Tuesday, June 09, 2009 1:26 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: RED HAT 5.2 KICKSTART I thought the kickstart server had to be http - but I could be wrong -- my experience is also using http for the kickstart location. (and keep in mind the kickstart location can point to a CGI or any kind of dynamic URL rather than a static file -- as long as it spits out a kickstart file it works - you can do some pretty slick dynamic kicks this way) Scott On Tue, Jun 9, 2009 at 11:22 AM, Stewart Thomas J stewartthom...@johndeere.com wrote: We put our kickstart on an HTTP server and not an FTP server, so we do this: KS=http://abc.myserver.com/Public/kickstart/ks-linux123.cfg RUNKS=1http://abc.myserver.com/Public/kickstart/ks-linux123.cfg%0ARUNKS =1 Then in the actual kickstart we have this parm to point to the FTP install files: url --url ftp://123.456.789.123/s390x/AS4u6 Maybe you can do it all in one, but just wanted to pass that along. __ Tom Stewart Infrastructure Analyst John Deere - z/OS Support Services em: stewartthom...@johndeere.com __ -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Martin, Terry R. (CMS/CTR) (CTR) Sent: Tuesday, June 09, 2009 11:57 AM To: LINUX-390@VM.MARIST.EDU Subject: RED HAT 5.2 KICKSTART Hi, We have loaded our initial REHL 5.2 image via FTP without problems. We are now trying to do our initial KICKSTART. We are executing the PARMFILE with the following statements: root=/dev/ram0 ro ip=off ramdisk_size=4 CMSDASD=191 CMSCONFFILE=RH52.CONF ks=ftp://lftp:pa55w...@10.15.0.107/SPACE/RHEL52/KICKSTART RUNKS=1 cmdline My CONF file looks like this: /* Configuration Information For Autoinstall RH46 */ /* Note: Verify HOSTNAME, IPADDR and DASD fields. */ /* */ HOSTNAME=KICK52.CMS.HHS.GOV DASD=700,800,801 NETTYPE=qeth SUBCHANNELS=0.0.8300,0.0.8301,0.0.8302 PORTNAME= IPADDR=10.15.49.25 NETWORK=10.15.0.0 NETMASK=255.255.0.0 BROADCAST=10.15.0.255 GATEWAY=10.15.0.254 LAYER2=0 MACADDR= SEARCHDNS=cms.hhs.gov DNS=10.15.0.117 MTU=1500 The problem we are having is that when I try
Re: To kick or to clone ... that is the question
and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -- -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 http://www.marist.edu/htbin/wlvindex?LINUX-390 -- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to Merrill Lynch are references to any company in the Merrill Lynch Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Sec urities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -- -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: To kick or to clone ... that is the question
Hall, Ken (GTS) wrote: Tried zerombr, according to the doc, yes is deprecated. Doesn't help. Try zerombr yes. iirc it behaved differently on DASD than just zerombr alone. I know.. not a good doc. zerombr clearpart --all --initlabel part /boot --asprimary --bytes-per-inode=4096 --fstype=ext3 --grow --ondisk=dasda --size=88 part / --asprimary --bytes-per-inode=4096 --fstype=ext3 --grow --ondisk=dasdb --size=1 part /var --asprimary --bytes-per-inode=4096 --fstype=ext3 --grow --ondisk=dasdc --size=1 part swap --asprimary --bytes-per-inode=4096 --fstype=swap --grow --ondisk=dasdd --size=1 part pv.01 --asprimary --grow --ondisk=dasde --size=1 part pv.02 --asprimary --grow --ondisk=dasdf --size=1 part pv.03 --asprimary --grow --ondisk=dasdg --size=1 From the kickstart documentation: zerombr (optional) If zerombr is specified any invalid partition tables found on disks are initialized. This destroys all of the contents of disks with invalid partition tables. Note that in previous versions of Red Hat Enterprise Linux, this command was specified as zerombr yes. This form is now deprecated; you should now simply specify zerombr in your kickstart file instead. -- The problem at the moment is that dasdb was partially formatted, so there actually shouldn't be any partition table there (so why is it asking?). Admittedly this isn't a normal situation, but it could come up where there was residual data in the minidisk space, or something crashed. And for Doug's point, by that logic, I can reduce my build time to zero by simply cloning a ready system over every disk instead of formatting. We configure instances on first-boot anyway. But this doesn't work unless you're using full volumes. Those of us using minidisks don't have the option of preformatting, so this becomes an apples-to-oranges comparison. Not sure I follow. On this guest, assuming zerombr yes works and the installer dasdfmt's the disks, after the installation finishes, you can change zerombr to 'no' (or leave it off altogether), and change clearpart to --all only. Then when you install again to the same disks, the dasdfmt will not happen. Is this completely off from what you're saying? -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Brad Hinson Sent: Wednesday, June 10, 2009 1:28 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] To kick or to clone ... that is the question Hall, Ken (GTS) wrote: Even if you preformat the DASD, it still has to be done, so it does take time. And if you're using minidisks, you have to format it at the point where the guest is created. On a related note, anyone know how to eliminate the prompt during kickstart?: Can't have a question in command line mode! Warning The partition table on device dasdb (0.0.0101) was unreadable. To create new par titions it must be initialized, causing the loss of ALL DATA on this drive. This operation will override any previous installation choices about which drive s to ignore. Would you like to initialize this drive, erasing ALL DATA? yesno [] I tried to format over a partially formatted minidisk, and got this. There doesn't seem to be an option to override and just go ahead and write. This is RHEL5.3. The combination of kickstart options: clearpart --all --initlabel zerombr yes will instruct the installer to go ahead and format the DASD without prompting. To your first point, I think Doug was pointing out that you don't have to do this format every time. If you have a DASD that was formatted for Linux use in the past, you can just specify: clearpart --all and Anaconda will happily skip the dasdfmt. This works great for DASD used by Linux in the past. For unknown or new DASD, it's best to use the slow approach (dasdfmt during install), that way you know for sure. -Brad -- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to Merrill Lynch are references to any company in the Merrill Lynch Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Sec urities and Insurance Products: * Are Not FDIC Insured
Re: Sending / Getting Reader Spool files to / from z/linux guest
Tyler Koyl wrote: I am looking at somehow having a guests RDR spool files be sent or gotten to linux side of the guest. not sure if that can be done from the linux guest itself or from a CMS service machine putting the files via FTP/ NFS etc. Anybody gone down this path and have any suggestions? TK Tyler Koyl Management Analyst Regina Phone: 306/569-6122 | Fax: 306/569-4382 Mailto:tyler.k...@viterra.ca www.viterra.ca (Embedded image moved to file: pic10904.gif) Check out the z/VM unit record driver 'vmur': # modprobe vmur # modprobe vmcp (I think it's also required for some commands) /sbin/vmur There's also a pretty detailed vmur man page. This e-mail and any attachment(s) are confidential and may be privileged. If you are not the intended recipient please notify me immediately by return e-mail, delete this e-mail and do not copy, use or disclose it. -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: EMC Powerpath
Hi, There's a (very large) support matrix here: http://www.emc.com/collateral/elab/emc-support-matrices.pdf On p. 1213-1214 (pdf p. 1244-1245) there's zLinux (RHEL) information. The footnotes are a bit confusing though. It indicates 'Powerpath not supported', but not for each update. One of the footnotes indicates: Symmetrix control software within zLinux including Solutions Enabler requires an RPQ I'd recommend contacting EMC to see which specific RHEL updates they support, if any. Now, have you considered device-mapper-multipath? It's free, open source, included in RHEL, and works with EMC hardware. -Brad Jan de Wet - Business Connexion wrote: Hi Can someone tell me if EMC Powerpath is supported under RedHat on the zSeries Thank you Jan de Wet Deployment (Business Connexion), Services Building, Midrand, South Africa Cell: +27 (0)82 902 1996 Office: +27 (0)11 729 5436 Fax:+27 (0)86 572 5720 e-mail: jan.de...@bcx.co.za Jesus Christ is my Lord -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: drop_caches in SLES 9 ?
Rob van der Heij wrote: 2009/5/8 Tomasz Westrych tomw...@poczta.fm: How to clear memory cache in Sles 9 ? In SLES10 you can do echo 3 /proc/sys/vm/drop_caches. In SLES9 I, don't see drop_caches. We have z/VM 5.4 + SLES9 version 2.6.5-7.244-s390x. Right. This is a more recent addition to Linux memory management, and it's not available in the older kernels. Be aware that it does not really help you in reducing your real memory requirements when running on z/VM. The reason is that z/VM is not aware that Linux has freed up those pages, and z/VM will still retain the data. In some cases, doing this will actually *increase* your real memory requirements. If you want to do such things, look at CMM-1 (which is in SLES9). It's really just a diagnostics tool, for example to make sure that your benchmark is no cheating with a lot of data already loaded in cache. It may also be helpful to understand the base requirements of an application. And for those of the other side listening in: there is a bug in one of the RHEL5 kernels that causes Linux in a loop when you use drop_caches in a very large server. Rob Sounds like this bug: https://bugzilla.redhat.com/show_bug.cgi?id=444961 Patch was committed to 2.6.25-mm1, so for anyone making heavy use of drop_caches, make sure to update to RHEL 5.3 (or the kernel at least). -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: ganglia, libconfuse RPMs?
Michael MacIsaac wrote: Hello list, Has anyone looked into ganglia as an open source monitoring tool? Is there an RPM for it? I am told that libconfuse is a co-req, so I guess that RPM would also be needed. Any help will be appreciated. Thanks. Mike MacIsaac mike...@us.ibm.com (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 Hey Mike, RPMs are available in Fedora: x86*/ppc*: http://koji.fedoraproject.org/koji/buildinfo?buildID=67445 http://koji.fedoraproject.org/koji/buildinfo?buildID=34126 s390x: http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=725 http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=1171 ganglia/libconfuse aren't available in RHEL unfortunately, but should be possible to rebuild the source RPMs in RHEL 5.3 (you'd have to chase down and rebuild some dependencies along with it though). -Brad -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Getting Gnome to behave
Mauro Souza wrote: Your problem isn't with Gnome... You are using twm as your default window manager... You can change it (as people already said) in your ${HOME}/.vnc/xstartup. Or you could start the service (service, not program) vncserver for the entire box. Connecting to it will bring you to a login screen, rather to your crude, barebone desktop... If I am not mistaken, you can change twm for gnome-wm in your xstartup file to bring up gnome. Mauro http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is both history, and a love letter from God. Just to second this, replacing twm with gnome-wm in ~/.vnc/xstartup will give you the Gnome window manager. To take it a step further, if you want the Gnome menus, panels and such (full Gnome desktop), replace with gnome-session . -Brad On Fri, Mar 13, 2009 at 9:15 AM, Romanowski, John (OFT) john.romanow...@oft.state.ny.us wrote: try changing twm to mwm in the xstartup file. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Raymond Higgs Sent: Thursday, March 12, 2009 8:55 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Getting Gnome to behave That's when the fun starts - every window that opens starts as a 'skeleton like grid' attached to the mouse pointer - wherever I left-click the real window is placed. This behavior is annoying and I can't figure out how to get it to behave as one would expect. Much Googling hasn't enlightened me either. Can anyone help me out here ?? Bern - VK2KAD Edit ${HOME}/.vnc/xstartup to change your window manager. Ray Higgs System z FCP Development Bld. 706, B24 2455 South Road Poughkeepsie, NY 12601 (845) 435-8666, T/L 295-8666 rayhi...@us.ibm.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 This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your 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 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux storage under Z/VM?
Hi, What exactly are you trying to configure? Are you installing for the first time, or setting up additional storage on a running guest? Here's a good starting point. It's a zLinux Redbook based on SLES 10 SP2 and z/VM 5.4: http://www.redbooks.ibm.com/abstracts/sg247493.html Feel free to reply with more details if you can't find what you're looking for. -Brad Philip Hitti wrote: Hi, How to configure DS8100 partially with zlinux Suse 10.2 under Z/vm Anyone can guide. Philip -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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
Introducing zPXE, now part of Cobbler
https://fedorahosted.org/pipermail/cobbler/2009-February/002876.html Hi all, Back in July we talked about Cobbler, a standalone install server (see thread Cobbler anyone?). I'm happy to announce Cobbler now has a PXE client for z/VM. Written in REXX, it replaces (or can be called from) your default PROFILE.EXEC, and simulates just about everything a traditional PXE client does, including: - Communicates with PXE server (Cobbler server) to see if this guest should be installed/reinstalled, or - Presents a menu of remote installation sources - Downloads kernel/initrd/parm and punches files to begin install/kickstart - IPLs a specified disk by default (or if logged on disconnected via XAUTOLOG) The really cool part is that this doesn't require a writeable 191 A disk (or any other disk space for that matter), so it can be mass-deployed on a shared read-only space (like LNXMAINT's 192 disk if you follow the Redbooks). For more info on Cobbler, check out: http://magazine.redhat.com/2007/08/10/cobbler-how-to-set-up-a-network-boot-server-in-10-minutes/ https://fedorahosted.org/cobbler/wiki/SssThreeNinety Many thanks to James Laska and Michael DeHaan for all their hard work and Cobbler skills and ideas. Comments and ideas welcome. -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Broken logical volume group
Bauer, Bobby (NIH/CIT) [E] wrote: Hey, this is getting to be fun. I've gotten into rescue mode as described in the manual Brad referenced below and was able to follow the script but it doesn't tell me how to finish. An 'lvm vgscan' found VolGroup00 The 'lvm vgchange -a y' found the 11 volumes and activated VolGroup00 I was able to mount all file systems under /mnt/sysimage/* Now what, the chapter ends? Now that everything's mounted, you can troubleshoot the original problem. If you're being dropped to a repair prompt on normal boot, here are some things to check: - verify all entries in /mnt/sysimage/etc/fstab, but specifically /usr entry. - check /etc/modprobe.conf, dasd= parameter. Especially if any disks have been added/removed/changed recently. - there could be an initrd problem (perhaps the lvm module isn't being loaded?) You can regenerate the initrd with chroot /mnt/sysimage; mkinitrd -v /boot/initrd...img kernel_version - if you make any changes to modprobe.conf or the initrd, chroot /mnt/sysimage, then run zipl. This is good to do anyway, just in case something is out of sync. - unmount /usr and run e2fsck /dev/volumegroup/usr_lv to check the filesystem. This is always a good thing to check, but in your case it's probably not the problem. If there was a filesystem problem, it wouldn't have mounted under rescue mode either. -Brad Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Brad Hinson Sent: Tuesday, February 17, 2009 5:49 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Broken logical volume group Mark Post wrote: On 2/17/2009 at 1:17 PM, Bauer, Bobby (NIH/CIT) [E] baue...@mail.nih.gov wrote: Looks like this is going to be ugly. We booted on of our servers and the logical volume was corrupted and I got dropped down to the Repair Filesystem prompt. One big problem is /usr is empty so none of the logical volume commands are availably. They're not in /sbin? Are you getting to the point that the root file system is mounted, or are you still in the initrd? I.e., is your root file system an LV, or not? If it's an LV, then you'll need to reboot from your installation kernel and initrd, or whatever other rescue system Red Hat provides. And then for all future builds, remember to not have / be an LV. Mark Post Hi Bobby, fyi, rescue mode is documented in the RHEL 5.2 Redbook, in section 13.4.2: http://www.redbooks.ibm.com/abstracts/sg247492.html Rescue mode has all commands necessary to bring the LVM online and fix it. There are pluses and minuses to / on LVM. Bit of a holy war at times.. one of the minuses cited is administration through rescue mode. It is, however, fully documented in the above link. -Brad -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Broken logical volume group
Mark Post wrote: On 2/17/2009 at 1:17 PM, Bauer, Bobby (NIH/CIT) [E] baue...@mail.nih.gov wrote: Looks like this is going to be ugly. We booted on of our servers and the logical volume was corrupted and I got dropped down to the Repair Filesystem prompt. One big problem is /usr is empty so none of the logical volume commands are availably. They're not in /sbin? Are you getting to the point that the root file system is mounted, or are you still in the initrd? I.e., is your root file system an LV, or not? If it's an LV, then you'll need to reboot from your installation kernel and initrd, or whatever other rescue system Red Hat provides. And then for all future builds, remember to not have / be an LV. Mark Post Hi Bobby, fyi, rescue mode is documented in the RHEL 5.2 Redbook, in section 13.4.2: http://www.redbooks.ibm.com/abstracts/sg247492.html Rescue mode has all commands necessary to bring the LVM online and fix it. There are pluses and minuses to / on LVM. Bit of a holy war at times.. one of the minuses cited is administration through rescue mode. It is, however, fully documented in the above link. -Brad -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: RHEL 5.2 Native LPAR install problem: Anaconda reports rpm 'corruption' error when attempting to install first package
rapp0...@googlemail.com wrote: Hi Jax! That was quick - I was anticipating a turn-around time of 24 hours or so! I believe that we did find this rpm directory on the DVD, (along with many others), but we were not able to rpm -V it because we do not have any linux (of any distro on any platform) at work. However, I have been given a Solaris Live CD (by the Solaris admins!),but I do not think Sun use rpm packaging method, so I do not think that this would help me. Can you use the Solaris Live CD to boot a system on the same network (possibly a laptop)? If so, one idea is to boot Solaris on the laptop, mount the DVD locally, then share that out via NFS/HTTP/FTP. Then you could perform a network install and point to this system. This assumes though, that you can eject the Solaris Live CD, or you have an external DVD drive though. If not, you can download a Fedora 10 LiveCD: http://fedoraproject.org/en/get-fedora You can boot with the command-line option live_ram. If you have roughly 1 GB RAM or more, this option loads everything into RAM so you can eject the DVD and reuse the drive. Then use that as the NFS/HTTP/FTP installation server. -Brad On my Fedora system at home, I do not have a DVD drive, so I cant rpm -V there. I will pass on your response to some mainframers within my team at work, and see if we can see a way forward. regards rapp01 On Tue, Feb 10, 2009 at 6:16 AM, Jack Woehr j...@well.com wrote: bruce woodley wrote: Package Installation Error The file system-config-services-0.9.4-1.e15.noarch.rpm cannot be opened. This is due to a missing file, a corrupt package, or a missing header Please verify your installation source.. etc. REBOOT RETRY One think you could check is whether or not the file system-config-services-0.9.4-1.e15.noarch.rpm is or is not present anywhere on the DVD. If it is not you can probably find it somewhere and compose yourself a new ISO with the missing file present. -- Jack J. Woehr# I run for public office from time to time. It's like http://www.well.com/~jax http://www.well.com/%7Ejax # working out at the gym, you sweat a lot, don't get http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Porting Cobol to Linux/390
Micro Focus has ported and certified COBOL on RHEL 5.2: https://www.redhat.com/apps/isv_catalog/VendorProfile.html?cat=isvvendor_id=1122 http://www.microfocus.com/ -Brad Thompson, Michael E wrote: I have been charged with investigating something that my management has heard in regards to porting Cobol code to Linux-390. He has heard that there have been companies that have done this. Has anyone done this? Is Cobol available on Linux-390? Was it a true port or a conversion to another language? Was there a product involved in the porting process or was it a manual process? What were your experiences as you proceeded through the porting process? I do not know if we will pursue this but we would like to know if it is possible. Thanks, Mike This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. -- 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 -- Brad Hinson bhin...@redhat.com Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Layer 2
Here's a document on installing using layer2 on RHEL: http://kbase.redhat.com/faq/docs/DOC-10539 For an installed guest, change /etc/sysconfig/network-scripts/ifcfg-eth0: remove the line: ARP=no add the line: OPTIONS=layer2=1 And as Marcy noted, if using VSWITCH, make sure it's defined with the 'ethernet' or 'eth' keyword in VM. -Brad Ayer, Paul W wrote: Good morning all, Does anyone have a link to some good doc on setting up layer 2 interfaces on zlinux? Some pointers would be great. Thanks, Paul -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: CMMA Support for Redhat
Hi, CMM-2/CMMA is currently unavailable in RHEL. Waiting for acceptance into upstream kernel, which will hopefully be soon. Once accepted, it can be integrated into Fedora, and backported to RHEL. -Brad Schaffer, Dennis wrote: Hi, I understand that RHEL5 provides support for basic CMM-1 (involving the z/VM VMRMSVM service). Does anyone know if Redhat provides support for CMMA (also known at CMM-2, utilizing new hardware instructions)? If so, what software/fixes/etc. are required? Thanks, Dennis Schaffer -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: NFS Lockd daemon consuming large amounts of CPU
I've seen strange CPU spikes related to the huge number of devices visible in LPAR mode. You may want to test booting with the cio_ignore= parameter, to limit to only the devices you need. For more info, see: http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/docu/l26cdd04.pdf (p. 404, PDF p. 431) Shot in the dark, but could help. -Brad Ron Foster at Baldor-IS wrote: Hello all, I have an NFS server that is serving up files to all of our Linux systems running under z/VM. This is about 40 systems in all. This system was upgraded to SLES10 Service Pack 2 last weekend. All has been going well this week until this morning. Our FDR/Upstream backup of this system did not complete last night. This NFS server runs in it's own LPAR. When I looked at top, it appeared that between the backup program and a process called lockd, all CPU was consumed. I killed the FDR/Upstream backup. It still appears that large amounts of CPU time are still being used by lockd according to top. When I do a ps -ef, I see root 3404 1 54 Nov09 ?2-07:40:02 [lockd] Top says the cpu consumption as: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 3404 root 16 0 000 R 98 0.0 3340:55 lockd When I go into Performance Toolkit and look at LPAR data I see. Partition Nr. Upid #Proc Weight Wait-C Cap %Load CPU %Busy %Ovhd %Susp %VMld %Logld Type BUSNFS 312 2100 NO NO ... 0 57.6.6 ... ...... IFL 100 NO 1 57.1.5 ... ...... IFL So I am pretty sure there is a cpu consumption with this nfs server and lockd in particular. Has anyone else run into a problem like this? Ron Foster Baldor -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: FW: [LINUX-390] Change the Linux from VSWITCH to DEDICATEd OSA
With z10's new 2 ports per chpid, perhaps you have to manually set /sys/bus/ccwgroup/drivers/qeth/.../portno (?) Marcy Cortes wrote: -OK, I went and tried it with the sles10 sp2 rescue system image from the DVD to make sure it wasn't my guest. Same problem. I then went and tried the sles10 SP2 rescue system image from a z9 with z/VM 5.3 That worked. So, I'm sure the HW is fine (it runs the vswitch - why couldn't it run it dedicated, right?) So, it's likely z/VM 5.4, or perhaps the z10 - but I find that hard to believe since the OSA does function on vswitch. I guess I'll open a PMR. Marcy Yep, same chpid. This is on a z10, z/VM 5.4, sles 10 sp2. Maybe I should go try in on a z9, z/VM 5.3 and sles9 sp4 just for grins since it sounds like it ought to work! Marcy This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -Original Message- From: Linux on 390 Port [EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, October 07, 2008 3:56 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Change the Linux from VSWITCH to DEDICATEd OSA addresses On 10/7/2008 at 6:46 PM, in message Marcy Cortes [EMAIL PROTECTED] wrote: But that's got to be a big lie :) --- it is working if it is on a vswitch. Just not with dedicates. The cables are happy. The ports are happy. The physical switch is happy. Are you sure what is/was being used for the VSWITCH is on the same CHPID as the new device you're trying to use? Each card has two possible cable connections (4 with the new z10s). Mark Post -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: LVM checksum error (was Re: Question)
fyi, posting resolution in case others run into LVM checksum errors.. Turns out this is related to two kickstart options: 'clearpart --all' and 'zerombr yes'. The clearpart didn't have '--all --initlabel', so the LVM had some metadata left over from a previous LVM, which led to a checksum error. Used vgcfgrestore to clean this up, which restores the checksum on the physical volume to a known good value. -Brad Martin, Terry R. (CMS/CTR) (CTR) wrote: Hi Over the last month or so we have had CHECK SUM ERRORS on 3 of our z/Linux hosts. This error stops the Linux host from coming back up after a re-boot or log off. After working with REDHAT they found that there was 2 bit over lay of what amounts to the VTOC which points to the UUIDs. Each time this has happened it has been the same over lay. The common thing on these hosts are that they all run Oracle 10g, REDHAT REL4, and FDR/UPSTREAM. When this happens we must boot in RESCUE mode and re-build the UUIDs (not sure of this process by Linux guy does this). I was just wondering if anyone has seen this type of issue. This is our POC but if this does not get resolved we will be hard pressed to move forward. I have also posted this on the z/VM List Serve. 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Where did ext2online go?
Mark Post wrote: On 9/26/2008 at 3:56 PM, in message [EMAIL PROTECTED], Brad Hinson [EMAIL PROTECTED] wrote: -snip- Yep, resize2fs is the replacement for ext2online, and it works with both offline and mounted ext2/ext3 file systems. Do the file systems have to have been created after a certain maintenance level to be assured of that? That was the case with SLES. Only file systems created after SP2 were really supported. Mark Post I initially thought there might be a hard line between file systems created in RHEL 4 vs. 5, but I did a quick test. With the magic of z/VM LINK, I created a file system in RHEL 4 and extended it on RHEL 5 without a hitch. Of course that's my quick 'n dirty test matrix :) -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Where did ext2online go?
Scott Rohling wrote: I just told a customer on RHEL5.2 they could use ext2online to resize an ext3 filesystem without unmounting it -- well - seems it disappeared? Googling says it has been rolled into resize2fs -- but my customer indicates it didn't work unless they unmounted the filesystem first (I don't have the error msg.. sorry). So - does anyone know if resize2fs should work with a mounted filesystem? And is it truly the replacement for ext2online? Thanks!! Scott Rohling -- 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 Hi Scott, Yep, resize2fs is the replacement for ext2online, and it works with both offline and mounted ext2/ext3 file systems. -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Linux reiserfs mounting issue - system hangs
Mark Post wrote: On 9/25/2008 at 8:46 AM, in message [EMAIL PROTECTED], Mary Elwood [EMAIL PROTECTED] wrote: -snip- I invoked YAST and I performed a dasdfmt on disk /dev/dasdh and I created a partition /dev/dasdh1. FDASD failed for unknown reason was return from YAST. I assumed it was because it was not an ECKD device. For some reason I think I don*t need to format FBA/SCSI.. Both the dasdfmt and fdasd are unnecessary on an FBA device. When the device is detected, the kernel automatically creates the single partition Sometimes when I have problems with an FBA device (especially edev), and I want to wipe it clean, I zero out the beginning of the LUN and fdisk it, like so: # dd if=/dev/zero of=/dev/dasdh bs=1M count=1 # fdisk /dev/dasdh (n for new partition, p for primary, w to save and quit) # mkfs... /dev/dasdh1 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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
JBoss certification
Hi, I'm pleased to announce that JBoss is now officially certified on System z: http://www.press.redhat.com/2008/08/27/jboss-enterprise-application-platform-expands-certified-configurations-adds-more-mainframe-java-se-6-support/ For specific version info, see: http://www.jboss.com/products/platforms/application/testedconfigurations Thanks, -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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
Draft redbook: z/VM and Linux on IBM System z: The Virtualization Cookbook for RHEL 5.2
I'm pleased to announce that a draft of the RHEL 5.2 cookbook is now available at: http://www.redbooks.ibm.com/redpieces/abstracts/sg247492.html Some highlighted changes from the RHEL 5.0 book: - z/VM updated from v5.2 to 5.4 - Moved away from dual boot approach, in favor of separate master image - LVM now used for system OS partitions - Completely rewritten clone script, with support for LVM Special thanks to Mike MacIsaac and Lydia Parziale, as well as Roy Costa and Marian Gasparovic for all of their hard work on these cookbooks. Comments welcome. -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Differece in RED Hat and Suse
John Summerfield wrote: Mark Post wrote: like YaST, and wish Red Hat had a similar one place to go to for administration functions. I've been arguing that one for years, before I'd even encountered YAST. Brad? I reckon that some of the RH admin tools are there just so RH can mark checkboxes, Got that. (treading carefully as to not spark YaST a holy war..) Red Hat evaluated YaST long ago when it was proprietary, but by the time it was open sourced, we had written Anaconda and decided to fully focus on it. Since then, we've considered some all-in-one tools like system-config-control: http://www.indianoss.org/modules/wfdownloads/viewcat.php?cid=10 which is a front-end to the system-config-* GUIs, but this hasn't made it to RHEL. I haven't used YaST much recently, but it seems like a good tool. But we don't want to just add a YaST clone to RHEL (YaYaST?) :) Instead, we're focusing on our current system-config tools, like system-config-network for example, which got a huge z/Linux update for RHEL 5.2. -Brad -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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
OpenSSH vulnerability alert (with detection script)
Please see http://www.redhat.com/security/data/openssh-blacklist.html Note: This applies to any systems downloading packages/updates from *non* Red Hat sources. If you receive your updates from Red Hat Network, this does not apply. Thanks, -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: IPL parms
Does zipl display a boot menu? If so, you'll need to pass root= to zipl, not IPL. For example, at a prompt like this: 00: zIPL v1.5.3 interactive boot menu 00: 00: 0. default (linux) 00: 00: 1. linux 00: 00: Note: VM users please use '#cp vi vmsg input' 00: 00: Please choose (default will boot in 15 seconds): You'll want to enter: #cp vi vmsg 0 %root=/dev/dasdd1 This adds root=/dev/dasdd1 to the Linux kernel parameters. Note: The % is an escape character to '#cp vi vmsg' which sets input to lowercase. Otherwise root= is sent as ROOT=, which Linux doesn't like very much. -Brad Walters, Gene P wrote: HCPCLT1013E An invalid operand was supplied for LOADPARM - ROOT=/DEV/DASDA1 -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Frazier Sent: Friday, August 22, 2008 1:01 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: IPL parms Did you try - IPL 1490 LOADPARM root=/dev/dasd1 ? What happened? Walters, Gene P wrote: May I should have phrased my question better, I'm losing my mind. Is there a way to pass a Linux boot parm, when typing IPL from VM, such as IPL 1490 root=/dev/dasda1 -- Stephen Frazier Information Technology Unit Oklahoma Department of Corrections 3400 Martin Luther King Oklahoma City, Ok, 73111-4298 Tel.: (405) 425-2549 Fax: (405) 425-2554 Pager: (405) 690-1828 email: stevef%doc.state.ok.us -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: IPL parms
Mark Post wrote: On 8/22/2008 at 1:29 PM, in message [EMAIL PROTECTED], Brad Hinson [EMAIL PROTECTED] wrote: -snip- Note: The % is an escape character to '#cp vi vmsg' which sets input to lowercase. Otherwise root= is sent as ROOT=, which Linux doesn't like very much. Hmm. Not on my SLES10 SP1 system. Something in the interface lower-cases the input for me. I don't know if this is a mod we made to zipl (I doubt it), or we're running a newer version of s390-tools than you. s390-tools-1.6.0-1.20 Mark Post Interesting.. I grabbed that from the device drivers reference (maybe old link): download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/docu/l390dd03.pdf (p. 27, pdf p. 39) It mentions: To resolve this problem, the hardware console uses an escape character (%) under VM to distinguish between upper and lower case characters. This behavior and the escape character (%) are adjustable at build-time by editing the driver sources, or at run time by use of the ioctl interface. So maybe this default changes by z/VM level (?) I ran my test on z/VM 5.2 (service level 0602). -Brad -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: z/VM CP commands (LOGON)?
One other thing you may find useful: If you boot with the kernel parameter vmhalt=LOGOFF (added to /etc/zipl.conf), the guest will logoff after halt. -Brad Tom Burkholder wrote: Thanks to all! XAUTOLOG it is and an IPL xxx added to the profile. It's already been tested and works. I'll also look at the SET OBSERVER too from the latest email tip. Thanks again, Tom B. From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Gary Detro Sent: Thursday, August 21, 2008 3:24 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: z/VM CP commands (LOGON)? To solve your problem you need to review the CP XAUTOLOG command and place the IPL xxx in the profile exec for your linux guest. Thanks, Detro Senior IT Specialist 1177 S. Beltline Rd, Coppell, TX 75019 Internal Mail Stop: 71-01-3001O Phone: 469-549-8174 (t/l603) Fax: 469-549-8149 (t/l 603) [EMAIL PROTECTED] Global Solution Centerhttp://w3.ibm.com/support/stss/gesc.html (GSC) [cid:image001.jpg@01C903A2.D5ADC410]http://www.ibm.com/ondemand [cid:image002.jpg@01C903A2.D5ADC410] From: Tom Burkholder [EMAIL PROTECTED] To: LINUX-390@VM.MARIST.EDU Date: 08/21/08 02:14 PM Subject: z/VM CP commands (LOGON)? z/VM'ers, After a few searches and actually scanning the CP commands and utilities manual, hopefully I can get some help with this z/VM related question. If I have a z/linux guest called ztrash01, I can logon to z/VM as ztrash01, IPL xxx, logon to Linux and shutdown -h now, and if I'm still logged on as console from my 3270 terminal session, enter logoff. No problem. The why I want to do the following is to potentially stress test some applications by forcing off a z/Linux guest (crash) and then eventually trying to automate and re-IPL, but first I gotta be able to do some basic z/VM CP commands below. I read the LOGON in the CP commands and Utilities reference, but I'm doing something wrong (other than trying to trash and stress test my guest). I'm still playing with test systems, but from a z/VM CP perspective, for now the Linux guest ztrash01 is shutdown and halted, but ztrash01 is still logged onto z/VM. 1. If I'm logged on as operator to z/VM, I can issue CP command q n and see that guest ztrash01 is logged onto z/VM and DSC (disconnected). 2. Still as operator, I can issued CP command force ztrash01 logoff immed and this logs the guest, ztrash01, off of z/VM (FORCED BY OPERATOR) 3. Still as operator, a q n verifies that the guest is gone (i.e. logged off z/VM) 4. Now, as operator, instead of going to another z/VM terminal session and logging on as ztrash01, still as operator, I would like to cause the guest ztrash01 to logon (and eventually IPL). To cause the IPL of guest ztrash01 at LOGON, I believe I can put that in the PROFILE EXEC (e.g. IPL xxx) at the end, but how (if at all) can I cause the guest to be logged on (opposite of FORCE) while being logged on to z/VM as operator? Thanks in advance, Tom B. -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: VNC problem
Hi, VNC 4.1.2 should work. Here are a few things to verify: 1. Verify the server is listening on port 5901. From the server, run: # netstat -pan | grep vnc | grep 5901 You should get a result like: tcp 00 0.0.0.0:5901 0.0.0.0:* LISTEN 7123/Xvnc If you see this, the server is up and running. If not, check that the appropriate service/daemon is started and the initial configurations have been done. This varies slightly by distribution, but for a general idea see: http://kbase.redhat.com/faq/FAQ_79_3976.shtm 2. Next, verify the client can reach port 5901 remotely. There are various port scanning applications, but the simplest way is just to use telnet. From the client, run: == telnet servername 5901 (..replacing servername with the VNC server). If it connects, you'll see something like: Trying xx.xx.xx.xx... Connected to server.example.com (xx.xx.xx.xx). Escape character is '^]'. (escape with ctrl+], then 'quit' to exit) If the client fails to connect, then usually the issue is a firewall between the server and client that doesn't allow traffic to port 5901. Check with the network folks, and also check to see if the local firewall is running on the VNC server or client. 3.) And if all else fails, there's one more little gotcha.. on the client, make sure you attempt to connect to server.example.com:1 (emphasis on the colon+1). This tells the RealVNC client to try port 5901. -Brad Stahr, Lea wrote: I have a new SuSE 10 SP1 guest. I have started the VNCSERVER on Linux. I cannot connect to it, the connections timeout from W2000 viewers. I am using VNC 4.1.2. I have looked at the RealVNC site and cannot find the problem. I do not know what is supplied with Linux. Should I try the newer 4.4 viewer? Lea Stahr zVM, Linux and zLinux Administrator Navistar, Inc. 630-753-5445 [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This e-mail, and any attachments and/or documents linked to this email, are intended for the addressee and may contain information that is privileged, confidential, proprietary, or otherwise protected by law. Any dissemination, distribution, or copying is prohibited. This notice serves as a confidentiality marking for the purpose of any confidentiality or nondisclosure agreement. If you have received this communication in error, please contact the original sender. -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: RHEL 4.7 now available
Mark Post wrote: On Fri, Jul 25, 2008 at 8:42 AM, in message [EMAIL PROTECTED], Chase, John [EMAIL PROTECTED] wrote: -snip- Seems unusual for a _release_ upgrade to be announced for a prior version (relatively) long after a newer _version_ has been generally available (how long has RHEL 5.x been out?). Not at all. Novell still has customers installing new systems with SLES9, so release notes from SP4 (and the future SP5) would be of interest to them. I imagine Red Hat has the same situation. Mark Post We do. Many times there are significant factors keeping folks on older releases. -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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
RHEL 4.7 now available
Copy/paste from announcement today. Summary of System z relevant changes below: -- Red Hat is pleased to announce the availability of 4.7 (kernel-2.6.9-78.EL) for the Red Hat Enterprise Linux 4 family of products. This release includes the following improvements: * Encryption and Security Enhancements - shadow-utils, authconfig, pam, anaconda, and libuser now support generation of SHA-256 and SHA-512 hashes in order to meet government requirements - Added the aide (Advanced Intrusion Detection Environment) package to allow file system integrity testing * Tuning and Debugging: systemtap - Production support - New support for unprivileged users - Includes reference manuals - Post-crash trace data recovery (Note: avoid overbroad probe wildcards) - User-space probing will not be available in RHEL4 * Networking and IPv6 Enablement [snip] - Improved reliability of autofs * Storage Improvements [snip] - Added ability to vgsplit an active Volume Group where the split involves only inactive LVs - Enhanced partition statistics * Platform Enhancements - Extended floating point exception handler - Updated zfcp driver to include bugfixes - Updated qdio driver to fix FCP/SCSI write IO stagnates on LPAR - Updated cio driver to include bugfixes * Kernel Improvements - General Features [snip] + Updated NMI infrastructure to latest (2.6.25) + Added Task IO accounting + Added partition statistics to 'iostat' command + Added IO task accounting to getrusage() call + Added enumeration of pagecache pages in show_mem()'s output + Removed Tux's O_ATOMICLOOKUP flag from open() system call + Exported process limits through /proc/pid/limits + Added TCP_RTO_MIN + Implemented udp_poll() to reduce likelihood of false positive return from select() + Added nfs.enable_ino64 boot command line parameter to enable/disable 32-bit inode numbers + Added /proc/sys/vm/nfs-writeback-lowmem-only to fix NFS read performance regression + Added /proc/sys/vm/write-mapped tunable parameter to help select faster NFS read performance + Updated CIFS to 1.50c + Added core dump masking support + autofs5 now supported Accessing the Software -- Red Hat Enterprise Linux 4.7 is available to existing Red Hat Enterprise Linux subscribers via RHN. The channels will automatically appear in your account. Installable binary and source ISO images are available via Red Hat Network at: https://rhn.redhat.com/network/software/download_isos_full.pxt You will be required to log in using a valid RHN account with active entitlements. Red Hat Enterprise Linux 4.7 errata are available at: https://rhn.redhat.com/ Red Hat Enterprise Linux 4 Release Notes are available at: http://www.redhat.com/docs/manuals/enterprise/ Enjoy the Red Hat Enterprise Linux 4.7 release. Sincerely, The Red Hat Enterprise Linux Team -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: z/Linux cloning
Check out the Virtualization Cookbooks on linuxvm.org/present: RHEL: http://www.linuxvm.org/present/misc/virt-cookbook-RH5.pdf SLES: http://www.linuxvm.org/present/misc/virt-cookbook-S10.pdf Cloning is done from Linux (using flashcopy and/or ddr through the vmcp module/command). These use a 'dual boot' approach to clone a golden image to a new user ID. All of the clone config is kept on CMS disk. For a slightly different approach, see the RHEL 4 Cookbook at: http://www.redbooks.ibm.com/abstracts/sg247272.html This does cloning from Linux as well, but moves away from the 'dual boot' approach. From one ID, you can arbitrarily clone a second ID to a third. Also, the configs are kept in Linux instead of CMS. -Brad On Fri, 2008-07-18 at 11:36 -0400, Quay, Jonathan (IHG) wrote: What's the current best practices cloning solution for z/Linux under z/VM? We've used the one found in Running z/VM to Host Linux - Installation and Customization class documentation (the CLONER and CLONEDDR virtual machines). Is there one that's newer, better or better supported? We have multiple CECs, z/Linux lpars, and both Suse and Redhat, if that makes a difference. We don't anticipate creating hundreds of clones, maybe 20 or so in the first wave. -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Boot partition mirror-raid possible?
Robin Atwood wrote: On Wednesday 16 Jul 2008, Rob van der Heij wrote: On Wed, Jul 16, 2008 at 12:32 PM, Robin Atwood [EMAIL PROTECTED] wrote: I think the problem is that my target device is /dev/md1 which is not a real disk, it's a pseudo-device manufactured by the mdadm command from two real partitions. That sure is a problem. But since you don't write to the boot partition a lot, could you not just maintain the two identical copies yourself? That's what I am beginning to think. :( I was hoping someone on the list has tried this and has a definitive answer. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 fwiw, grub has been patched to work with RAID. A quick grep of the (Red Hat) RPM changelog shows: - add dmraid support ( [snip] - Always install in MBR for raid1 /boot/ [snip] - reworked much of how the RAID1 support in grub-install works. Not sure how hard it would be to implement this in zipl. -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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: Cobbler anyone?
David Boyes wrote: Anyone heard of cobbler? (no, not the shoe repairman nor the deep-dish fruit dessert with a thick top crust :)) This one: http://cobbler.et.redhat.com/ Several of our university clients use it for Intel lab machines. Depends very heavily on DHCP and PXE, but it's pretty slick when you've got it set up and working. Having PXE support for s390 would be pretty slick, esp if the boot PROM image could be loaded from a NSS. I'm new to cobbler, but over the last few weeks I've been working with the cobbler community to get it working on s390. Eventually cobbler will be integrated into Satellite, as well as the recently announced Spacewalk, the open source Satellite: http://www.redhat.com/spacewalk/ Cobbler has a lot of promise on s390. The immediate goal is to get reprovisioning working, and the ultimate goal is to get bare metal provisioning via PXE working. The current thought is to write a *very* simplified PXE client as a REXX exec run at startup. It presents you with a menu, then based on your choice, uses the z/VM FTP client to download the correct kernel/initrd from the (cobbler) server. It's still in the development stages, so feel free to hit me with ideas and feedback (good or bad of course). Also, a couple of links: Mailing list: https://fedorahosted.org/mailman/listinfo/cobbler IRC: irc.freenode.net, #cobbler -Brad -- 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 -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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
New automated form for Red Hat evaluation downloads
From https://www.redhat.com/apps/download/ (redhat.com -- download link at top), there's now a link for a free 180-day evaluation of RHEL on z. The best part is that the form is automated, so you'll get access to the download immediately instead of waiting for someone to get back to you. -Brad -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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
Provisioning now supported through RHN Satellite Server
The following packages were released on RHN last week: https://rhn.redhat.com/network/software/channels/packages.pxt?cid=7948 rhn-kickstart-2.0.10-15.el5.noarch rhn-kickstart-common-2.0.10-15.el5.noarch These allow provisioning of VM guests (or LPARs) via kickstart through the Satellite WebUI. For more Satellite on z info, check out the SHARE presentation at: http://www.linuxvm.org/present/SHARE110/S9290bh.pdf -- Brad Hinson [EMAIL PROTECTED] Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z -- 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