OpenVMS and Backups

Post Reply
PaulC
Posts: 27
Joined: Fri Jun 04, 2021 10:03 am

OpenVMS and Backups

Post by PaulC »

hi any VMS users doing backups with the snapclone feature?

I have a script from HPE about 4 years ago when we first entertained the thought of replacing the EVA, and now that we have, well a few things have changed.

regardless what the changes were I'm not sure how to implement this in regard to the 3Par. SSSU was a lot easier to create and do the commands of the snaps.

has anyone done this and any guidance? one comment I received it was better to do snapshots then snapclones. since I don't know enough about it well I'm a little lost.

I'm hoping to take the 3Par course offered by HPE, and maybe they can answer this too. not holding my breath.

thanks
Paul
User avatar
Richard Siemers
Site Admin
Posts: 1333
Joined: Tue Aug 18, 2009 10:35 pm
Location: Dallas, Texas

Re: OpenVMS and Backups

Post by Richard Siemers »

Yes snapshots are faster and more space efficient than snapclones. What are you backing the snapshots up to?

Lots of people have scripted snapshots. It might help if you share the script in question.
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
PaulC
Posts: 27
Joined: Fri Jun 04, 2021 10:03 am

Re: OpenVMS and Backups

Post by PaulC »

here is an overview. and the create file
I have not created anything in a VVSET yet, all I've done is create the disks as how I know from an EVA/command view perspective. so what is being referenced in the procedure is new to me.

thanks
Paul

3PAR_CREATE_VIRTUAL_SNAPSHOTS.COM:

Purpose: create virtual snapshots and present the luns to OpenVMS node(s)

High level Overview of steps performed:

Step 1: Required symbols are validated
Step 2: Confirm 3par storage array has enough space to create the
snapshots
Step 3: 3par cli CREATEVVSET command issued to create a VV Set that will
eventually contain the all snapshot VV Volumes
Step 4a: Read only snapshots VV volumes are created with a 3par cli
CREATESV command if OpenVMS device is a nonshadowed disk or the
master member of a shadowset.
Step 4b: The 3par cli CREATEVVSET -ADD command is used to add Snapshot VV
volumes to Snapshot VV Set
Step 5: The udid of the snaphost VV Volumes are set with a 3par cli
SETVV -UDID command so they will agree with the desired lun
numbers presented to the OpenVMS host(s).
Step 6: The luns are exported to the OpenVMS host(s) with a 3par cli
CREATEVLUN command
Step 7: The luns are made available to the OpenVMS host(s) by issuing
some OpenVMS SYSMAN commands
Step 8: Enable error checking on the OpenVMS snapshot disks
Attachments
3PAR_CREATE_VIRTUAL_SNAPSHOTS.txt
(44.09 KiB) Downloaded 2495 times
PaulC
Posts: 27
Joined: Fri Jun 04, 2021 10:03 am

Re: OpenVMS and Backups

Post by PaulC »

well since my VMS system can not SSH to the 3Par due to the ciphers being too strong, (still looking for a way around this) I was reading another thread and it was asked why not use an intermediary system, I'm ok with that, but that then begs the question would I then need to issue all the commands as if I'm sitting on that other server vs VMS?

any thoughts as to how to pull this off would be extremely helpful.

in a brief outline

log into 3Par (how doesn't matter)
create snapshots
export said snapshots
on VMS
mount said snapshots
backup snapshots

repeat except added step at 3Par login is a delete of snapshots

thanks
Paul
PaulC
Posts: 27
Joined: Fri Jun 04, 2021 10:03 am

Re: OpenVMS and Backups

Post by PaulC »

ok well that didn't work as expected.

anyone have any thoughts if I did something wrong or does this not work with VMS?

FACSSAN1 cli% createsv test301 2301
FACSSAN1 cli% setvv -udid 7301 test301
FACSSAN1 cli% createvlun test301 7301 FACST1

but yet it's showing up as 15!

15 test301 snp NA NA vcopy 2301 5301 RW normal -- -- 358400

-----------------------------------------------------------------------------------------------------------

I thought I would use this thread if you think it deserves it's own let me know,
thanks
Paul
PaulC
Posts: 27
Joined: Fri Jun 04, 2021 10:03 am

Re: OpenVMS and Backups SSH issue

Post by PaulC »

well I've got backups working manually. logging in and issuing the commands.

I've tried to SSH inside a script but SSH does not like to connect from a batch file!

anyone have any thoughts as to what I am missing?

interactively this works fine, here is the error from the script.

$ ssh cacheusr@facsrpt2

$1$dga3002:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: ssh_io_register_fd: fd 3 already registered!

%TCPIP-F-SSH_FATAL, non-specific fatal error condition


thanks
PaulC
Posts: 27
Joined: Fri Jun 04, 2021 10:03 am

Re: OpenVMS and Backups

Post by PaulC »

partial success. I can login to the intermediary linux server but unfortunately it is hanging trying to do the 2nd login which is to the 3Par. shown below. interactively the commands work fine.

VMS to linux works
linux to 3Par fails


here is the output of when I try to run it in a batch procedure.

$ ssh -o "batchmode yes" cacheusr@facsrpt2

Authentication successful.

Cancel

$ ssh -i /home/cacheusr/.ssh/3par -o "batchmode yes" 3paradm@facssan1

warning: Authentication failed.
Disconnected; key exchange or algorithm negotiation failed (Algorithm negotiation failed.).

and here is the full procedure


$ set def [-]
$ edit 3par_test_ssh.com
$ set ver
$ set def [.ssh2]
$ ssh -o "batchmode yes" cacheusr@facsrpt2
$ ssh -i /home/cacheusr/.ssh/3par -o "batchmode yes" 3paradm@facssan1
$ showvlun
$ showvv
$ exit
$ exit
$!!submit/keep/noprint/que=facst1_ops$batch/user=SYSBACKUP -
$!!/name="CCS_BACKUP" -
$!!/log=baclog -
$!!baccom:CCS_BACKUP.COM
$!lo
$!
$!then on FACS1 issue this
$!@baccom:cache_freeze THAW FACSPROD
$ sho users
$ exit
Post Reply