Re: Backups

2011-04-20 Thread Mark Foster
On 04/20/2011 07:42 AM, Soren Hansen wrote:
> 2011/4/20 Mark Foster :
>> Since nobody has mentioned it I'll give a plug for Rsnapshot. It works
>> well for us backing up hundreds of Linux systems. It supports hardlinks
>> and even relies on them you might say...
> 
> It relies on hard links to minimise its own storage requirements.
> However, hard link support (in the "two files that are hard links to
> the same inode will only be backed up once" sense) is disabled by
> default. See the "rsync_short_args" section in rsnapshot's man page.
> 

Good point.
In other words, use
rsync_short_args-aH
in rsnapshot.conf
-- 
Mark D. Foster 
http://mark.foster.cc/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: Backups

2011-04-20 Thread Mark Foster
On 04/20/2011 06:28 AM, Soren Hansen wrote:
> My only gripe with Duplicity is that it doesn't detect hard linked
> files, but I hardly ever use hard links anyway. It's also worth noting
> that even though duplicity is one of the very, very few backup tools
> that *says* it doesn't support hard links, it's far from the only one
> that doesn't actually support it. Many other backup tools are simply
> blissfully unaware of this shortcoming in them.

Since nobody has mentioned it I'll give a plug for Rsnapshot. It works
well for us backing up hundreds of Linux systems. It supports hardlinks
and even relies on them you might say...
"Using rsync and hard links, it is possible to keep multiple, full
backups instantly available. The disk space required is just a little
more than the space of one full backup, plus incrementals."
http://www.rsnapshot.org/


-- 
Mark D. Foster 
http://mark.foster.cc/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: [Oneiric-Topic] virtualization tools

2011-04-13 Thread Mark Foster
On 04/13/2011 10:00 AM, Scott Moser wrote:
> Hi, I'd like to start a general "virtualization tools" conversation here.
> ...
> Does anyone else have tools they'd like to see written or packaged?
> 

Ganeti!
http://code.google.com/p/ganeti/


-- 
Mark D. Foster 
http://mark.foster.cc/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: [Oneiric-Topic] Puppet Integration

2011-04-06 Thread Mark Foster
On 04/06/2011 09:03 AM, Serge van Ginderachter wrote:
> On 6 April 2011 17:36, Mark Foster  wrote:
> 
>> It requires manual intervention (editing the /etc/default/puppet file).
>> The irony is that it could be fixed via puppet if it puppet was actually
>> running.
>>
> 
> You might want to first install chef to handle that :-)

This thread is not about chef.

> 
> You still have to install the client, in certain case you might want to push
> a certain base config. So enabling the service at instal time shouldn't be
> that big a deal.
> EIther way, you have to start somewhere before puppet kicks in.

preseed and other methods make it easy to install packages. Editing a
config file is a bit more complex.

The behavior in Hardy LTS was that you installed puppet and it (puppetd)
would run. So this change in behavior qualifies as a regression.

> Besdides, not everybody want the puppet client running by default. Because
> of e.g. memory problems, some people (used to) run it from cron, not as a
> daemon - just giving a counter example.
> 

I'm sure a _majority_ of users do want it to run by default. Certainly
that's what the Hardy users got & thus expected.

If some users don't want it (puppetd) to run in which case they should
not install the puppet package at all, but just puppet-common.

-- 
Mark D. Foster 
http://mark.foster.cc/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: [Oneiric-Topic] Puppet Integration

2011-04-06 Thread Mark Foster
On 03/31/2011 05:05 PM, Mathias Gug wrote:

> Could you clarify what behavior are you referring to? The fact that
> puppet doesn't start after the package is installed?
> 
Bingo!
It requires manual intervention (editing the /etc/default/puppet file).
The irony is that it could be fixed via puppet if it puppet was actually
running.

-- 
Mark D. Foster 
http://mark.foster.cc/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: [Oneiric-Topic] Puppet Integration

