Enable stunnelng in XCP

XCP provides stunnelng(stunnel next generation) and allow user replace stunnel with stunnelng.

In order to enable this configuration, follow these steps:

1. Edit the file /etc/xensource/xapi.conf and add ‘stunnelng = true’ at the end
of the file or alternatively:

echo ‘stunnelng = true’ >> /etc/xensource/xapi.conf

2. Add ‘-v -l </path/to/logfile&gt;’ to the xapissl init script in line 93,
or alternatively using the following command:

sed -i ‘s/\/usr\/sbin\/stunnelng/& -v -l \/tmp\/xapi_log/g’ /etc/init.d/xapissl

3. Stop stunnel/start stunnelng:
pkill stunnel
/etc/init.d/xapissl start

The step 2 is optional, depends on do you need log.

The original guide is here: http://goo.gl/SvWB4



WordPress.com Logo

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

Twitter picture

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


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

Google+ photo

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

連結到 %s

%d 位部落客按了讚: