Qemu
I'm looking for a way to achieve the followings.
1. Steps to Configure and adapt Qemu images to replicate SunStation 5 SPARC and HP-UX PARISC servers 2. Steps to Create a network share between Qemu instances and the Debian server. The goals is to configure and adapt Qemu images to replicate SunStation 5 SPARC and HP-UX PARISC servers, as well as setting up a virtualized production environment |
Sharing with the host might be slightly problematic. Configuring a cloud server inside your local network that both can access might be the "best" way.
There are multiple pages that document ways to set up sparkstation and solaris on qemu, but I might start from Virtual Machine Manager rather than doing it by hand. I find VMM generates guests that perform better. For sparstation guests I would start with https://learn.adafruit.com/build-you...laris/overview and https://wiki.qemu.org/Documentation/Platforms/SPARC and perhaps https://learn.adafruit.com/build-you...e-a-disk-image as places to start your research. As for HP-UX PA-RISK I would start with https://wiki.qemu.org/Features/HPPA and https://wiki.qemu.org/Features/HPPA if you want to understand the base |
It is a bit complex i m not sure where to start? what about the Steps to Create a network share between Qemu instances and the Debian server. Does anyone ever done that before? i will need your guidance.
|
I had played with qemu a long time about and tried a few different arches. There used to be a web page that would build you a batch file for windows based on what you want to run.
How much does a used Sun machine cost? |
First, you have to ensure that your firewall allows VMs to talk to each other. Perhaps you have already done that. It's basically a matter of configuring each VM network as a "routed" network -- details in https://serverfault.com/questions/76...rtual-networks
Once that is done, sharing from a VM is no different than sharing from a base system. You create /etc/exports listing the directories you want to share and the systems that are granted access, and make sure that "nfs" and "nfs3" services are allowed in the firewall and that the nfs-server service is started. |
Quote:
|
I have a ss-5 SPARC Solaris 9 host under QEMU, but not an HP-UX. You might be able to get something more modern, but I wanted specifically to see the SPARC 32bit working. Solaris will connect easily with Linux via UUCP, r* commands, telnet, ftp, NFS, serial lines and SMB. You can also catch a remote desktop via XDMCP. Make a Linux bridge and attach the virtual machine via tuntaps. I've posted an example script (rc.bridge-vlan-setup) to do this before on this site.
Solaris suffers badly if not shutdown properly, hence the backing image/shadow file. Run off that, so that you can revert back to it if something goes sideways. Code:
qemu-img create -f qcow2 -b solaris_9.img -F qcow2 solaris_9_sf.img Code:
qemu-system-sparc -m 256m -M SS-5 -drive file=solaris_9_sf.img,bus=0,unit=0,media=disk -drive file=sol-9-905hw-ga-sparc-dvd.iso,format=raw,if=scsi,bus=0,unit=2,media=cdrom,readonly=on -net nic,macaddr=52:54:00:12:34:58 -net tap,ifname=tap8,id=net0,script=no,downscript=no -audiodev pa,id=snd0 -rtc base=utc -vga cg3 -boot menu=on,order=cd -serial pty -daemonize Code:
[13:41 jayjwa@kulve:/etc/dfs >] cat dfstab [term/a hst:23] There's a "companion CD" with many of the free software tools like you'd see on Linux. You'll at least want file, locate, and probably gcc. You can also find the Sun Studio compilers if you look hard enough. If you give it an ip6 address (from your prefix, as from radvd on a bridge), be careful as it will be reachable on the internet. The old CDE, RPC, and Java code had alot of vulnerabilities and Solaris runs alot of services by default. Code:
jayjwa@atr2 /o/s/Solaris> mailx -s "Hello from Linux" 'kulve!jayjwa' |
All times are GMT -5. The time now is 04:14 PM. |