setFrontendHost using wlst on WLS 10.3
I'm using wls 10.3 and I'm trying the set the FrontendHost, FrontendHTTPPort and FrontendHTTPSPort for a cluster using wlst, but I'm getting an error. I want to create 1 AdminServer, 3 servers , a cluster and a HTTPProxyApp (ie: 2 Managed Servers for the cluster and a Proxy Server for the HTTPProxyApp). This is the py script that I'm trying to use:
readTemplate('/share/uimcluster/fmw_11gR1PS4/wlserver_10.3/common/templates/domains/wls.jar')
#Configure the Administration Server and SSL port.
cd('Servers/AdminServer')
set('ListenAddress','machine1')
set('ListenPort', 4001)
create('AdminServer','SSL')
cd('SSL/AdminServer')
set('Enabled', 'True')
set('ListenPort', 4501)
#Define the default user password