Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zowe-install shell allocates runtime libs under temporary volumes (lost after 3days) #1438

Open
pavelzlatnik opened this issue Jun 16, 2020 · 1 comment

Comments

@pavelzlatnik
Copy link
Contributor

pavelzlatnik commented Jun 16, 2020

Describe the bug
When launching zowe-install.sh script to allocate runtime datasets, there is missing option to specify under which volume or storage class should be those datasets allocated. Because of that, datasets are allocated under temporary volume and got lost after 3 days.
ZFS runtime dataset we are allocating by us, so we have support for both, non-sms (volume) or sms (storage class). AUTH and SAMP are allocated by shell script, and it accept neither of them (and that is the reason why system allocate it under temporary volume).

To Reproduce
Steps to reproduce the behavior:
run zowe-install.sh for example under your pmfid datasets, see results for allocated datasets

Expected behavior
Script should have two new parameters and optionally accept either volume or storage class, and based on those should be done dateset allocation.

I have checked the code inside the script, there is not finished call to other shell script which should be probably responsible for datasets allocation. But even if this script would be called, it accepts only volume. But for sms managed system, it should accept also storage class, I have checked IBM doc about allocate and it should be supported as well.

So fix zowe-install.sh to accept new parameters like -v for volume, -sc for storage class and either enhance zowe-install-MVS.sh to accept as well volume and storage class parameter, or modify it to call allocate-dataset.sh, and enhance allocate-dataset.sh to support storage class in it (it has volume support, but storage class support is missing in allocate-dataset.sh ).

Screenshots
If applicable, add screenshots to help explain your problem.
image

how to use storage class with allocate based on IBM doc
image
links:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.ikjc500/ikj2l2_Example_26__Override_the_data_class.htm

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ikjc500/alloccmd.htm

@Joe-Winchester Joe-Winchester added this to the 20PI3 milestone Jul 27, 2020
@stevenhorsman stevenhorsman modified the milestones: 20PI3, 20PI4 Oct 7, 2020
@MarkAckert MarkAckert removed this from the 20PI4 milestone Jan 25, 2023
@Martin-Zeithaml
Copy link
Contributor

Reported for V1, but the same is happening for V2/3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants