MPD configuration [In progress]


In your home folder create


vi .mpd.conf
MPD_SECRETWORD=abc // write this line

In your home folder create

vi mpd.hosts

add hostname list here like
ws01
ws02
ws03
Copy “mpd.hosts” and “.mpd.conf” file to remote all servers by following command

scp mpd.hosts remote-host-name:~/.
scp .mp.conf remote-host-name:~/.

Commands:

To run mpd in background:

mpd &

To show ring information including “server names, port of mpd, ip of servers in cluster”

mpdtrace -l

output:
ws01_45842 (10.0.0.101)
remotehostname_mpdtrace (cluster ip)

mpicc filename.c

default output
a.out

mpicc filename.c -o custom_name

Advertisements

I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

StackOverFlow
Categories
Archives
%d bloggers like this: