booting x86 -Oracle VM Virtual box Mgr- vmdk disks

OpenVMS virtualization: OpenVMS on VirtualBox, VMWare, Hyper-V, KVM, and more.

Topic author
vmsxpert
Contributor
Posts: 17
Joined: Thu Apr 11, 2024 2:28 pm
Reputation: 0
Location: NEW DELHI
Status: Offline
Contact:

booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by vmsxpert » Mon May 06, 2024 4:55 am

I am able to boot correctly x86 with vmdk disk provided by VSI . As soon as I connect to console and I give
"boot dka0" it starts booting correctly from that device .Also able to log into remotely with putty .

Issue 1 : Not able to get on to EFI Shell .What command should I give to get on to boot manager so that i can come to EFI shell ?
Generally in On-prem scenario if we type exit on console we can get into Boot Manager and from there to EFI shell .
But this is not working here .Please suggest some work around or am i doing something wrong .

Issue 2 :Able to login remotely successfully from putty session (both ways telnet & SSH ) to VM running x-86 but not able to ping host M/c from guest VM running x86 .
Also, I am able to do "$set h 0 " correctly on guest VM running Open VMS x86 .

VM (running Open VMS x86 ) has an IP address : 192.168.56.23
Hos M/c (win 11) : 192.168.56.1

Please advise .

Thanks
Sumit
Last edited by vmsxpert on Mon May 06, 2024 5:03 am, edited 1 time in total.

User avatar

cct
Master
Posts: 135
Joined: Sat Aug 15, 2020 9:00 am
Reputation: 0
Location: Cambridge, UK
Status: Offline

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by cct » Mon May 06, 2024 5:57 am

vmsxpert wrote:
Mon May 06, 2024 4:55 am
I am able to boot correctly x86 with vmdk disk provided by VSI . As soon as I connect to console and I give
"boot dka0" it starts booting correctly from that device .Also able to log into remotely with putty .

Issue 1 : Not able to get on to EFI Shell .What command should I give to get on to boot manager so that i can come to EFI shell ?
Generally in On-prem scenario if we type exit on console we can get into Boot Manager and from there to EFI shell .
But this is not working here .Please suggest some work around or am i doing something wrong .
Have you looked at the boot manager user guide for VMS9.2-2 ?
https://docs.vmssoftware.com/docs/vsi-o ... de-922.pdf

Issue 2 :Able to login remotely successfully from putty session (both ways telnet & SSH ) to VM running x-86 but not able to ping host M/c from guest VM running x86 .
Also, I am able to do "$set h 0 " correctly on guest VM running Open VMS x86 .

VM (running Open VMS x86 ) has an IP address : 192.168.56.23
Hos M/c (win 11) : 192.168.56.1

Please advise .

Thanks
Sumit
Can't help with VirtualBox - I use KVM/QEMU under Ubuntu
--
Chris


alexwong
Contributor
Posts: 21
Joined: Tue Apr 23, 2024 6:28 am
Reputation: 0
Status: Offline

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by alexwong » Mon May 06, 2024 7:02 am

What is your network adapter configured as? In order for guest to talk to host network, it should be Bridged. In your guest vm, set up DHCP client so that OpenVMS will get an ip address from your home router's DHCP server. Essentially you set up OpenVMS as another computer on your home network and can ping all other PCs on the same lan.
Last edited by alexwong on Mon May 06, 2024 7:12 am, edited 2 times in total.


sms
Master
Posts: 376
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by sms » Mon May 06, 2024 7:23 am

Code: Select all

> [...] Also able to log into remotely with putty .

   Define "remotely".  What, exactly, did you do where?

> Generally in On-prem scenario [...]

   I don't know what that means.  (I also need to guess what "M/c" means
to you.)

> [...] But this is not working here . [...]

   "Not working" is not a useful problem description.  It does not say
what you did.  It does not say what happened when you did it.  As usual,
showing actual actions (commands) with their actual results (error
messages, ...) can be more helpful than vague descriptions or
interpretations.

> https://docs.vmssoftware.com/docs/vsi-openvms-x86-64-boot-manager-user-guide-922.pdf

   In particular, section 3.2.1. Automatic Launching (at the end):

      BOOTMGR> EXIT

      After that, proceed immediately to press the ESC key repeatedly to
      invoke the setup screen of the platform firmware.

That is, type "EXIT" and then Return/Enter, and immediately after
hitting the Return/Enter key, start hitting the ESC key.


> Issue 2 :Able to login remotely successfully from putty session (both
> ways telnet & SSH ) to VM running x-86 [...]

   "from putty session" where?  To where?  How, exactly?

   What does "running x-86" mean to you?  Do you mean the VMS system?

> [...] but not able to ping host M/c from guest VM running x86 .

   Regarding "not able", see "not a useful problem description", above. 
Actual command?  Actual error message?

> VM (running Open VMS x86 ) has an IP address : 192.168.56.23
> Hos M/c (win 11) : 192.168.56.1

   Those addresses seem to be on the same subnet (192.168.56.0/24), but
the ".1" worries me.  I'd expect some router to be at ".1".  Describe
your network.


Topic author
vmsxpert
Contributor
Posts: 17
Joined: Thu Apr 11, 2024 2:28 pm
Reputation: 0
Location: NEW DELHI
Status: Offline
Contact:

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by vmsxpert » Mon May 06, 2024 1:17 pm

Hi Alex ,
Please have a look on the network details and please suggest .
Network Adapter :

Interface: IE0
IP_Addr: 192.168.56.23 NETWRK: 255.255.255.0 BRDCST: 192.168.56.255
Ethernet_Addr: AA-00-04-00-01-04 MTU: 1500
Flags: UP BRDCST RUN MCAST SMPX
RECEIVE SEND
Packets 179 113
Errors 0 0
Collisions: 0

Interface: LO0
IP_Addr: 127.0.0.1 NETWRK: 255.0.0.0 BRDCST:
MTU: 4096
Flags: UP LOOP NOARP MCAST SMPX
RECEIVE SEND
Packets 8 8
Errors 0 0
Collisions: 0

$

Service Port Proto Process Address State

BIND 53 TCP,UDP TCPIP$BIND 0.0.0.0 Disabled
DHCP 67 UDP TCPIP$DHCP 0.0.0.0 Disabled
FTP 21 TCP TCPIP$FTP 0.0.0.0 Enabled
NTP 123 UDP TCPIP$NTP 0.0.0.0 Disabled
SMTP 25 TCP TCPIP$SMTP 0.0.0.0 Enabled
SSHD22 22 TCP SSHD22 0.0.0.0 Enabled
TELNET 23 TCP not defined 0.0.0.0 Enabled
$

Product: DECNET Node: ABHI Address(es): 1.1
Product: TCP/IP Node: abhi.skc.com Address(es): 192.168.56.23
$


$ ifconfig -a
IE0: flags=c43<UP,BROADCAST,RUNNING,MULTICAST,SIMPLEX>
*inet 192.168.56.23 netmask ffffff00 broadcast 192.168.1.255 ipmtu 1500

LO0: flags=100c89<UP,LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM>
inet 127.0.0.1 netmask ff000000 ipmtu 4096

TN0: flags=80<NOARP>

TN1: flags=80<NOARP>

$


sms
Master
Posts: 376
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by sms » Mon May 06, 2024 1:58 pm

Code: Select all

> Interface: IE0
> IP_Addr: 192.168.56.23 NETWRK: 255.255.255.0 BRDCST: 192.168.56.255

   Again, showing the actual command which generated this output would
be helpful.


> $ ifconfig -a
> IE0: flags=c43<UP,BROADCAST,RUNNING,MULTICAST,SIMPLEX>
> *inet 192.168.56.23 netmask ffffff00 broadcast 192.168.1.255 ipmtu 1500

   That looks to me to be inconsistent.  With address "192.168.56.23"
and "netmask ffffff00", I'd expect "broadcast 192.168.56.255", like
"BRDCST: 192.168.56.255", above.  I don't recall ever having seen that
kind of inconsistency, and I don't know how to create it.


> [...] Describe your network.

   How are your other systems configured?  Which subnet/netmask does
everyone else on your LAN use?


alexwong
Contributor
Posts: 21
Joined: Tue Apr 23, 2024 6:28 am
Reputation: 0
Status: Offline

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by alexwong » Mon May 06, 2024 7:44 pm

It looks like you've set VB as per VSI installation instructions to use Host-Only for guest network adapter, and you assigned OpenVMS the address of 192.168.56.23. You can then telnet/ssh to OpenVMS (or any other vm using Host-Only adapter)
using the 192.168.56 address range. But you will not be able to see your host ip assigned by your home router.

When VB is installed, it'll set up the following lan interface,

Ethernet adapter Ethernet 3:
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0

Active Routes:
Network Destination Netmask Gateway Interface Metric
192.168.56.0 255.255.255.0 On-link 192.168.56.1 281
192.168.56.1 255.255.255.255 On-link 192.168.56.1 281
192.168.56.255 255.255.255.255 On-link 192.168.56.1 281

In order to make OpenVMS look like another computer on the lan, set the adapter to Bridged and configure your interface to be managed by DHCP in OpenVMS. Your home router's DHCP server will provide an ip to OpenVMS and you can then access any host on the lan directly. This is what I do for my OpenVMS guest:
BridgedAdapter.jpg
BridgedAdapter.jpg (20.24 KiB) Viewed 288 times
In TCPIP$CONFIG utility, my interface looks like:

0 - Set The Target Node (Current Node: V922)
1 - IE0 Menu (EIA0: TwistedPair 1000mbps) (Managed by DHCP client - PRIMARY)
2 - 192.168.129.91/24 V922 Active

In SYSTARTUP_VMS.COM,

$ @sys$manager:check_link_state EIA0 10
$ if $status
$ then
$ @SYS$STARTUP:TCPIP$STARTUP.COM
$ @SYS$STARTUP:SSL31$STARTUP.COM
$ @SYS$STARTUP:SSH$STARTUP.COM
$ endif

References:

https://www.virtualbox.org/manual/ch06. ... rkingmodes
https://docs.vmssoftware.com/vsi-tcpip- ... AUTOCONFIG
https://docs.vmssoftware.com/vsi-tcpip- ... LIENT_CHAP
Attachments
CHECK_LINK_STATE.TXT
(933 Bytes) Downloaded 11 times


Topic author
vmsxpert
Contributor
Posts: 17
Joined: Thu Apr 11, 2024 2:28 pm
Reputation: 0
Location: NEW DELHI
Status: Offline
Contact:

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by vmsxpert » Tue May 07, 2024 10:53 am

Hi Alex
Thanks for detailed reply :) ..

Yes , I setup vitual box exactly as you perceived .But I don't have the option which u showed in the jpg file , pl have a look of mine :
Network- ORACLE-VM-VB.jpg
Please suggest some other option in Oracle VM Virtual Box as Intel (R) Wi-Fi AX201 160Mhz is NOT available for me .(or please guide how to get that option) .

OR Any chance of getting pinging my host from Open VMS after I put active routes which u showed .Please advise.

Post your reply i ll proceed for tcpip config .


Thanks & Regards
Sumit
Last edited by vmsxpert on Tue May 07, 2024 11:03 am, edited 2 times in total.


sms
Master
Posts: 376
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by sms » Tue May 07, 2024 2:17 pm

Code: Select all

> Yes , I setup vitual box exactly as you perceived . [...]

   Does that mean that the network interface was Host-Only, but you've
now changed it to Bridged?

> [...] Intel (R) Wi-Fi AX201 160Mhz is NOT available for me .(or please
> guide how to get that option) .

   I doubt that anyone cares about which adapter hardware you use.  The
significant change would be from Host-Only to Bridged.

> OR Any chance of getting pinging my host from Open VMS after I put
> active routes which u showed .[...]

   With a Bridged interface, you should not need to worry about adding
any routes for communication with systems on your LAN, all of which
should be on the same subnet.  (You'd probably want to add a default
route (to your router), to enable communication with systems which are
_not_ on your LAN, like, say, the Internet).


>    How are your other systems configured?  Which subnet/netmask does
> everyone else on your LAN use?

   Still wondering.


alexwong
Contributor
Posts: 21
Joined: Tue Apr 23, 2024 6:28 am
Reputation: 0
Status: Offline

Re: booting x86 -Oracle VM Virtual box Mgr- vmdk disks

Post by alexwong » Tue May 07, 2024 7:56 pm

The Bridged adapter is matched with the device name of the nic. In my case, I use wifi to connect to my home router so it's my Intel wifi card in my laptop. Yours seems to be a wired lan so choose the one you use for your network.

The routes are added by default during VB installation. I did not do anything in Windows, just configured TCPIP in OpenVMS to be a dhcp client on the primary interface. You will need to:

1. Back out your current TCP setup ie remove interface ip, host entry, etc.
2. @TCPIP$CONFIG to configure primary interface with dhcp client.
3. Check the assigned ip address with SHOW NET. It should be in the same range as your PC's ip address.
4. Modify SYSTARTUP_VMS.COM to include check_link_state.com and test reboot.

Post Reply