Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gearman_client_add_server(3) [debian man page]

GEARMAN_CLIENT_ADD_SERVER(3)					     Gearmand					      GEARMAN_CLIENT_ADD_SERVER(3)

NAME
gearman_client_add_server - Gearmand Documentation, http://gearman.info/ SYNOPSIS
#include <libgearman/gearman.h> gearman_return_t gearman_client_add_server(gearman_client_st *client, const char *host, in_port_t port) gearman_return_t gearman_client_add_servers(gearman_client_st *client, const char *servers) void gearman_client_remove_servers(gearman_client_st *client) DESCRIPTION
gearman_client_add_server() will add an additional gearmand server to the list of servers that the client will take work from. gearman_client_remove_servers() will remove all servers from the gearman_client_st. gearman_client_add_servers() takes a list of gearmand servers that will be parsed to provide servers for the client. The format for this is SERVER[:PORT][,SERVER[:PORT]]... Examples of this are:: 10.0.0.1,10.0.0.2,10.0.0.3 localhost234,jobserver2.domain.com:7003,10.0.0.3 RETURN VALUE
gearman_client_add_server() and gearman_client_remove_servers() return gearman_return_t. HOME
To find out more information please check: http://gearman.info/ See also gearmand(8) libgearman(3) gearman_client_st AUTHOR
Data Differential http://www.datadifferential.com/ COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/ 0.33 May 04, 2012 GEARMAN_CLIENT_ADD_SERVER(3)

Check Out this Related Man Page

GEARMAN_WORKER_REMOVE_SERVERS(3)				     Gearmand					  GEARMAN_WORKER_REMOVE_SERVERS(3)

NAME
gearman_worker_remove_servers - Gearmand Documentation, http://gearman.info/ SYNOPSIS
#include <libgearman/gearman.h> gearman_return_t gearman_worker_add_server(gearman_worker_st *worker, const char *host, in_port_t port) gearman_return_t gearman_worker_add_servers(gearman_worker_st *worker, const char *servers) void gearman_worker_remove_servers(gearman_worker_st *worker) Link with -lgearman DESCRIPTION
gearman_worker_add_server() will add an additional gearmand server to the list of servers that the worker will take work from. gearman_worker_remove_servers() will remove all servers from the gearman_worker_st. gearman_worker_add_servers() takes a list of gearmand servers that will be parsed to provide servers for the worker. The format for this is SERVER[:PORT][,SERVER[:PORT]]... Examples of this are: 10.0.0.1,10.0.0.2,10.0.0.3 localhost234,jobserver2.domain.com:7003,10.0.0.3 RETURN VALUE
gearman_worker_add_server() and gearman_worker_remove_servers() return gearman_return_t. HOME
To find out more information please check: http://gearman.info/ See also gearmand ../libgearman gearman_worker_st AUTHOR
Data Differential http://www.datadifferential.com/ COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/ 0.33 May 04, 2012 GEARMAN_WORKER_REMOVE_SERVERS(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

servers types

dear sir , i would like to ask about sun solaries servers generations ? i hear about sparc and ultra . i want to know the versions , and is there other servers types ?? Thank (3 Replies)
Discussion started by: tamemi
3 Replies

2. AIX

HACMP (Again)

Hello I am a noobie to HACMP I have 2 55A servers and a 7031 disk subsystem For HACMP to work, do I need to have the hdisks on both servers to match the same drives?? The hdisks on each box are currently different: hdisk0 and hdisk1 are the internal disks and hdisk2-5 are on the D24 on... (1 Reply)
Discussion started by: mhenryj
1 Replies

3. AIX

"Out of Memory" after reboot for only Tuxedo DB servers on AIX 5.3

Hello all, I am working on an AIX 5.3L machine. I am currently trying to work on getting all of my Tuxedo servers booted for my app. However, some of these servers also use the Oracle 10g R2 client to connect to the 10g2 DB. AT FIRST, everything was working fine. Anyway, one night all... (3 Replies)
Discussion started by: swvahokie
3 Replies

4. UNIX for Dummies Questions & Answers

what's the Linux|Unix OSes works on Servers

Hi everybody , I'm new here in the forum and new Dummy in L|U systems (Hope finding welcomes...:)). I just want to ask : What is the OS's that works on servers and the OS's that work as client OS?? I just know that Solaris Work on sarvers :D.. and i'm glad to be memmber in this... (1 Reply)
Discussion started by: derbi
1 Replies

