Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Hipath 4kV8 NTP configuration question

Hipath 4kV8 NTP configuration question

Hipath 4kV8 NTP configuration question

I've got a Hipath 4kV8. I'm at R1.19.3. I was shown a long time back how to set the IP address for the NTP server in YAST, but, if I remember right, that's not the place to set it anymore.
For the life of me I can't find where to set it now. I didn't find anything in the Wiki.
What am I missing? Thanks.

RE: Hipath 4kV8 NTP configuration question

I found a note from the tech that helped upgrade my system that says: "No longer change NTP. Will corrupt XML file."

RE: Hipath 4kV8 NTP configuration question

To check NTP
service ntp status

Putty SSH to eth0 of each processor:
Logon root/hicom
'network services' tab 'NTP configuration'

RE: Hipath 4kV8 NTP configuration question

That's how we set it up in class in V6 + V7 ....
You do have to be careful with Yast though!
As far as I understand it, don't ever change time/date with the Linix commands.

Don Bruechert, Voice Comm Analyst II
CareTech Solutions @ Holy Family Memorial
Manitowoc, WI, USA

RE: Hipath 4kV8 NTP configuration question

Yast changes are not allowed in V8. If you do it, will it work? Sure. But your config doesn't then match the XML file and is liable to be overwritten.

The only way is reconfigure the XML.

cd /var/opt/firstinstall
./firstinst-netw.sh -w

The line above recreates the config XML file.
Open that file in vi. Change the current NTP server or add a new one, You want an entry under node 1, and the same under node 2 if it's duplex. But if it is duplex, you have to edit on the other node too. Your line should look like below

<entry key="customer-ntp.server.0"></entry>

Then save the file, and push the change in using the firstinst-netw script and your edited filename.

./firstinst-netw.sh -s ntp firstinst-netwtherestofyourfilename.xml

Do it on both nodes.
There is no loss of service.

You can check the change with
service ntp status

RE: Hipath 4kV8 NTP configuration question

Sorry sbcsu and donb01 I was too vague. I meant how to change the NTP pointer, not how to create it.
I went to class for the v4 (on my V6), so it's been a while. I remember using Yast.
I was only able to modify the time in the V6 system by modifying the Offset. That can be done in ComWin, even in V8.

Thanks for the information Moriendi.
I'm afraid that it's a little too technical for me. I am not terrible good with computers. I tried looking around the system for the opt folder, but did not find the firstinstall folder under it. Under opt I've only got the "gnome" folder.
I was using ComWin to search.

So I figured it had to do something with Putty, so I installed Putty, and managed to get logged into COR-A using sbcsu's suggestion of "Putty SSH to eth0". I even tried the "service ntp status" and got a response, which showed I was doing something right.

I've even got to this part:
cd /var/opt/firstinstall
./firstinst-netw.sh -w

In the folder before I ran that (once I learned how to list files), there were these files:
firstinst-netw-HOST-(hostname)-SYS1-(mac address).xml

I noticed that a new file was created:
firstinst-netw-HOST-(hostname)-COR-A-(mac address).xml

Before I go any farther, I just wanted to make sure this all looked correct for now.

RE: Hipath 4kV8 NTP configuration question

I'm looking into how to use vi.

Just to check:

...push the change in using the firstinst-netw script and your edited filename.

is done by:
./firstinst-netw.sh -s ntp firstinst-netwtherestofyourfilename.xml ?

Also, as the old filename has the mac address in it, does it matter if I don't have it in there?


RE: Hipath 4kV8 NTP configuration question

That looks OK.

It looks inside the file for the MAC, so the filename doesn't need it, but it does need to start firstinst-netw like you can see it does. But why change it? Just leave the file as it generates it.

I would move those xml files elsewhere and generate new.

cd /var/opt/firstinstall
mv *.xml /tmp
./firstinst-netw.sh -w

That will generate a file with all the current config in it. The files you moved to /tmp, maybe they're right, maybe they're not, who cares. Just generate a new one and you know it is right.

Edit that file it has created and replace the NTP address. Then use the firstinst file with "-s ntp" switch like I mentioned above.

You need to do it on both nodes. On COR-A, change it under the node1 parameters in the XML (you will see common, node1, node2) Ib the other node, change it under node 2.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close