2011-03-31 Thread Mark Foster
On 03/31/2011 10:36 AM, Chuck Short wrote:
> Puppet installs over apt-get and takes editing a quick 
>> /etc/default/puppet file to say YES to enable it (rather than risk 
>> conflicts)

BTW this behavior is annoying, it should just rely on the normal methods
i.e. update-rc.d puppet defaults

-- 
Mark D. Foster 
http://mark.foster.cc/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: facter and KVM

2011-01-25 Thread Mark Foster
On 01/25/2011 11:48 AM, Oliver Brakmann wrote:
> I'd like to ask for your opinion whether it would be worthwhile to file
> a bug on this.  On the one hand, this is fixed upstream already, on the
> other hand, both puppet and kvm are in main, and Lucid might benefit
> from an SRU.  Is this SRU worthy?

+1 since per https://wiki.ubuntu.com/StableReleaseUpdates it qualifies
for both of these criteria in my opinion.
# Bugs which do not fit under above categories, but (1) have an
obviously safe patch and (2) affect an application rather than critical
infrastructure packages (like X.org or the kernel).
# For Long Term Support releases we regularly want to enable new
hardware. Such changes are appropriate provided that we can ensure to
not affect upgrades on existing hardware. For example, modaliases of
newly introduced drivers must not overlap with previously shipped drivers.

However it would also be necessary & wise to review the full change log
entries since there is likely way more changed in 1.5.8 (vs. 1.5.6 or 7)
than this one value change.


-- 
Mark D. Foster 
http://mark.foster.cc/ |  http://www.freegeekseattle.org/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: port scan detection on server

2010-11-19 Thread Mark Foster
On 11/18/2010 11:45 PM, Tapas Mishra wrote:
> On this page
> http://packages.ubuntu.com/pl/lucid/psad it mentions psad works on 2.2
> kernels and 2.4 does it not work on 2.6 kernels.
> Is there any other way to block port scan attempts on server.
> 
http://sourceforge.net/projects/sentrytools/

-- 
Mark D. Foster 
http://mark.foster.cc/ |  http://www.freegeekseattle.org/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


LTS point release schedule?

2010-06-09 Thread Mark Foster
I'm looking over https://wiki.ubuntu.com/Releases
Notice how 8.04.1, 8.04.x get released on some seemingly random schedule.
Is it the same for 10.04.x? What is the criteria for a point release?

-- 
I hate racists.  Mark D. Foster   
http://mark.foster.cc/ |  http://www.freegeekseattle.org/



-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: No guest network with KVM using vmbuilder

2010-06-03 Thread Mark Foster
I have seen two separate cases where vmbuilder on lucid produces a
non-working VM.
The VMs will boot but the / is read-only and there are tons of
ATA errors upon booting.
It might be the same problem.

My work-around was to use virt-install method.

On 06/02/2010 11:09 PM, Imre Gergely wrote:
> Did you try connecting through VNC to it, to see what's happening? Does
> the guest get an IP address on it's network interface?
>
> On 05/25/2010 05:42 PM, Walter Souto wrote:
>   
>> Hi, I hope I'm not asking something dummy, anyway...
>>
>> So, I'd use vmbuilder to create a VM like this:
>>
>> sudo vmbuilder kvm ubuntu \
>> --suite lucid --flavour virtual --arch amd64 -o -v \
>> --libvirt qemu:///system \
>> --cpus 1 --mem 256 \
>> --rootsize 8192 --swapsize 2048 \
>> --hostname vm101 \
>> --ip 10.0.3.11 --mask 255.255.252.0 --net 10.0.0.0 --bcast 10.0.3.255 \
>> --gw 10.0.3.254 --dns 10.0.3.254 --bridge br0 \
>> --user sysadmin --name SysAdmin --pass 656667 \
>> --addpkg acpid \
>> --addpkg openssh-server \
>> --mirror http://ironman:/ubuntu \
>> --raw /dev/vgvm/lvm01
>>
>> The host (lucid) has bridge br0 configured and forwarding with
>> 10.0.0.1 / 255.255.252.0. The configurations seems to be ok:
>>
>> 
>>   vm101
>>   43cf30ee-1d29-2c34-ebda-f16b9c2472bc
>>   262144
>>   262144
>>   1
>>   
>> hvm
>> 
>>   
>>   
>> 
>>   
>>   
>>   destroy
>>   restart
>>   destroy
>>   
>> /usr/bin/kvm
>> 
>>   
>>   
>> 
>> 
>>   
>>   
>>   
>>   
>> 
>> 
>> 
>> 
>>   
>> 
>>   
>>   
>> 
>>
>> I can't connect to the machine via SSH with the given IP. I can't ping
>> too. I have no clue about what can be wrong.  I did some research on
>> this list but no lucky...
>>
>> TIA,
>> --
>> Walter.
>>
>> 
>   


-- 
I hate racists.  Mark D. Foster   
http://mark.foster.cc/ |  http://www.freegeekseattle.org/



-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: UDS Maverick: Call for Blueprints for Ubuntu Server

2010-04-28 Thread Mark Foster
On 04/28/2010 09:45 AM, Andreas Hasenack wrote:
> with reasonable default ACLs, on which new LDAP
> administrators could build on and have a starting place for whatever
> setup they wanted
Do you or will you consider having phpldapadmin as part of this 
"starting place"
Because, administering LDAP from the command line can have quite steep 
learning curve vs. using the (web) gui once the dir servers is ready for 
that.

Also, if LDAP is to be integrated for the DNS, powerdns 
(pdns-backend-ldap) does pretty well.

-- 
I hate racists.  Mark D. Foster
http://mark.foster.cc/ |  http://www.freegeekseattle.org/



-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: mssql + PHP issue - URGENT.

2010-04-26 Thread Mark Foster
I'm almost positive you ALSO need the sybase client package(s) 
installed. The php5-sybase is not a pure driver but a hook.


On 04/26/2010 08:51 AM, Jamie McDonald wrote:

Hello all,

I've just managed to convince the management to let us run Linux boxes 
as our new frontend webservers - they are ubuntu-server 9.10 boxes 
configured for fail over using heartbeat and DRBD.


Our database servers however have remained as Microsoft SQL 2008 servers.

The issue I am having is that with the testing of our webserver's I 
cannot seem to connect to an MS SQL 2008 Express db server, every time 
I get the error


*"Warning*: mssql_connect() [function.mssql-connect 
]: Unable to 
connect to server: 192.168.1.15,1433 in 
*/shared/var/www/oursite/inc/oursite_dbcon.php* on line *2*

Could not connect to database: "

The PHP code used to connect is a standard connection string i.e.

"mssql_connect("192.168.1.15,1433","username","passw0rd") or die 
("Could not connect to database: ".mssql_get_last_message());"


The web server has has 'apt-get install php5-sybase' run on it and 
apache restarted so the mssql.so object has been loaded - this is also 
confirmed by its presence on the output from phpinfo();.


I have disabled the firewall on the SQL2008 server - and can see the 
port 1433 listening on the test sql server (my workstation) from the 
webserver. I am also able to telnet to port 1433 on the SQL server 
from the webserver. The username and password are also correct - I 
have quadruple checked this.


I've been googling all afternoon and seem to be finding conflicting 
information regarding the ability of PHP to connect directly to an 
MSSQL database. Some sites seem to suggest you must use a DSN via an 
odbc connection but other sites suggest the old school connection 
string method should work fine just as you would if using mysql. I 
really don't want to start modfying the developers code, as far as I'm 
concerned this codebase worked fine under windows/iis so it should run 
in our new Linux environment.


If anyone can give me any clarification on this issue I would be very 
thankful as these servers are going to be racked this week and I do 
not want to have the powers that be decide we should revert to Windows 
Server / IIS.


