Are zones supported with scalable services?

Howdy,

Is it possible to use scalable services with SUNW.apache in a non-global zone? The concepts guide seems to indicate that it's possible to combine scalable services and zones, but I don't see any mention of this in the Apache data services guide. I tried to configure an Apache resource in a scalable resource group for the heck of it, but it bombs out:

$ clresource create --verbose -g apache-rg -t SUNW.apache -p Port_list=80/tcp \

-p Scalable=true -p bin_dir=/usr/apache2/bin apache-res

clresource: (C189917) VALIDATE on resource apache-res, resource group apache-rg, exited with non-zero exit status.

clresource: (C720144) Validation of resource apache-res in resource group apache-rg on node snode2:zone1 failed.

clresource: (C891200) Failed to create resource "apache-res".

The zones (there are two zones anmed zone1, one running on each node) are up and operational, and I verified that the version of Apache in /usr/apache2/bin starts and stops correctly. If scalable services are supported, would I need to do anything special with the zones network configuration in zonecfg?

Thanks for any insight,

- Ryan

[1185 byte] By [matty_91a] at [2007-11-27 1:55:26]
# 1

Yes it is possible. Unfortunatly you did not list the complete steps you did before, e.g. how did you create the scalable apache-rg? Did you create a failover RG with the scalable IP address?

Let me give you an example that works for me:

# clrg create -n node-a:zone1,node-b:zone1 shared-ip-rg

# clressharedaddress create -g shared-ip-rg scalable-ip

# clrg online -eM shared-ip-rg

# clrg create -S -n node-a:zone1,node-b:zone1 apache-rg

# clresource create -g apache-rg -t SUNW.apache -p resource_dependencies=scalable-ip

-p Port_list=80/tcp -p scalable=true -p bin_dir=/usr/apache2/bin apache-rs

# clrg online -eM apache-rg

You need to check /var/adm/messages on both nodes on order to find out why validate failed for you.

Greets

Thorsten

Thorsten.Frueaufa at 2007-7-12 1:28:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...