[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] TCP-XMLRPC
SOLVED This script helps me. Is suitable for xen 3.2 on debian. i find them in conventure-tools after them rpc server listen on 0.0.0.0:8006 #!/bin/bash # # This script modifies the xend configuration file: xend-config.sxp # to allow xmlrpc access over tcp and to allow domain relocation # (migration) to all hosts. # # # Author - Haphazard # Copyright (c) 2007 Convirture Corporation # # # This software is subject to the GNU Lesser General Public License (LGPL) # available at: http://www.fsf.org/licensing/licenses/lgpl.txt # ORIGCONFIG="/etc/xen/xend-config.sxp" XEN_VER="3.2" if [ "$1" != "" ]; then XEN_VER="$1" XEN_VER=${XEN_VER:0:3} # major.minor is enough fi if [ "$XEN_VER" != "3.2" ]; then echo "Only Xen 3.2 supported." exit 1 fi USE_SSL="" # check if SSL setup needs to be done or not. if [ "$2" == "SSL" ]; then USE_SSL="SSL" fi OPENSSL=openssl if [ "$USE_SSL" == "SSL" ]; then python -c "import OpenSSL" &> /dev/null if [ "$?" != 0 ]; then echo "pyOpenSSL not found. Please make sure that pyOpenSSL is installed." exit 1 fi echo "Setting up self signed certificates" $OPENSSL version &> /dev/null if [ "$?" != 0 ]; then echo "$OPENSSL not found. Please make sure that openssl is installed and is in path." exit 1 fi # create a respose file for ssl certificate creation # Modify the certificate params for deployment details on response # is as follows # Country Name (2 letter code) # State or Province Name (full name) # Locality Name (e.g. city) # Organization Name (eg, company) # Organizational Unit Name (eg, section) # Common Name (eg, your name or your server's hostname) # Email Address # A challenge password # An optional company name SSL_TEMP_FILE=`mktemp -t open_ssl.res.XXXXXXXXXX` cat < View this message in context: Re: TCP-XMLRPC Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |