We have already nice preconfigured nagios with hosts, host groups etc... Is it possible to get host groups from nagios to ansible? are there some plug-in/module which may allow us to do:
ansible -m ping hostgroup-from-nagios-config-files
We have already nice preconfigured nagios with hosts, host groups etc... Is it possible to get host groups from nagios to ansible? are there some plug-in/module which may allow us to do:
ansible -m ping hostgroup-from-nagios-config-files
With my current configuration the BackupPC creates one rsync(of tar for local) process per host. My config file is following: /etc/BackupPC/pc/myhost.pl:
$Conf{RsyncShareName} = '/data';
In my /data
I have many folders /data/01 /data/02 /data/03
. I would like to backup them in parallel.
Is it possible to configure BackupPC in the way that single host backup done in parallel on directory basis?
On Scientific linux 6.0(RH like linux) I accidentally removed python, so yum removed as well.µ
How to install yum with rpm?
EDIT
I try to install python but it is somehow looped the dependences:
rpm -Uvh http://ftp2.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/python-libs-2.6.5-3.el6.x86_64.rpm
Retrieving http://ftp2.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/python-libs-2.6.5-3.el6.x86_64.rpm
error: Failed dependencies:
python = 2.6.5-3.el6 is needed by python-libs-2.6.5-3.el6.x86_64
Then:
rpm -Uvh http://ftp2.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/python
-2.6.5-3.el6.x86_64.rpm
Retrieving http://ftp2.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/python-2.6.5-3.el6.x86_64.rpm
error: Failed dependencies:
libpython2.6.so.1.0()(64bit) is needed by python-2.6.5-3.el6.x86_64
I noticed that writing to raid-6 is very low, but when I make tests with hdparm the speed is reasonable:
dd if=/dev/zero of=/store/01/test.tmp bs=1M count=10000
Gives: 50Mb/s or even less.
The hdparm gives: hdparm --direct -t /dev/vg_store_01/logical_vg_store_01 Gives 450MB/s
Why the file writings are low than hdparm test? Are there some kernel limit should be tuned?
I have an Areca 1680 adapter with 16x1Tb SAS disks, scientific linux 6.0
EDIT
My bad. Sorry all units are in MB/s
More on hardware:
2 areca contollers in dual quadcore machine. 16Gb ram
the firmware for sas backplane and areca is recent one.
the disks are seagate 7.200 rpm 16x1Tb x2 raid boxes.
each 8 disks are raid6, so total 4 volumes with lba=64.
two volumes groupped by striped lvm and formatted ext4
the stripe size is 128
when I format the volume I can see by iotop it writes 400mb/s
iostat shows also that both lvm member drives are writing with 450MB/s
FINALLY WRITING with 1600GB/s
One of the raids was degrading the performance due to bad disk. It is strange that disk in the jbod mode gives 100MB/s with hdparm as others. After heavy IO, it was reporting in the log files Write Error(not it has 10 of them). The raid still was not failing or degrading.
Well after replacement my configuration is following:
volume group with 128K stripe size
formatted to XFS
Direct
hdparm --direct -t /dev/vg_store01/vg_logical_store01
/dev/vg_store01/vg_logical_store01: Timing O_DIRECT disk reads: 4910 MB in 3.00 seconds = 1636.13 MB/sec
No Direct
hdparm -t /dev/vg_store01/vg_logical_store01
/dev/vg_store01/vg_logical_store01: Timing buffered disk reads: 1648 MB in 3.00 seconds = 548.94 MB/sec
** dd test DIRECT**
dd if=/dev/zero of=/store/01/test.tmp bs=1M count=10000 oflag=direct 10000+0 records in 10000+0 records out 10485760000 bytes (10 GB) copied, 8.87402 s, 1.2 GB/s
** WITHOUT DIRECT**
dd if=/dev/zero of=/store/01/test.tmp bs=1M count=10000 10000+0 records in 10000+0 records out 10485760000 bytes (10 GB) copied, 19.1996 s, 546 MB/s
Possible Duplicate:
Can you help me with my software licensing question?
we have a ms-sql 2008 standard edition. The db became too huge, about 8 10^9 records.the db files are about 4.5tb each. We cannot effort us to get enterprise edition to slice the database. We need partitioning.
So the idea is to use Mysql cluster with many datanodes. We already started to move data.
I wondered do we need to buy a licens for mysqlcluster?are there performance difference between community edition and commercial one?
Thanks Arman.
I have several Tb databases in the Windows Server 2008. I would like to keep alive the service when the server is failing or the raids are needs to be rebuild.
Which model to choose Replication or Mirroring? And how to setup that the alive server will takeover the dead one?
Thans Arman.
Is there a way to mount the different disks as one directory? Assuming I have some disks with ext4 partitions:
/dev/sda1 1Tb mounted as /store1
/dev/sda2 2Tb mounted as /store2
/dev/sdb1 2Tb mounted as /store3
/dev/sdb2 2Tb mounted as /store4
I would like to have /storeall
with 7Tb space, merging them as one logical directory, so I can fill that with one rsync
command.
Is it possible on Linux? Which filesystem should I use?
We have several users on linux computing pool, are there way to "shape" the IO per user(like a net shaping analogue..)? Is it possible? Can we restrict the number of IO threads per user?
Thanks. Arman.
I have a RAID system on A server and similar configuration on B server-both with Scientific Linux 5.5. They are connected with infiniband and RAIDS from A are mounted with NFS to ServerB. Now when the users are accessing A-Raids via B-Server, the network getting stacked already with 2 rsyncs. What is the reason? Can I some how bench it and tune the NFS?
kind regarads
Arman.