Tuesday, August 21, 2007

AIX: File too large

It happens when file size large then user's limit. To see limits use a command

# ulimit -a

Change limits:

/etc/security/limits

Monday, August 6, 2007

Networking in XEN

During last startup of the Gateway server after last Saturday relocation I realized that network interfaces should be UP on boot.

network-bridges custom script:

#!/bin/sh
/etc/xen/scripts/network-bridge.orig $1 netdev=eth0 bridge=xenbr0 vifnum=0
/etc/xen/scripts/network-bridge.orig $1 netdev=eth1 bridge=xenbr1 vifnum=1
/etc/xen/scripts/network-bridge.orig $1 netdev=eth2 bridge=xenbr2 vifnum=2
/etc/xen/scripts/network-bridge.orig $1 netdev=eth3 bridge=xenbr3 vifnum=3
/etc/xen/scripts/network-bridge.orig $1 netdev=eth4 bridge=xenbr4 vifnum=4
/etc/xen/scripts/network-bridge.orig $1 netdev=eth5 bridge=xenbr5 vifnum=5
route add default gw 130.216.189.254


This script calls original network-bridge.orig script from Xen installation. In such sequence all bridges started up correct and all interfaces work well. It is called from xend configuration file during xend loading.

Friday, August 3, 2007

No space left on device /dev/null

If it's impossible to copy a file with a size more than a particular volume then very likely the reason of that that /dev/null has been overwritten by ordinary file:

# cat 1GB > /dev/null
cat: write error: No space left on device

A solution is to recreate /dev/null as a character file:

> rm -f /dev/null (get rid of the file I had put there)
> mknod /dev/null c 1 3 (some unix magic: char device, major #, minor #)
> chmod a+w /dev/null (permissions)

It works.

Wednesday, August 1, 2007

BG2 - First Virtual Server

The specifications for the server are fairly minimal see below:…I suggest 1.5GB of RAM for the Windows 2003 Web/Nesstar server .

We should allow at least 2GB for all future servers.


Web/Nesstar server Hardware/Software Requirements:
Windows XP, 2000 or NT4.
Windows Server 2003
All Service Pack updates should be installed. (If you experience problems with the installation under NT4, check that the video drivers are up to date).
1GB of RAM (more is preferable)
1 GHz CPU or better. A biprocessor machine can be useful, especially during upgrading when the new and the old server might be running side-by-side.
Accessing WebView requires a web browser which is set to accept cookies and is
JavaScript enabled. Security and privacy settings should be set to accommodate this
requirement.
IIS (Internet Information Server) versions 5 or 6:
To install a Nesstar Server on a secondary IP address, please refer to the Nesstar
document on socket pooling.

BeSTGRID Server 2

To configure and install appropriate software:
  1. Download Xen Enterprise
  2. Acquire a license for the Server
  3. Acquire Windows Server 2003 distributive
  4. Apply for IP pool
  5. Acquire empty CDs
  6. Burn CDs with Xen images
  7. Configure RAIDs on BeSTGRID2
  8. Install Xen Enterprise on BG2
  9. Install Admin Console on my PC
  10. Install WinServer2003 on first VM
  11. Create VMs for WAYF and OpenIdP


All done!