05-17-2013
Advanced Sysconfig use when building non-global zones in Solaris 11
I'm in an LDOM. I'm building non-global IP exclusive zones. I am using manifests and profiles to configure the system after install so I don't have to tab through the sysconfig startup dialog everytime I boot a system the first time for settings that never change (DNS, regional data, NTP etc). I have everything working through the profile accept if I use the profile to ARP for a DHCP address on a nic I can't request a hostname from DNS so that DNS gets updated. DNS is on a MS Domain Controller.
If I do this manually I can use IPADM that allows for -h hostname when you do the create-addr but that requires manual intervention and I am building ALOT of zones. I want to minimize post build config as much as possible and even if I ARP DHCP automatically with sysconfig profiles I still have to go unconfigure and reconfigure the address to get the DNS entry updated.
any ideas?
6 More Discussions You Might Find Interesting
1. Solaris
Hi Guys,
My requirement is I have file called /opt/orahome/.profile in non global zone.
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:.
export PATH
PS1="\${ORACLE_SID}:`hostname`:\$PWD$ "
export PS1
EDITOR=vi
export EDITOR
ENV=/opt/orahome/.kshrc
export ENV... (1 Reply)
Discussion started by: vijaysachin
1 Replies
2. Solaris
Hi guru
Could any one help me by letting me know, how to see global hostname by logging in non global zones
Regards (2 Replies)
Discussion started by: girish.batra
2 Replies
3. Solaris
I have a few non-globa zones running in a 10.10.xx.xx network on a machine that is on a 192.168.xx.xx network.
My goal is to allow each of the non-global zones to communicate to each other while not communicating on the 192.168.xx.xx network.
I am using the current version of Solaris 10 in... (7 Replies)
Discussion started by: BradJM
7 Replies
4. Solaris
when I create a new zone either via zfs export template or installing the OS from the .iso I get a weird problem. once I create the zone and login for the first time to the console I get the sysconfig menu. I do the config setup and exit the zone boots normally. The next time I reboot, I have to do... (0 Replies)
Discussion started by: os2mac
0 Replies
5. Solaris
Hi all - not really a problem as such, but just hoping someone can shed some light.
We point rexplorer to multiple Global zones and it works as expected. However, each Non-Global zone get around a hundred of root su'ing to root messages, i.e.:
SU 07/14 03:02 + ??? root-root
SU 07/14 03:02 +... (5 Replies)
Discussion started by: dlam
5 Replies
6. Solaris
Issue is : We have Solaris Global with 12 Zones and some have 15 Zones. All the OS version are10.
Is it possible to apply patch at Zone level instead of patching at Global level? Please let me know. (10 Replies)
Discussion started by: baladelaware73
10 Replies
LEARN ABOUT MOJAVE
curlopt_dns_cache_timeout
CURLOPT_DNS_CACHE_TIMEOUT(3) curl_easy_setopt options CURLOPT_DNS_CACHE_TIMEOUT(3)
NAME
CURLOPT_DNS_CACHE_TIMEOUT - set life-time for DNS cache entries
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_CACHE_TIMEOUT, long age);
DESCRIPTION
Pass a long, this sets the timeout in seconds. Name resolves will be kept in memory and used for this number of seconds. Set to zero to
completely disable caching, or set to -1 to make the cached entries remain forever. By default, libcurl caches this info for 60 seconds.
The name resolve functions of various libc implementations don't re-read name server information unless explicitly told so (for example, by
calling res_init(3)). This may cause libcurl to keep using the older server even if DHCP has updated the server info, and this may look
like a DNS cache issue to the casual libcurl-app user.
Note that DNS entries have a "TTL" property but libcurl doesn't use that. This DNS cache timeout is entirely speculative that a name will
resolve to the same address for a certain small amount of time into the future.
DEFAULT
60
PROTOCOLS
All
EXAMPLE
TODO
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_DNS_USE_GLOBAL_CACHE(3), CURLOPT_DNS_SERVERS(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_DNS_CACHE_TIMEOUT(3)