- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing timezone
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 10:01 PM
тАО01-12-2009 10:01 PM
Just want to check if this is the correct way of changing timezone :
set_parms MET-1METDST
Then reboot the server. Is that all?
Issuing the "set_parms" command will automatically update "/etc/TIMEZONE", right? There's no need for me to manually edit this file, right?
Also, how do I check if the server indeed has "MET-1METDST"?
Thanks !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 10:24 PM
тАО01-12-2009 10:24 PM
Re: changing timezone
you can check the time zone change using date command. It will show you current date,time and the time zone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 10:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 11:13 PM
тАО01-12-2009 11:13 PM
Re: changing timezone
U need to do take the help of the command as
#set_parms timezone
that will guide to set up a new time zone.
and yes if u do this using the #set_parms timezone , u need not edit the file /etc/TIMEZONE manually.
to check the current timezone set u can see the O/P s of the following commands.
#date
#cat /etc/TIMEZONE
\Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 11:21 PM
тАО01-12-2009 11:21 PM
Re: changing timezone
@Dennis : can you elaborate on the editing of the file? Does it mean I vi the "/etc/TIMEZONE" and replace whatever timezone to MET-1METDST?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 11:27 PM
тАО01-12-2009 11:27 PM
Re: changing timezone
Yes, it is that easy, replace what's at that XXXX:
TZ=XXXX
export TZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 11:57 PM
тАО01-12-2009 11:57 PM
Re: changing timezone
i should reboot the server after this, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2009 01:54 AM
тАО01-13-2009 01:54 AM
Re: changing timezone
when u do a chage in the timezone using the #set_parms timezone
u will be prompted for a system reboot to take place.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2009 02:01 AM
тАО01-13-2009 02:01 AM
Re: changing timezone
if u edit the TZ even by using the set_parms or by editing the /etc/TIMEZONE, and do not make a reboot, the date shows the earlier TIMEZONE only.
as u can also see the timezone in the commands
#date
#set
#env
So i think a reboot is required for the settings to take effect.
Suggested way of doing the same is using the #set_parms timezone as u will not need to worry for editing the /etc/TIMEZONE and on reboot ur system will get a New Time Zone.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2009 02:18 AM
тАО01-13-2009 02:18 AM
Re: changing timezone
Please find the following thread that will be useful.
Please see what the GURUS RAC and Stephenson have to say about the timezone.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=733432
Also this one
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=113057\
say what Rita says.
Regards
Sujit