Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Kris Buelens
If RACFSMF failed, then you can indeed have data on 301 and 302.  When the
active SMF disk gets full, RACF will not be able to switch and SMF recording
stops.
So, we created REXX code for our system automation to check for this
situation.

You could try a simple XAUTOLOG RACFSMF and see if that cleans the
situation.  Otherwise: from any user with RACF permission to LINK to RACFVM
301 or 302, you can issue
   CP LINK RACFVM 30x  M
   ACCESS  Z
  and do what you like, such as ERASE...
q
Q1. Why do some many VM users continuously log ON and OFF do switch userids,
where a simple LINK from their own user could be enough?
Q2 And, when a LOGON is required (or the best after all) why don't they use
LOGON BY, but try they to remember the passwords of all these service
machines?

Since I'm back in the field for many customers I have to explain this over
and over again.  Even without RACF, there is a LOGON BY capability.
/q

2010/3/10 Alan Altmark alan_altm...@us.ibm.com

 On Wednesday, 03/10/2010 at 12:11 EST, Martin, Terry R. (CMS/CTR) (CTR)
 terry.mar...@cms.hhs.gov wrote:

  I want to ERASE the SMF DATA file from the ALTERNATE disk(302 in my
 case). How
  can I do this without logging on to the RACFVM Server. Can I do this
 from the
  RACFSMF machine?

 RACFSMF already does that after it archives the file to the 192 disk.
 RACFSMF is designed to be autologged at the same time every day (e.g.
 midnight).  Its behavior is governed by the settings in the PROFILE EXEC
 (SMFPROF EXEC).

 But, in general, an SMSG RACFVM SMF SWITCH causes RACF to close the active
 SMF log and detach the disk it is on.  You have to look at the SMF CONTROL
 file on RACFVM's 191 in order to know which disk is CURRENT so you know
 which disk to go after.

 Alan Altmark
 z/VM Development
 IBM Endicott




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Martin, Terry R. (CMS/CTR) (CTR)
Thanks Kris this is what I was looking for. I am setting this all up and
did have some problems with RACFSMF which gave me data on both 301 and
302 because of a SWITCH. So I wanted to clear the alternate one to test
out my changes to RACFSMF. I certainly LINK to other users all of the
time but was not sure about if I would hurt anything by LINKING to the
302 disk in write mode and erasing from another user that was the real
question/worry. 

 

Thank You,

 

Terry Martin

Lockheed Martin - Citic

z/OS and z/VM Performance Tuning and Operating Systems Support

Office - 443 348-2102

Cell - 443 632-4191

 

From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Kris Buelens
Sent: Wednesday, March 10, 2010 2:56 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: ERASE SMF DATA on ALTERNATE DISK

 

If RACFSMF failed, then you can indeed have data on 301 and 302.  When
the active SMF disk gets full, RACF will not be able to switch and SMF
recording stops.
So, we created REXX code for our system automation to check for this
situation.

You could try a simple XAUTOLOG RACFSMF and see if that cleans the
situation.  Otherwise: from any user with RACF permission to LINK to
RACFVM 301 or 302, you can issue
   CP LINK RACFVM 30x  M
   ACCESS  Z
  and do what you like, such as ERASE...
q
Q1. Why do some many VM users continuously log ON and OFF do switch
userids, where a simple LINK from their own user could be enough?
Q2 And, when a LOGON is required (or the best after all) why don't they
use LOGON BY, but try they to remember the passwords of all these
service machines?

Since I'm back in the field for many customers I have to explain this
over and over again.  Even without RACF, there is a LOGON BY capability.
/q

2010/3/10 Alan Altmark alan_altm...@us.ibm.com

On Wednesday, 03/10/2010 at 12:11 EST, Martin, Terry R. (CMS/CTR)
(CTR)

terry.mar...@cms.hhs.gov wrote:

 I want to ERASE the SMF DATA file from the ALTERNATE disk(302 in my
case). How
 can I do this without logging on to the RACFVM Server. Can I do this
