Sponsored Content
Operating Systems Solaris Enabling time service in local zones Post 302477011 by ERahman on Friday 3rd of December 2010 04:40:27 AM
Old 12-03-2010
It appears that ntp cannot be run from a local zone:

<Apologies, you'll have to google the links - I can't post URL links as I've only made two posts including this one>

Quote:
You'll find that ntp in a non-global zone doesn't actually work. This
is because adjtime(2) is restricted to the global zone.

Quote:
On Sun 12 Feb 2006 at 05:18PM, nawir wrote:
Dear all,

I know from sol10 faq that only global zone can be as ntp server. I already tested that ntp client also work in global zone, but I fail to make ntp client work in local zone. Any idea how to sync time local zone to at least global zone or to free ntp time server

Nawir,
Zones don't each have an independent notion of time-- see the zones FAQ entry entitled "Q: Can some non-global zones have different date and/or time settings (i.e. different clocks)?"
So "zone time" is always exactly the same as "global zone time", so there is no need to run an NTP client in a zone; just run it in your global zone. One less thing to worry about.
Quote:
Q: Can some non-global zones have different date and/or time settings (i.e. different clocks)?

A: Although different zones can ’be’ in different time zones, each zone gets its date and time clock from the same source. This means that the time zone setting gets applied after the current time data is obtained from the kernel.
If you would like the ability to have different clock sources per zone, please add a call record to RFE 5033497. [August 2010]
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

time zones

Hi all, this is my first post so I hope someone can help me. I am currently putting code into a script that is run through the cron on a unix box where the date/time is set to EDT or Eastern Daylight Time but I am in Central Standard time. The program I am adding code to runs every hour and I put... (1 Reply)
Discussion started by: ldgriess
1 Replies

2. AIX

enabling quota for the first time

Hai, I have configured user quota for the /home directry. using #chfs -a "quota = userquota" /home #chfs -a "userquota = /home/myquota.user" /home #edquota tom By entering this command a blank file comes without any entries. when I tried to add entry like follows , bad format... (1 Reply)
Discussion started by: aix_admin
1 Replies

3. Solaris

NFS service : offline after enabling it .

Hi all, i Followed these steps & still not able to get nfs service online ???:( bash-3.2# svcs -a | grep nfs disabled 17:48:02 svc:/network/nfs/cbd:default disabled 17:48:02 svc:/network/nfs/client:default disabled 20:56:06 svc:/network/nfs/status:default offline ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

4. AIX

Convert UTC time to local time ?

Hello, Using AIX6.1 box. I have UTC time value and need to convert it to local time value - I mean time zone and DST should be taken into consideration. I hope it could be done using shell environment - I don't want to write a program. thanks Vilius ---------- Post updated at 02:30 PM... (2 Replies)
Discussion started by: vilius
2 Replies

5. Shell Programming and Scripting

Retrieve all DNS zones (domains) from local server

Hello, I am trying to retrieve all DNS zones from the local bind server without parsing the /var/named folder, removing .db from the zone file names and the special zones files. I am looking for some kind of named, dig etc command that would retrieve all domains from the server eventually with... (2 Replies)
Discussion started by: AndyB78
2 Replies

6. UNIX for Dummies Questions & Answers

Enabling Telnet Service for a particular User only

Hi I want to know, whether we can enable TELNET service for a particular user only while disabling it for rest of the users? If so, then how ? Please help me in this regard (0 Replies)
Discussion started by: kashifsd17
0 Replies

7. Solaris

Solaris 11.2 x86 Local Zones for Oracle RAC database, intermittent Memory corruption of db

Hi, I was wondering if any Solaris fellow out there has dealt with running Solaris 11 x86 on Local Zones for Oracle RAC (which may or may not be relevant to issue), running on HP gen h/w. Every so often could be weeks between issues or some times days, there will be a memory corruption and db... (2 Replies)
Discussion started by: crossmypath
2 Replies
idmapd(1M)						  System Administration Commands						idmapd(1M)

NAME
idmapd - Native Identity Mapping service daemon SYNOPSIS
/usr/lib/idmapd DESCRIPTION
The idmapd daemon maps Windows Security Identifiers (SIDs) to POSIX Identifiers (UIDs/GIDs) and conversely. The idmap(1M) utility provides a front end to the idmapd daemon. FILES
/var/idmap/idmap.db Database in which to store local name-based ID mapping rules. The contents of the database are private. The database should not be accessed or modified directly. /var/run/idmap/idmap.db Database in which to cache ID mappings that are generated by ephemeral ID mapping and by name-based mapping. The contents of the data- base are private. The database should not be accessed or modified directly. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |See below. | +-----------------------------+-----------------------------+ Interface stability for these components is as follows: svc:/system/idmap Committed /var/idmap/idmap.db Project Private /var/run/idmap/idmap.db Project Private SEE ALSO
svcs(1), idmap(1M), svcadm(1M), svccfg(1M), defaultdomain(4), attributes(5), smf(5) NOTES
The idmapd service is managed by the service management facility (SMF). The service identifier for the idmapd service is svc:/system/idmap. Use the svcadm command to perform administrative actions on this service, such as enabling, disabling, or restarting the service. These actions require the solaris.smf.manage.idmap authorization. Use the svcs command to query the service's status. The functionality of this daemon might change in a future release of the Solaris operating system. SunOS 5.11 5 June 2007 idmapd(1M)
All times are GMT -4. The time now is 09:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy