您的位置:首页 > 运维架构

# 运维日志20180213

2018-02-13 18:54 204 查看

1、集群系统时间同步

使用date命令

[root@yanta ~]# date -s "20180213 18:36:00"


使用ntpdate同步时间源

假如你设定的NTP服务的时间源是在ntp服务器上,那么ntpdate后面的参数就是ntp服务器的IP地址或者主机名。

[root@yanta ~]# ntpdate <ntp_ip>


将系统时间写入硬件

查看硬件时间:

[root@yanta ~]# hwclock


同步时间:

[root@yanta ~]# hwclock -w


2、老系统的Lustre文件系统的挂载

老系统的lustre文件系统挂载不再使用mount命令,而是使用lconf命令:

[root@yanta ~]# lconf --node client /etc/8ost.xml


配置文件的更新(8ost.xml):

[root@yanta ~]# lconf --write-conf /etc/8ost.xml


添加:该系统的节点隔离和放开:

# 隔离
[root@yanta ~]# badmin hclose node[x-y]

# 放开
[root@yanta ~]# badmin hopen node[x-y]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  lustre ntpdate hwclock