from the
 RACFSMF machine?

RACFSMF already does that after it archives the file to the 192 disk.
RACFSMF is designed to be autologged at the same time every day (e.g.
midnight).  Its behavior is governed by the settings in the PROFILE EXEC
(SMFPROF EXEC).

But, in general, an SMSG RACFVM SMF SWITCH causes RACF to close the
active
SMF log and detach the disk it is on.  You have to look at the SMF
CONTROL
file on RACFVM's 191 in order to know which disk is CURRENT so you know
which disk to go after.

Alan Altmark
z/VM Development
IBM Endicott




-- 
Kris Buelens,
IBM Belgium, VM customer support



Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Bruce Hayden
q
Q3.  Why don't more people use VMLINK?
/q
VMLINK RACFVM 30x (WRITE
one command, no searching for a free filemode, etc.
Or even better:
VMLINK RACFVM 30x (WRITE FILELIST
Make any changes to the disk while in FILELIST, and the disk is
detached when you press PF3.

On Wed, Mar 10, 2010 at 2:56 AM, Kris Buelens kris.buel...@gmail.com wrote:
 If RACFSMF failed, then you can indeed have data on 301 and 302.  When the
 active SMF disk gets full, RACF will not be able to switch and SMF recording
 stops.
 So, we created REXX code for our system automation to check for this
 situation.

 You could try a simple XAUTOLOG RACFSMF and see if that cleans the
 situation.  Otherwise: from any user with RACF permission to LINK to RACFVM
 301 or 302, you can issue
    CP LINK RACFVM 30x  M
    ACCESS  Z
   and do what you like, such as ERASE...
 q
 Q1. Why do some many VM users continuously log ON and OFF do switch userids,
 where a simple LINK from their own user could be enough?
 Q2 And, when a LOGON is required (or the best after all) why don't they use
 LOGON BY, but try they to remember the passwords of all these service
 machines?

 Since I'm back in the field for many customers I have to explain this over
 and over again.  Even without RACF, there is a LOGON BY capability.
 /q



 --
 Kris Buelens,
 IBM Belgium, VM customer support




-- 
Bruce Hayden
z/VM and Linux on System z ATS
IBM, Endicott, NY


Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Rich Smrcina

aSometimes it's difficult to remember all these new fangled tools...  :)
/a

I know VMLINK is there, but find myself consistently using LINK and 
ACCESS because that's what I learned when I was a wee lad in the VM world.


On 03/10/2010 06:38 AM, Bruce Hayden wrote:

q
Q3.  Why don't more people use VMLINK?
/q
VMLINK RACFVM 30x (WRITE
one command, no searching for a free filemode, etc.
Or even better:
VMLINK RACFVM 30x (WRITE FILELIST
Make any changes to the disk while in FILELIST, and the disk is
detached when you press PF3.

   


--
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2010 - Apr 9-13, 2010 Covington, KY


Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Rich Smrcina

On 03/10/2010 08:12 AM, Scott Rohling wrote:


Somewhat related -- you can do an ACCESS (ERASE to wipe the disk clean 
without doing file deletes.


Scott


Now that's just dark twisted magic.

--
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2010 - Apr 9-13, 2010 Covington, KY


Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Kris Buelens
ACCESS (ERASE
Yes, I know that too, but, unless you write something to it afterwards, the
files simply come back with the next ACCESS.
So, no solution for RACFVM 30x

For Q3: you got me,   I was lazy and didn't want to look up how to
request a write LINK
Yes, I have my own LNK, started before VMLINK came out, and its syntax is
much closer to LINK, so I don't use VMLINK often.
   LNK userid vdev!191 vdev2!* mode!RR pswd accessmode!* (options
Most important options: FILELIST and DETACH, and special shorties like FD
stans for FILELIST DETACH and MFD makes a MR link plus FILELIST DETACH
So, a quick peek to eg VMUTIL 191 is   LNK VMUTIL (FD
and for the SMF issue:: LNK RACFVM 301 (MFD
LNK is included with some of the tools I placed on the download lib (at
least in PRFRUN).

2010/3/10 Rich Smrcina r...@velocitysoftware.com

 On 03/10/2010 08:12 AM, Scott Rohling wrote:


 Somewhat related -- you can do an ACCESS (ERASE to wipe the disk clean
 without doing file deletes.

 Scott

  Now that's just dark twisted magic.


 --
 Rich Smrcina
 Phone: 414-491-6001
 http://www.linkedin.com/in/richsmrcina

 Catch the WAVV! http://www.wavv.org
 WAVV 2010 - Apr 9-13, 2010 Covington, KY




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Alan Altmark
On Wednesday, 03/10/2010 at 09:35 EST, Rich Smrcina 
r...@velocitysoftware.com wrote:
 On 03/10/2010 08:12 AM, Scott Rohling wrote:
 
  Somewhat related -- you can do an ACCESS (ERASE to wipe the disk clean
  without doing file deletes.
 
  Scott
 
 Now that's just dark twisted magic.

But it's only sticky if you subsequently modify the disk.  If you detach 
it or re-ACCESS it without the ERASE option, the files will all come back.

Alan Altmark
z/VM Development
IBM Endicott


Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-10 Thread Rich Smrcina

On 03/10/2010 10:34 AM, Alan Altmark wrote:


But it's only sticky if you subsequently modify the disk.  If you detach
it or re-ACCESS it without the ERASE option, the files will all come back.

Alan Altmark
z/VM Development
IBM Endicott
   


Erase with undo.

--
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2010 - Apr 9-13, 2010 Covington, KY


ERASE SMF DATA on ALTERNATE DISK

2010-03-09 Thread Martin, Terry R. (CMS/CTR) (CTR)
  

Hi

 

I want to ERASE the SMF DATA file from the ALTERNATE disk(302 in my
case). How can I do this without logging on to the RACFVM Server. Can I
do this from the RACFSMF machine?

 

 

 

Thank You,

 

Terry Martin

Lockheed Martin - Citic

z/OS and z/VM Performance Tuning and Operating Systems Support

Office - 443 348-2102

Cell - 443 632-4191

 



Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-09 Thread Thomas Kern
Does RACFSMF respond to commands sent vis SMSG the way RSCS or SMTP do?
Does it have a CP or CMS command? Preferably both.

/Tom Kern

Martin, Terry R. (CMS/CTR) (CTR) wrote:
 Hi
 
 I want to ERASE the SMF DATA file from the ALTERNATE disk(302 in my
 case). How can I do this without logging on to the RACFVM Server. Can I
 do this from the RACFSMF machine?
 
 /Thank You,/
 
 / /
 /Terry Martin/
 /Lockheed Martin - Citic/
 /z/OS and z/VM Performance Tuning and Operating Systems Support/
 /Office - 443 348-2102/
 /Cell - 443 632-4191/


Re: ERASE SMF DATA on ALTERNATE DISK

2010-03-09 Thread Alan Altmark
On Wednesday, 03/10/2010 at 12:11 EST, Martin, Terry R. (CMS/CTR) (CTR) 
terry.mar...@cms.hhs.gov wrote:

 I want to ERASE the SMF DATA file from the ALTERNATE disk(302 in my 
case). How 
 can I do this without logging on to the RACFVM Server. Can I do this 
from the 
 RACFSMF machine?

RACFSMF already does that after it archives the file to the 192 disk. 
RACFSMF is designed to be autologged at the same time every day (e.g. 
midnight).  Its behavior is governed by the settings in the PROFILE EXEC 
(SMFPROF EXEC).

But, in general, an SMSG RACFVM SMF SWITCH causes RACF to close the active 
SMF log and detach the disk it is on.  You have to look at the SMF CONTROL 
file on RACFVM's 191 in order to know which disk is CURRENT so you know 
which disk to go after. 

Alan Altmark
z/VM Development
IBM Endicott