5. UNIX for Dummies Questions & Answers

No Responses from ALOM using NET MGNT PORT on SunFire v245

Please Help... I have two sunfire V245 servers running Apache on Solaris 5.10. Both servers have the same settings and apps. Before we used serial port to connect to ALOM 1.6. We switched to net mgnt port because of virtualization of all our servers. Situation: Server 1 applied the solaris... (1 Reply)
Discussion started by: glieu
1 Replies

6. UNIX for Dummies Questions & Answers

Parameters to check while differentiating two servers

Hi All, I have two solaris servers. Please tell me what all parameters i can check to find out the difference between two servers. how to differentiate based on H/W,S/W etc like i have two servers spdwa013 $ uname -an SunOS spdwa013 5.8 Generic_117350-61 sun4u sparc SUNW,Sun-Fire-480R ... (1 Reply)
Discussion started by: usha rao
1 Replies

7. Shell Programming and Scripting

Dereferencing (?) in Perl

Hi, i want to print the mail exchange servers for a domain using the code below, the problem is that i just get the memory locations (?) of the elements in the output, instead of the mx servers. I really tried to find a solution, but i guess that i just don't get it (objects, OOP etc).. :) ... (2 Replies)
Discussion started by: mjoh
2 Replies

8. Programming

Would you please give me some idea about single client and multiple servers

Hi, I have a program which needs to connect multiple servers at the same time. The program has to collect data from each of servers and then make a decision regarding to the data received. There are several requirements. 1. Server (s) may shutdown anytime without any ack (e.g.power... (1 Reply)
Discussion started by: sehang
1 Replies

9. Shell Programming and Scripting

Compare two directories in different servers

I have a requirement. I need to write a shell script which will compare two directories residing in two different servers (SERVER A and SERVER B) and list out the discrepancies if found any. Script will be running from SERVER A. Please help. (2 Replies)
Discussion started by: freakysk
2 Replies

10. Solaris

IP address conflict

Hi, I am currently working on 2 SPARC-ENTREPRISE T5220 (cluster servers), named SERVER 3A and SERVER 3B. Both servers have their own Ip ADRESS and share 1 Virtual IP adress to share applications....... Both servers are available , but can't communicate together right now. For example, from... (8 Replies)
Discussion started by: feg
8 Replies

11. Shell Programming and Scripting

who function

At work we have 5 servers. I would like to write a script that would list all users on the servers (network). So I would not have to log into each servers and type in "who". This will allow me to earily use the "sendnote" function. Any ideas? (9 Replies)
Discussion started by: david6789
9 Replies

12. Shell Programming and Scripting

Bash Sockets ?

hey all, I have got these two examples of sockets: #!/bin/bash # Config NICK="UNIX-bot" SERVER="example" PORT=5555 CHANNEL="#de" exec 3<>/dev/tcp/${SERVER}/${PORT} echo "NICK ${NICK}" >&3 echo "USER ${NICK} 8 * : ${NICK}" >&3 echo "JOIN ${CHANNEL}" >&3 cat <&3 (1 Reply)
Discussion started by: eawedat
1 Replies

13. What is on Your Mind?

Where to get AIX box/servers for practice?

where I'm working does not have any AIX box/servers for testing eventhough we're not heavily invested on UNIX. It is just sometimes there are a few client's servers that need AIX related stuff to be done. last time I checked, I could find old AIX tower on ebay but there's no more. p/s: on job... (4 Replies)
Discussion started by: malayo
4 Replies

14. Shell Programming and Scripting

Script to find Error: rpmdb open failed on list of servers

Hello all, I have a task to patch red hat servers and some servers have a corrupted rpm database and return the error: Error: rpmdb open failed I know how to fix this when it occurs. What I'm hoping to do is scan a list of servers by IP and report back which server have this error. ... (6 Replies)
Discussion started by: greavette
6 Replies

15. UNIX for Beginners Questions & Answers

File Management: Removing of files from Server2 IF the same file is removed from Server1.

Hi Folks, I have a requirement of file management on different servers. Source Server is SERVER-A. Two servers will fetch files from SERVER-A: SERVER1 and SERVER2. 4th SERVER is SERVER-B, It will fetch files from SERVER1. If SERVER1 goes DOWN, SERVER-B will fetch pending files from... (2 Replies)
Discussion started by: Raza Ali
2 Replies