System Management on OpenVMS HP System Management Forum

Download Report

Transcript System Management on OpenVMS HP System Management Forum

OpenVMS Guests
Under HPVM
Barry Kierstein
Availability Manager Project Leader
OpenVMS System Management Group
Content contributed by Lars Sundqvist
Business Critical Systems
[email protected]
© 2008 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice
Agenda
•
What is virtualization?
•
What is HPVM?
•
Configuring and starting an OpenVMS Guest
July 7, 2015
2
What is Integrity VM?
Terms and Acronyms:
app1
app2
app1
app1
OpenVMS guest OS
Linux guest OS
Windows guest OS
Virtual Machine (VM) 1
VM 2
VM 3
Integrity VM Host
Hardware
July 7, 2015
Memory
 VM Host or Host
 VM
 Guest OS
 Guest
 Physical Node:
a single server or nPar
I/O
I/O
I/O
6
HP Integrity Virtual Machines
Optimum utilization across multiple OS
•
app1
app2
HP-UX 11i v3
app1
app2
HP-UX 11i v2
app1
app1
Linux (Redhat)
OpenVMS
app1
app1
Linux (Suse)
Windows
•
•
•
•
•
VM Host
•
Hardware
Memory
I/O
•
Sub CPU virtual machines with
shared I/O
Runs on a server or within an nPar
Dynamic resource allocation built
in
Resource guarantees as low
as 5% CPU granularity
Resource guarantees as high
as 100% of 4 CPU’s
OS fault and security isolation
Supports all (current and future)
HP Integrity servers
Designed for multi OS
−
−
−
−
July 7, 2015
•
HP-UX 11i v2/v3 guests
Windows 2003 guests
Linux guests
OpenVMS guests in future
Integrated with VSE
7
Dynamic I/O and Network Sharing
Virtual Server 1
Virtual Server 2
Virtual Server 3
Virtual server’s I/O
packets directed to I/O
cards by the Platform
Manager
Host (Integrity VM + platform OS)
I/O card can be
dedicated to a virtual
machine for
performance isolation
July 7, 2015
8
Dynamic I/O and Network Sharing
Virtual Machine 1
app1
Virtual Machine 2
app1
Virtual Machine 3
app2
OS
OS
Virtual Switch
Virtual Switch
Host (Integrity VM + platform OS)
Logical port –
either physical
(lan) port, or
APA port
July 7, 2015
app2
app1
OS
Virtual Switch
Virtual machine’s
network packets
directed to
physical NIC by
the Integrity VM
Host
Virtual NIC may
be defined without
a logical port for
guest-to-guest
communication
NIC can be
isolated to a
virtual machine
9
I/O Virtualization and Integrity VM
DVD virtualized on
host by:
-Physical DVD
-File
Disk virtualized on
host by:
- Physical disk
- File
- Logical volume
- SAN
Host (Integrity VM + platform OS)
SAN
July 7, 2015
10
ServiceGuard – clustering in the
host
Host A
VM host
(SG node)
Host B
VM host (SG
node)
OpenVMS
guest
July 7, 2015
11
Integrity VM futures, sooner or later
•
HP-UX 11i v3 host
•
AVIO for “other” guests
•
OpenVMS guest
•
On-Line guest migration
•
More and bigger
Enhanced performance
July 7, 2015
12
Configuring an OpenVMS Guest
• Configuring
by Virtual Machine
Manager - an HP SIM plug-in
• Configuring
July 7, 2015
by HP-UX commands
13
July 7, 2015
14
HPVM OpenVMS Guest Creation
July 7, 2015
15
HPVM Hands-on - Overview
• HP-UX
system setup
−HP-UX 11i v3 on BL860c Blade
−HPVM V4 BL6
−OpenVMS V8.4 development
July 7, 2015
16
HPVM Hands-on - Overview
• HP-UX
system setup
−HP-UX 11i v3 on BL860c Blade
−HPVM V4 BL6
−OpenVMS V8.4 development
July 7, 2015
17
HPVM Hands-on - Overview
• HP-UX
system setup
−HP-UX 11i v3 on BL860c Blade
−HPVM V4 BL6
−OpenVMS V8.4 development
July 7, 2015
18
HPVM Hands-on - Overview
• HP-UX
system setup
−HP-UX 11i v3 on BL860c Blade
−HPVM V4 BL6
−OpenVMS V8.4 development
July 7, 2015
19
HPVM Hands-on - Overview
• HP-UX
system setup
−HP-UX 11i v3 on BL860c Blade
−HPVM V4 BL6
−OpenVMS V8.4 development
July 7, 2015
20
HPVM Hands-on - Overview
• HP-UX
system setup
−HP-UX 11i v3 on BL860c Blade
−HPVM V4 BL6
−OpenVMS V8.4 development
July 7, 2015
21
HPVM Hands-on - Overview
• HP-UX
system setup
−HP-UX 11i v3 on BL860c Blade
−HPVM V4 BL6
−OpenVMS V8.4 development
July 7, 2015
22
Configuring an OpenVMS Guest by
HP-UX commands
• Log
•
onto root / alphabits
Create directory /var/openvms_guests
−mkdir /var/openvms_guests
• Create
a virtual disk (4GB)
−hpvmdevmgmt -S 4000M \
/var/openvms_guests/disk1
July 7, 2015
23
Configuring an OpenVMS Guest by
HP-UX commands
• Set
up an account for the console
(optional)
−useradd -d /var/opt/hpvm/guests/vms \
− -c ‘VMS console' \
− -s /opt/hpvm/bin/hpvmconsole vmsmp
−passwd vmsmp
July 7, 2015
24
Configuring an OpenVMS Guest by
HP-UX commands
• Set
up the virtual switch
−Lanscan
• Find LAN adapter to use
−hpvmnet -c -S vswitch0 -n 0
• Create switch
−hpvmnet -b -S vswitch0
• Start switch
−Hpvmnet
• See status
July 7, 2015
25
Configuring an OpenVMS Guest by
HP-UX commands
• Create
the virtual machine
−hpvmcreate -P vms -c 1 -r 800m -e 50 -O
openvms \
− -u vmsmp \
− -a network:lan::vswitch:localnet \
− -a network:lan:vswitch:vswitch0:portid:1 \
− -a disk:scsi::file:/var/openvms_guests/disk1 \
− -a disk:scsi::file:/usr/OpenVMS/jedi_bl1i64xbsx.iso
−hpvmstatus
July 7, 2015
26
Configuring an OpenVMS Guest by
HP-UX commands
• Start
the virtual machine
−hpvmstart -P vms
• Connect
to the console
−hpvmconsole -P vms
July 7, 2015
27
Configuring an OpenVMS Guest by
HP-UX commands
• Additional
commands
−Stop the virtual machine
• hpvmstop -P vms
−Remove the virtual machine
• hpvmremove -P vms
−Delete the virtual switch
• hpvmnet -S vswitch0 -h
• hpvmnet -S vswitch0 -d
−Escape to the virtual MP
• Ctrl/X instead of Ctrl/B
July 7, 2015
28
OpenVMS Contacts
•
[email protected][email protected][email protected] (Our manager)
•
[email protected] +46 31 3491634
July 7, 2015
29