Kind Regards,
Jamie.



--
I hate racists.  Mark D. Foster
http://mark.foster.cc/ |  http://www.freegeekseattle.org/


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: PHP 5.3 for Lucid

2010-02-09 Thread Mark Foster
5.3 gets my vote, with an option to install/downgrade to 5.2.

However, if 5.3 is not in testing in time for lucid, it could just be 
put in lucid-backports right?
What is the harm with that approach?

-- 
I hate racists.  Mark D. Foster   
http://mark.foster.cc/ |  http://www.freegeekseattle.org/



-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


nehalem issues?

2009-06-25 Thread Mark Foster
I heard there are or were problems getting Ubuntu (and Debian) to run on 
Nehalem processors.  Does anyone have more insight or references about 
it? I wasn't able to find much with Google.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: KVM failover to another KVM server

2009-05-08 Thread Mark Foster
I believe you do so the hypervisor knows about the domain.
You can use the 'create' command this. See virsh help create

Dan Sheffner wrote:
> Both machines have /etc/libvirt/qemu/ubuntuTest.xml present and I get 
> the same error. Do I have to load the xml in the vmserver06 machine?


-- 
I hate rascists.
Mark D. Foster   
http://mark.foster.cc/ | http://conshell.net/



-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: KVM failover to another KVM server

2009-05-08 Thread Mark Foster
The ability to do migration requires shared storage such as via iSCSI or 
SAN or perhaps NAS (NFS).
The storage needs to be visible on both host nodes on the same path.


Dan Sheffner wrote:
> I have also tried with the virtual machine manager to migrate from one 
> server to another.  It seems like it should work but nothing actually 
> happens.
>
> 
> *From:* Victor Padro 
> *To:* Dan Sheffner 
> *Cc:* ubuntu-server@lists.ubuntu.com
> *Sent:* Thursday, May 7, 2009 3:12:16 PM
> *Subject:* Re: KVM failover to another KVM server
>
>
>
> On Thu, May 7, 2009 at 3:02 PM, Dan Sheffner  > wrote:
>
>
> Ok I have gotten close but still having issues.  I have two
> machines running ubuntu 9.04 server AMD and I'm trying to fail
> from one machine to another with:
>
> connected to virsh console:
>
> migrate ubuntuTest qemu+ssh://vmserver06.ttr/system
> error: operation failed: failed to parse XML
>
> any ideas?
>
>
>
> - Original Message 
> From: Dan Sheffner  >
> To: ubuntu-server@lists.ubuntu.com
> 
> Sent: Thursday, May 7, 2009 11:31:34 AM
> Subject: KVM failover to another KVM server
>
> I searched hi ahd low but I haven't been able to find how to fail
> a virtual machine from one KVM server to another.  Can someone
> link me to the doc that does this or show me an example.  I would
> hope you are able to do this while the server is running. Thanks
> in advance.
>
>
>
>
> --
> ubuntu-server mailing list
> ubuntu-server@lists.ubuntu.com 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
>
>
> Proxmox is debian based KVM's bare installer and does have that 
> function(Clustering).
>
> http://pve.proxmox.com
>
> -- 
> "It is human nature to think wisely and act in an absurd fashion."
>
> "Todo el desorden del mundo proviene de las profesiones mal o 
> mediocremente servidas"
>


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


kickstart support for alternative fstypes

2008-07-23 Thread Mark Foster
Alternative stable filesystems like jfs, xfs and so on are not (yet) 
supported via kickstart partitioning even though d-i supports 'em. I 
would like to see this feature added and am willing to try adding it 
myself but could use some mentoring.
I am looking for the hooks to add this functionality. Cursory 
examination of sources for debian-installer and libdebian-installer were 
not fruitful.

Thanks.

[1] https://wiki.ubuntu.com/KickstartCompatibility

-- 
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <[EMAIL PROTECTED]>  http://mark.foster.cc/



-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam