[iyunv@h2 ~]# cd /etc/nova/
[iyunv@h2 nova]# grep metadata nova.conf
# Number of metadata items allowed per instance (integer value)
#quota_metadata_items=128
#enabled_apis=ec2,osapi_compute,metadata
# OpenStack metadata service manager (string value)
#metadata_manager=nova.api.manager.MetadataManager
# The IP address on which the metadata API will listen. (string value)
#metadata_listen=0.0.0.0
# The port on which the metadata API will listen. (integer value)
#metadata_listen_port=8775
# Number of workers for metadata service. The default will be the number of
#metadata_workers=<None>
# List of metadata versions to skip placing into the config drive (string
#vendordata_driver=nova.api.metadata.vendordata_json.JsonFileVendorData
# Time in seconds to cache metadata; 0 to disable metadata caching entirely
# metadata API when under heavy load. Higher values may increase memoryusage
# and result in longer times for host metadata changes to take effect. (integer
#metadata_cache_expiration=15
# The IP address for the metadata API server (string value)
#metadata_host=$my_ip
metadata_host=192.168.1.201 ################主机
# The port for the metadata API port (integer value)
#metadata_port=8775
# Set flag to indicate Neutron will proxy metadata requests and resolve
#service_metadata_proxy=false
# Shared secret to validate proxies Neutron metadata requests (string value)
#metadata_proxy_shared_secret =