Friday, February 18, 2022

how to check ntp server enabled to restart on Exadata rack IB switch.

root@myserver 190405201624]# ssh maexsw-ib3 ==>> this is the IB switch. You are now logged in to the root shell. It is recommended to use ILOM shell instead of root shell. All usage should be restricted to documented commands and documented config files. To view the list of documented commands, use "help" at linux prompt. [root@mysever ~]# spsh Oracle(R) Integrated Lights Out Manager Version 2.2.7-1 ILOM 3.2.6 r118629 Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. Warning: HTTPS certificate is set to factory default. Hostname: maexsw-ib3.cccis.com -> show /SP/clients/ntp/server -t Target | Property | Value ------------------------------------------------+--------------------------------------------------------+---------------------------------------------------------------------------------- /SP/clients/ntp/server/1 | address | 0.0.0.0 /SP/clients/ntp/server/2 | address | 0.0.0.0 -> show /SP/clock/ usentpserver /SP/clock Properties: usentpserver = Disabled. Now we need to update the value for the IP being used in any of the ILOM storgae node. lets check what is the right ip in ILOM. [root@myserver 190405201624]# ssh myserverexcel01-ilom.cccis.com Password: ==>> root server password Oracle(R) Integrated Lights Out Manager Version 3.2.10.24 r121108 Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. Warning: HTTPS certificate is set to factory default. Hostname: myserverexcel01-ilom -> show /SP/clients/ntp/server -t Target | Property | Value ------------------------------------------------+--------------------------------------------------------+---------------------------------------------------------------------------------- /SP/clients/ntp/server/1 | address | 172.20.254.49 /SP/clients/ntp/server/2 | address | 0.0.0.0 -> show /SP/clock/ usentpserver /SP/clock Properties: usentpserver = enabled So for the IB switches as well it should be enabled and have the above listed ips. Lets updates in each IB switch. [root@myserver 190405201624]# ssh maexsw-ib1 You are now logged in to the root shell. It is recommended to use ILOM shell instead of root shell. All usage should be restricted to documented commands and documented config files. To view the list of documented commands, use "help" at linux prompt. [root@maexsw-ib1 ~]# spsh Oracle(R) Integrated Lights Out Manager Version 2.2.7-1 ILOM 3.2.6 r118629 Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. Warning: HTTPS certificate is set to factory default. Hostname: maexsw-ib1.cccis.com -> show /SP/clients/ntp/server -t Target | Property | Value ------------------------------------------------+--------------------------------------------------------+---------------------------------------------------------------------------------- /SP/clients/ntp/server/1 | address | 0.0.0.0 /SP/clients/ntp/server/2 | address | 0.0.0.0 -> set /SP/clients/ntp/server/1 address=172.20.254.49 Set 'address' to '172.20.254.49' -> show /SP/clients/ntp/server -t Target | Property | Value ------------------------------------------------+--------------------------------------------------------+---------------------------------------------------------------------------------- /SP/clients/ntp/server/1 | address | 172.20.254.49 /SP/clients/ntp/server/2 | address | 0.0.0.0 -> set /SP/clock/ usentpserver=enabled Set 'usentpserver' to 'enabled' -> -> show /SP/clock/ usentpserver /SP/clock Properties: usentpserver = enabled -> exit We updated the IP and enabled the ntpserver. Lets do the same thing for other two IB switches. [root@myserver 190405201624]# ssh myserver-ib2 You are now logged in to the root shell. It is recommended to use ILOM shell instead of root shell. All usage should be restricted to documented commands and documented config files. To view the list of documented commands, use "help" at linux prompt. [root@myserver-ib2 ~]# [root@myserver-ib2 ~]# [root@myserver-ib2 ~]# [root@myserver-ib2 ~]# spsh Oracle(R) Integrated Lights Out Manager Version 2.2.7-1 ILOM 3.2.6 r118629 Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. Warning: HTTPS certificate is set to factory default. Hostname: myserver-ib2.cccis.com -> set /SP/clients/ntp/server/1 address=172.20.254.49 Set 'address' to '172.20.254.49' -> show /SP/clients/ntp/server -t Target | Property | Value ------------------------------------------------+--------------------------------------------------------+---------------------------------------------------------------------------------- /SP/clients/ntp/server/1 | address | 172.20.254.49 /SP/clients/ntp/server/2 | address | 0.0.0.0 -> set /SP/clock/ usentpserver=enabled Set 'usentpserver' to 'enabled' -> -> -> show /SP/clock/ usentpserver /SP/clock Properties: usentpserver = enabled -> -> -> exit [root@myserver-ib2 ~]# exit logout Connection to myserver-ib2 closed. [root@myserver 190405201624]# ssh maexsw-ib3 You are now logged in to the root shell. It is recommended to use ILOM shell instead of root shell. All usage should be restricted to documented commands and documented config files. To view the list of documented commands, use "help" at linux prompt. [root@maexsw-ib3 ~]# spsh Oracle(R) Integrated Lights Out Manager Version 2.2.7-1 ILOM 3.2.6 r118629 Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. Warning: HTTPS certificate is set to factory default. Hostname: maexsw-ib3.cccis.com -> set /SP/clients/ntp/server/1 address=172.20.254.49 Set 'address' to '172.20.254.49' -> show /SP/clients/ntp/server -t Target | Property | Value ------------------------------------------------+--------------------------------------------------------+---------------------------------------------------------------------------------- /SP/clients/ntp/server/1 | address | 172.20.254.49 /SP/clients/ntp/server/2 | address | 0.0.0.0 -> set /SP/clock/ usentpserver=enabled Set 'usentpserver' to 'enabled' -> show /SP/clock/ usentpserver /SP/clock Properties: usentpserver = enabled -> -> exit After the precheck is run again the IB NTP failure will not show up. Hope this helps! Ahmad

No comments:

Post a Comment