Friday, May 14, 2010

solusVM setup

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-164.15.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-164.15.1.el5 dom0_mem=2048M
module /vmlinuz-2.6.18-164.15.1.el5xen ro root=LABEL=/
module /initrd-2.6.18-164.15.1.el5xen.img
title CentOS (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/
initrd /initrd-2.6.18-164.el5.img


Slave server partition

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 123G 2.4G 115G 3% /
/dev/sda1 99M 19M 75M 21% /boot
tmpfs 1.0G 0 1.0G 0% /dev/shm
none 1.0G 104K 1.0G 1% /var/lib/xenstored

[root@slaveserver template]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 16586 133122622+ 83 Linux
/dev/sda3 16587 18626 16386300 82 Linux swap / Solaris
/dev/sda4 18627 60801 338770687+ 5 Extended
/dev/sda5 18627 60801 338770656 8e Linux LVM

Disk /dev/sdb: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Volume group not found error:
/usr/local/solusvm/data/allow.dat - Master server ip in master server


[root@slaveserver template]# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 23
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 323.06 GB
PE Size 32.00 MB
Total PE 10338
Alloc PE / Size 3232 / 101.00 GB
Free PE / Size 7106 / 222.06 GB
VG UUID 1ns1U1-nl1E-OgSG-KDco-r62t-59Hs-rNedzz

[root@slaveserver template]# lvdisplay
--- Logical volume ---
LV Name /dev/vg1/vm101_img
VG Name vg1
LV UUID HzdrFA-CGzV-lFjR-lYRd-40p4-0oBR-1TYh2m
LV Write Access read/write
LV Status available
# open 0
LV Size 100.00 GB
Current LE 3200
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/vg1/vm101_swap
VG Name vg1
LV UUID DaxzeY-Jsl2-FQjl-PA7k-CSfm-A97L-m8fXfZ
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 GB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

netstat -tn|grep :80|awk '{print $5}'|cut -d: -f4|sort|uniq -c|sort -rn|head
netstat -tn|grep :80|awk '{print $5}'|cut -d: -f1|sort|uniq -c|sort -rn|head

http://forums.cpanel.net/f5/login-webmail-internal-server-error-user-over-quota-141325.html

No comments:

Post a Comment