Tag Info

Hot answers tagged

15

Higher Availability As Chris mentions, your API server is the single point of failure in your layout. What you're setting up is a message queuing infrastructure, something many people have implemented before. Continue down the same path You mention receiving requests on the API server and insert the job into a MySQL DB running on each server. If you ...


5

I was wrong on my first answer. My first suggestion to you was to make a "version lie" shim for your application. But you can't, because you're using a managed code application. I'm not saying you can't write API hooks for .NET applications, but appcompat shim support seems to be a lot spottier for managed apps. Application shims implement API redirects so ...


5

A long time ago, I saw apache lock-ups resulting from an apache process making a call via http to another URL serviced by an apache process on the same server. I sometimes wound up with a bunch of processes waiting on such calls with no available apache processes to service them. In my case I had a translation layer in front of some web pages, but calling ...


4

This has been an ongoing request from BIND admins for many years. BIND 9 has the facility built-in to swap out the storage-handling to an alternative mechanism than the default. There have been various attempts at using this facility, and one that appears to still be maintained is the MySQL BIND SDB driver, which looks as if it meets the needs you edited ...


4

Your best bet is going to be the Exchange Managed Web Services API. It's .NET based but you could easily use it via PowerShell as well. http://msdn.microsoft.com/en-us/library/dd637749(v=EXCHG.80).aspx


3

You can configure a dynamic zone, zone "example.com." { ... update-policy local; }; and update using nsupdate -l: $ nsupdate -l > zone example.com > update add foo.example.com 7200 A 1.2.3.4 > send


3

BIND 9 comes with DLZ (http://bind-dlz.sourceforge.net/mysql_driver.html) included already: http://www.nlnet.nl/project/bind-dlz/ As a goodie for DLZ updates perhaps this will also be useful http://www.ducksong.com/bind-dlz-xmlrpc-bridge.php http://code.google.com/p/dnseditor/


3

There's an ongoing "Name Server Control Protocol" effort at the IETF intended to design a common API for performing exactly those functions across different DNS server implementations. See http://dnsccm.org/ for more details, including info about a forthcoming implementation of NSCP.


3

If it's in the UI, it's in the CLI and API. If it's not, it's probably a bug, and we'll probably fix it if you tell us about it. You can get a huge amount of information about a domain using the list-domains function: http://www.virtualmin.com/documentation/developer/cli/list_domains Specifically, the --multiline mode: # virtualmin list-domains --domain ...


3

I googled for "domain registrar api", and came across several seemingly useful results: enom.com opensrs.com resellerclub.com dynadot.com joker.com domainpeople.com And many others, so I suggest you use the power of Google to find one that suits you.


3

How about using the net tool from the Samba package? For instance: net rpc shutdown -S workstation1 -U Administrator -w example.com You may need slightly different command line options such as -k to authenticate with Kerberos; check the man page.


3

You can use winexe. It uses a RPC call to install a service on the target computer, and then uses this service to execute commands on it. You can specify the credentials, and the Linux server doesn't have to be a member of the domain. Beware that it is based on the Samba code though ;)


3

The VMware SDK offers very many complex ways to assess you VMware/vSphere server. If you know Perl, have a look at the munin plugin for VMware. Around line 308 you can see that the datastore performance data (how much is used, committed, unshared) per VM is read out. In the loop above that, the metrics per datastore are acquired. With a little modification ...


2

I think you overestimate how hard this is. In your code just have a counter with redis/memcached/mongodb (1/24 hour counter or hourly/daily counter depending on your needs) and return the appropriate error when the limit has been met. You can either increment the counts right there, or do that asynchronously when processing your logs. For showing the ...


2

The AJAX requests will have a referrer header, which will be set to the page that the request are coming from. You can see this with FireBug on this question: You can filter server-side on this. However it is trivial to fake if the user is determined enough. Another option is to keep an instant log of the requests to your site in the last x minutes, ...


2

Something similar to SSH public keys is SSL client certificate authentication aka 2 way SSL.


2

Its rather a large topic, is your API purely web based? Why is SSL too hard? If you want trusted communications from automated clients and to guaruntee non-repudiation, youre going to need SSL. If your API is accessed from a user session, can you implement 2 factor authentication. Using something like the RSA tokens, or even the google authenticator if they ...


2

If you are hosting the service, then you could setup SSL on your side. There are several options to authenticate the clients. You can use a token like you said in the question. You can use http auth, and have them specify username and password. You can use client SSL certs like Mircea said. You can base it off of the connecting ip address.


2

AFAIK there is no such an API call, however, since the system is under very fast development, you as a customer can submit an RFE through a support ticket, those are usually satisfied with the next version, if they make sense and don't require very heavy changes UPDATE: In RHEV 3.1 there is an API action called allocatevm: <vmpools> <vmpool ...


2

This is by design. You can't use the backup/restore APIs without the proper licensing. You can use something like GhettoVCB to get by, but for real production use, you should license ESXi.


2

Following with @DavidSchwartz and @Matt this looks like a threads, locks managing issue. I suggest: Freeze the external calls and the cache generated for them and run the load test with static external information just to discard any issue not related with server - environment side. Use thread pools if not using them. About external calls you said "We ...


2

Presently only the primary account user can delete virtual interfaces from a server. This is a known bug, since all admins should be able to delete VIFs, and it has been logged with the Dev team.


2

The biggest issue I see is the lack of failover planning. Your API server is a large single point of failure. If it goes down, then nothing works even if your worker servers are still functional. Additionally, if a worker server goes down, then the service that server provides is no longer available. I suggest you look at the Linux Virtual Server project ...


2

if http interface is not strong requirement - take a look at mikrotik, i had reasonably good experience with it on router-board platforms. they are configurable over ssh / telnet. btw - isn't it enough to use radius and put unauthenticated clients to separate vlan with captive portal? all additional things [ firewalling / bandwidth shaping ] could be sorted ...


2

If you can't get the web service checks to work properly, what you need to setup is an external check as described at http://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/external Then you make a shell/perl/php/whatever script that does the checks you want, and prints something like FAILED when the service is down. Your script goes in the ...


2

You can use IAM to create a read-only user. This is simple, you need to create the user in IAM via the AWS console, then you need to assign it a Policy, the policy should say it's a read-only user.


2

If you just need the instance-type then you can write code/script which browse the URL 'http://169.254.169.254/latest/meta-data/instance-type' which returns the instance-type. It doesn't requires AWS account credentials. Ref: http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/index.html?AESDG-chapter-instancedata.html


2

I've asked the same question myself of Rackspace support. They said: ... We are working on a new stats system that will be customer facing, however I do not have any firm ETA on that project. I was also looking for hourly stats on bandwith et al, and they could not do that either. They do have daily numbers, but you have to raise a ticket and ...


2

There is an API written in perl for NConf.


2

I have not tried any of them but there are some FOSS API around for PowerDNS. http://doc.powerdns.com/ http://kennethkalmer.github.com/powerdns-on-rails/ https://github.com/devel/PowerDNS-API#readme http://cpan.uwinnipeg.ca/htdocs/PowerDNS-API-Client/PowerDNS/API/Client/Request.html



Only top voted, non community-wiki answers of a minimum length are eligible