rockyeastcoast
asked on
Solaris 10 Day Ligt Savings
Hi Experts,
I am involved in performing the Daylight savings changes. I would like your help to perform this operation. I understand I stop the services (Which the Oracle and SAP team are taking care of) and then bring down the server, but I stand corrected. If that is the procedure I would want to know how to bring down the server including the Cluster, and those servers which are not clustered. Also please provide how to synchrinize all the servers to the clocking source.
I am attaching the architecture, below is some of the details of a M5K server domain:
root@DC2-M5K-2A # uname -a
SunOS DC2-M5K-2A 5.10 Generic_127127-11 sun4u sparc SUNW,SPARC-Enterprise
=== Properties for resource prd-pools-hasp-rs, vuprd009-Z-hasp-rs, boq-pools-hasp-rs, vuboq003-Z-hasp-rs, apa-pools-hasp-rs, box-pools-hasp-rs, vubox007-Z-hasp-rs ===
GlobalDevicePaths
FilesystemMountPoints
AffinityOn
FilesystemCheckCommand
Zpools
=== Properties for resource vuprd009-zone-rs, vuboq003-zone-rs, vuapa006-zone-rs, vubox007-zone-rs ===
Monitor_retry_count
Monitor_retry_interval
Probe_timeout
Child_mon_level
Validate_command
Start_command
Stop_command
Probe_command
Network_aware
Stop_signal
Failover_enabled
Log_level
root@DC2-M5K-2A # clnode show-rev -v
Sun Cluster 3.2 for Solaris 10 sparc
This is rather urgent since the change is this weekend,
Thanks experts.
I am involved in performing the Daylight savings changes. I would like your help to perform this operation. I understand I stop the services (Which the Oracle and SAP team are taking care of) and then bring down the server, but I stand corrected. If that is the procedure I would want to know how to bring down the server including the Cluster, and those servers which are not clustered. Also please provide how to synchrinize all the servers to the clocking source.
I am attaching the architecture, below is some of the details of a M5K server domain:
root@DC2-M5K-2A # uname -a
SunOS DC2-M5K-2A 5.10 Generic_127127-11 sun4u sparc SUNW,SPARC-Enterprise
=== Properties for resource prd-pools-hasp-rs, vuprd009-Z-hasp-rs, boq-pools-hasp-rs, vuboq003-Z-hasp-rs, apa-pools-hasp-rs, box-pools-hasp-rs, vubox007-Z-hasp-rs ===
GlobalDevicePaths
FilesystemMountPoints
AffinityOn
FilesystemCheckCommand
Zpools
=== Properties for resource vuprd009-zone-rs, vuboq003-zone-rs, vuapa006-zone-rs, vubox007-zone-rs ===
Monitor_retry_count
Monitor_retry_interval
Probe_timeout
Child_mon_level
Validate_command
Start_command
Stop_command
Probe_command
Network_aware
Stop_signal
Failover_enabled
Log_level
root@DC2-M5K-2A # clnode show-rev -v
Sun Cluster 3.2 for Solaris 10 sparc
This is rather urgent since the change is this weekend,
Thanks experts.
ASKER
Ok what is my task?
I am confused by your question; depending on where you are located and which Timezone you use you may need to patch. If your timezone has change its dst then you might have to patch.
here are some dst links you need to look at:
http://www.sun.com/bigadmin/hubs/dst/
http://www.sun.com/bigadmin/hubs/dst/systems/
If you are using update 5 of solaris you might not need to apply some of the patches, But YOU will need to verify for you environment. Most patches get applied in single user mode so you will need to fail clustered apps over to the failover box patch and then reboot then bring them back up and do the reverse on the other box.
here are some dst links you need to look at:
http://www.sun.com/bigadmin/hubs/dst/
http://www.sun.com/bigadmin/hubs/dst/systems/
If you are using update 5 of solaris you might not need to apply some of the patches, But YOU will need to verify for you environment. Most patches get applied in single user mode so you will need to fail clustered apps over to the failover box patch and then reboot then bring them back up and do the reverse on the other box.
ASKER
jgiordano,
Thanks so far, Would you provide me the directions to apply this patch, including how to failover the clustered applications and reboot.
Thanks so far, Would you provide me the directions to apply this patch, including how to failover the clustered applications and reboot.
Each patch you download will have a readme in the zip/jar file with the directions. Additionally the download page will also have the directions. It is really impossible for me to give you the instructions on how to apply each patch. And the same goes for failing over your applications. I am not really familiar with Sun Cluster but each application will have specific scripts and an order that you need to adhere to. Most likely this is defined in the cluster software.
ASKER
I understand that you think I need instructions for each patch. Actually I need the instructions for
1. Failing over the applications
2. Change to Single user mode
3. Reboot the global zone and non-globalzone
4. Fail back the applications
1. Failing over the applications
2. Change to Single user mode
3. Reboot the global zone and non-globalzone
4. Fail back the applications
Not sure of the cluster syntax and procedures, but the answer to your questions
changing to single user is -
shutdown -is -y -g0
Rebooting is -
non global zone shutdown - zlogin my-zone shutdown -i 0
global zone reboot - shutdown -i6 -y -g0
non global zone start zoneadm -z my-zone boot
Your environment is fairly complicated. Do you have access to the person(s) who built it? I would really go to them for more details on shutting down and failing over your apps. Bringing down the system into single user mode is a very basic solaris function that you asked about, I would be extremely careful of doing anything in this environment. There are A LOT of complicated configurations.
changing to single user is -
shutdown -is -y -g0
Rebooting is -
non global zone shutdown - zlogin my-zone shutdown -i 0
global zone reboot - shutdown -i6 -y -g0
non global zone start zoneadm -z my-zone boot
Your environment is fairly complicated. Do you have access to the person(s) who built it? I would really go to them for more details on shutting down and failing over your apps. Bringing down the system into single user mode is a very basic solaris function that you asked about, I would be extremely careful of doing anything in this environment. There are A LOT of complicated configurations.
ASKER
I am expecting someone to help me here.
ASKER
Could anyone help me applying the patch for the daylight savings time in a single user mode:
I need to perform these operations :
1. Failing over the applications
2. Change to Single user mode
3. Reboot the global zone and non-globalzone
4. Fail back the applications
I need to perform these operations :
1. Failing over the applications
2. Change to Single user mode
3. Reboot the global zone and non-globalzone
4. Fail back the applications
First, don't panic, since it is Solaris 10, it is likely that the patch is not needed.
here is how to tell.
Open a terminal
type echo $TZ
you will get something like
US/Central
Run the following command string;
zdump -v US/Central |grep 2008
you will get something like;
US/Central Wed Oct 29 03:26:28 2008 UTC = Tue Oct 28 22:26:28 2008 CDT isdst=1
US/Central Sun Mar 9 07:59:59 2008 UTC = Sun Mar 9 01:59:59 2008 CST isdst=0
US/Central Sun Mar 9 08:00:00 2008 UTC = Sun Mar 9 03:00:00 2008 CDT isdst=1
US/Central Sun Nov 2 06:59:59 2008 UTC = Sun Nov 2 01:59:59 2008 CDT isdst=1
US/Central Sun Nov 2 07:00:00 2008 UTC = Sun Nov 2 01:00:00 2008 CST isdst=0
The important part of the output is the bottom 2 lines. If they say Nov 2 like the output above, then you have nothing to do.
Let me know what you find...
here is how to tell.
Open a terminal
type echo $TZ
you will get something like
US/Central
Run the following command string;
zdump -v US/Central |grep 2008
you will get something like;
US/Central Wed Oct 29 03:26:28 2008 UTC = Tue Oct 28 22:26:28 2008 CDT isdst=1
US/Central Sun Mar 9 07:59:59 2008 UTC = Sun Mar 9 01:59:59 2008 CST isdst=0
US/Central Sun Mar 9 08:00:00 2008 UTC = Sun Mar 9 03:00:00 2008 CDT isdst=1
US/Central Sun Nov 2 06:59:59 2008 UTC = Sun Nov 2 01:59:59 2008 CDT isdst=1
US/Central Sun Nov 2 07:00:00 2008 UTC = Sun Nov 2 01:00:00 2008 CST isdst=0
The important part of the output is the bottom 2 lines. If they say Nov 2 like the output above, then you have nothing to do.
Let me know what you find...
ASKER
The output on the SPARC servers and Ix86 servers are as below.
-bash-3.00$ bash
bash-3.00$ echo $TZ
US/Central
bash-3.00$ zdump -v US/Central |grep 2008
US/Central Wed Oct 29 15:39:52 2008 UTC = Wed Oct 29 10:39:52 2008 CDT isdst=1
US/Central Sun Mar 9 07:59:59 2008 UTC = Sun Mar 9 01:59:59 2008 CST isdst=0
US/Central Sun Mar 9 08:00:00 2008 UTC = Sun Mar 9 03:00:00 2008 CDT isdst=1
US/Central Sun Nov 2 06:59:59 2008 UTC = Sun Nov 2 01:59:59 2008 CDT isdst=1
US/Central Sun Nov 2 07:00:00 2008 UTC = Sun Nov 2 01:00:00 2008 CST isdst=0
bash-3.00$
-bash-3.00$ bash
bash-3.00$ echo $TZ
US/Central
bash-3.00$ zdump -v US/Central |grep 2008
US/Central Wed Oct 29 15:39:52 2008 UTC = Wed Oct 29 10:39:52 2008 CDT isdst=1
US/Central Sun Mar 9 07:59:59 2008 UTC = Sun Mar 9 01:59:59 2008 CST isdst=0
US/Central Sun Mar 9 08:00:00 2008 UTC = Sun Mar 9 03:00:00 2008 CDT isdst=1
US/Central Sun Nov 2 06:59:59 2008 UTC = Sun Nov 2 01:59:59 2008 CDT isdst=1
US/Central Sun Nov 2 07:00:00 2008 UTC = Sun Nov 2 01:00:00 2008 CST isdst=0
bash-3.00$
ASKER
Thank you arthurjb for that insight. My question is what is the purpose of the DST patches 128300-04, which I am planning to apply? Thanks again.
Well, that is a good question that can be answered with another question, Why do you think you need this patch?..
Here is the Sun description page for the patch;
http://sunsolve.sun.com/search/document.do?assetkey=1-21-128300-04-1
This seems to be a patch for servers located outside the United States;
6674462 update zoneinfo timezones 2008b (Chile, Argentina, Cuba, Iraq, Syria)
6706537 update zoneinfo timezones to 2008c (Mongolia, Morocco, Pakistan)
If you are located in the US, this patch may not be necessary.
Did you run the commands I suggested?
Here is the Sun description page for the patch;
http://sunsolve.sun.com/search/document.do?assetkey=1-21-128300-04-1
This seems to be a patch for servers located outside the United States;
6674462 update zoneinfo timezones 2008b (Chile, Argentina, Cuba, Iraq, Syria)
6706537 update zoneinfo timezones to 2008c (Mongolia, Morocco, Pakistan)
If you are located in the US, this patch may not be necessary.
Did you run the commands I suggested?
ASKER
Yes it is posted in my previous posts. Ok are you sure it is not required, since your statement says 'may not be necessary'?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you arthurjb.
NTP is configured as follows -
1. cd to /etc/inet
2. create and edit /etc/inet/ntp.conf
3. sample ntp.conf file
======================
server <IP>
server <IP>
driftfile /etc/inet/ntp.drift
statsdir /var/ntp
======================
4. touch /etc/inet/ntp.drift
5. svcadm enable network/ntp
and thats is it.