postgresql on HP NonStop system - postgresql

I want to install postgres on HP NonStop J series server.
Can someone who is having experience on similar configuration help me out?
I did not found any postgres libraries/installation packages/patches for NonStop servers.
I am new to NonStop systems but have worked on linux and unix (HP-UX) environment.
NonStop systems provides Open System Services (OSS) environment which is an open computing interface to the HP NonStop operating system and is based on POSIX standards.
Postgres package is available for HP-UX system; can it be configured for OSS environment on Non Stop server ?

You will almost certainly have to compile PostgreSQL - and possibly its dependencies, depending on what's available pre-packaged for HP-UX - from source code. See installation from source code in the docs.
PostgreSQL is pretty well behaved and reasonable to compile, and there's a HP-UX ia64 buildfarm member so builds are tested on HP-UX.

Related

How to specify cookbook dependencies based on OS?

I am trying to find the best way of managing dependencies which are not available for all OS platforms. Our cookbook is cross-platform, it is aimed at both Linux and Windows systems. One of our recent requirements however, is to add in features that are only needed on Linux.
To do that normally, I would use a 'depends' line in the metadata.rb to specify a separate cookbook as being needed. For example:
depends 'hostfile_edit', '=0.1.2'
Our Chef system is split into two distinct orgs for security reasons - Windows and Linux. However, in this case the "hostfile_edit" cookbook is only available on the Linux org. Hence, when we run rake unit on Windows we get a failure as Chef is unable to reference this other cookbook. The rake unit runs perfectly when run on a Linux system. Similarly, when using the cookbook in a deployment there are failures on Windows, but not on Linux.
The answer lies in metadata.rb file, you can add like this
%w( aix amazon centos fedora freebsd debian oracle mac_os_x redhat suse opensuseleap ubuntu windows zlinux ).each do |os|
supports os
end
You can read more about this are https://docs.chef.io/config_rb_metadata/

MongoDB Performance : Windows 2016 Server DC vs Same machine running Hyper-V Ubuntu

I have read a few articles that say that running MongoDB on Windows is a lot slower than Linux. They mention filesystems like XFS is better than NTFS etc, and that it's more designed for Linux.
Reference Why Mongodb performance better on Linux than on Windows?
So my question is, has anyone done any benchmarking of MongoDB performance on Windows (e.g installed directly on the server) vs the same machine (running Windows) but it running a VM (Ubuntu 18.04, XFS) via HyperV?
the same machine (running Windows) but it running a VM (Ubuntu 18.04, XFS) via HyperV
The reason why Linux performs better than Windows for MongoDB is because Linux is more efficient with hardware resources (disk, memory and networking were called out in the post you referenced). Putting Linux in a Windows VM does not eliminate the overhead of Windows that makes it slower for MongoDB. Instead you would have two overheads (Linux AND Windows).
You should also troubleshoot your actual performance problems (per your other post) rather than trying random things like OS changes in the hope that they will make your performance issues go away. The particular issue might go away but chances are you'll run into another one down the road, then what?

Net::DBus with ActiveState Perl

Apologies If I misunderstood anything incorrectly, I am very new to DBus having beginner experience in Perl.
I am working for a project where I need to connect to a remote dbus (running on linux) from a window machine. I will be connecting to the remote system bus and will be invoking method calls, signals etc. I can not change the host machine to Linux as we have other development which is developed on windows platforms.
Perl provides a support for dbus using Net::DBus module, but this module is not available for window platforms.
http://code.activestate.com/ppm/Net-DBus/
It seems that there is also a windows port of dbus available at
http://sourceforge.net/projects/windbus/
I am trying to build the Net-DBus module using this windows port of DBus, but's not working.
Appreciate your help, how to build such module.

How do i create a VM Ware Image of an AIX LPAR?

I want to clone a AIX LPAR and was wondering if the physical machine could be converted into a VM Image?
I have used the VMWare Converter to create a VM Image of a physical windows box and the documentation states that you can do that for Linux Boxes too.
http://www.vmware.com/products/converter/
I don't see information on AIX or the other UNIXes.
If creating an VM Image of an existing physical AIX box is not feasible is there any easy way to clone the AIX image to another AIX machine.
The primary intent is to avoid re-creating the setup that is already performed for the current AIX box and we want a duplicate environment with the same setup.
VMware supports x86 (and x86_64) architectures for host and guest only. IBM AIX runs on the Power architecture, and VMWare does not do architecture emulation, so what you want does not exist.
If you want to back up/clone your AIX instance to another machine, look for information regarding mksysb and AIX Sysback.
You might want to take a look at the following, but there are no guarantees, and I'm fairly certain running AIX on anything but a Power architecture is still not a reality at this time:
Qemu
PearPC
Based on further reading, i understand that VMWare does not support AIX. The guest OS can primarily be Windows, various distros of LINUX and Mac-OSX. I also see Solaris as a supported guest OS, but i don't see AIX. So i don't think this is possible.
I would have to look at the Virtualization features supported from IBM for this activity.
Thanks,
Manglu

UNIX web development server for virtual machine PC in Windows

I'm planning to build Linux web development server in virtual machine environment on Windows Virtual PC. As I don't have much experience with installing and configuring Linux web servers, I wanted to ask for some advice:
What Linux distribution do you recommend for such server? I want the virtual server to look like real hosting environment.
Do any pre-configured virtual machines for web development exist out there?
Maybe some instruction and tips on configuring?
My requirements for the server are quite standard: latest versions of Apache, MySQL, PHP, probably Python and Postgre.
Thank you.
UPDATE: OK I think I'll go with Ubuntu Server for this.
You can probably go with Ubuntu. It is easy for a beginner and there is plently of documentation on how to install a LAMP stack and later you can move on to other distros.
If you are looking for pre-configured machines, then you can have a look at VMWare Appliances
For the distribution I would recommend Ubuntu - you can add all the server software you want from their repositories.
For a virtual machine I'd recommend Ubuntu Server Edition JeOS, as that won't have any un-needed software on it.
Debian Lenny - rock solid stability & the most package support
I'm sure you can find some
Use prefork-worker apache, MySQL 5/PHP 5, Postgres 8.4.
There are lots of prebuilt vmware images that you can use. You might also consider looking at something like Amazon EC2 for which there are lots of off the shelf images.
I would also suggest Ubuntu server as a base OS.
Incidentally there are other virtualisation options in case Virtual PC doesn't recognise those prebuilt image formats (I think those formats are more standardised and interoperable these days, but not sure)...e.g. there is vmware, and there is virtualbox.org
Does it need to be in Linux straight away? You can run (Apache et al) XAMPP locally and get it up and running in 5 minutes.