In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Set up a boot auto-run script in AIX
System environment:
Operating system: AIX 5300-08
On AIX, level 2 runs the default level for the system (multi-user, multi-task, graphics supported)
[root@aix211 /] # who-r
. Run-level 2 May 20 11:35 20 S
[root@aix211 /] # cd / etc/rc.d/rc2.d/
[root@aix211 rc2.d] # ls-l
Total 24
Lrwxrwxrwx 1 root system 13 May 8 15:22 K96init.crs-> / etc/init.crs
Lrwxrwxrwx 1 root system 14 Sep 12 2013 K96init.cssd-> / etc/init.cssd
1 root system 363 Aug 30 2013 Kradiusd
Lrwxrwxrwx 1 root system 13 May 8 15:22 S96init.crs-> / etc/init.crs
Lrwxrwxrwx 1 root system 14 Sep 12 2013 S96init.cssd-> / etc/init.cssd
1 root system 363 Aug 30 2013 Sradiusd
-root system xr May 20 11:23 Src.local
[root@aix211 rc2.d] # cat Src.local
S system startup script
K system shutdown script
Nfso-o nfs_use_reserved_ports=1
Mount-o rw,bg,hard,intr,rsize=65536,wsize=65536,timeo=600,vers=3,sec=sys rhel152:/backup/cuug11/storage21 / backup
After booting, the system mounts the remote NFS file system automatically.
Note:
NFS MOUNT parameters:
When NFS is loaded on the NFS client, the system asks whether to use soft-mount or hard-mount. What is the difference between them?
The difference between them is that when a network or NFS server-side failure occurs, choosing the hard-mount option will cause the NFS client program to hang, while soft-mount will not.
Soft-mount: the number of times set by the retrans to retry when the client loads the NFS unsuccessfully. If the retrans is unsuccessful, the operation is abandoned and the error message "Connect time out" is returned
Hard-mount: when the client loads the NFS unsuccessfully, retry until the NFS server responds. Hard-mount is the default value for the system. When selecting hard-mount, it is best to select intr at the same time to allow you to interrupt the call request of the system and avoid causing the system to hang. When the NFS server cannot respond to the hard-mount request from the NFS client, the NFS client displays the
"NFS server hostname not responding, still trying"
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.