取消
顯示結果 
搜尋替代 
您的意思是: 

關於/etc/clua_services的設定

關於/etc/clua_services的設定

在/etc/clua_services其中有兩種寫法

1)in_no_alias - A service port that will not receive inbound alias messages

2)out_alias - The default cluster alias is used as the source address for outbound traffic

請問如果這裡的outbound是只對外的ip traffic

那inbound是指哪裡呢?何時會用到這種設定
2 回覆

關於/etc/clua_services的設定

Hi Joey,



Both "in_noalias" and "out_alias" are controlled by the configuration file "/etc/clua_services". See



# grep in_noalias /etc/clua_services |head

# in_noalias this port will not receive inbound alias messages

finger 79/tcp in_noalias

auth 113/tcp in_noalias # not cluster-wide

snmp-rt 167/udp in_noalias #

who 513/udp in_noalias,static # per-node service

talk 517/udp in_noalias,static

ntalk 518/udp in_noalias,static

route 520/udp in_noalias,static

#new-rwho 550/udp in_noalias,static

#rmonitor 560/udp in_noalias,static



Describe the "in_noalias" as "man clua_services" as below:

# man clua_services

.



Because the who service has the in_noalias attribute set, the alias subsys-

tem will reject who requests made to a cluster alias. A who request must be

made directly to a member of the cluster.

.



All of included "in_noalias" services are only made directly to a member not use a cluster alias.



Best regards,

Richard.

關於/etc/clua_services的設定

Hi Joey,



> 那inbound是指哪裡呢?何時會用到這種設定



For example:

Both cluster hostname are defined to "hostA" and "hostB". It has a cluster name called "hostC"!



If the finger is enable to run from the /etc/inetd.conf default setting as

#finger stream tcp nowait root /usr/sbin/fingerd fingerd

Changed to

finger stream tcp nowait root /usr/sbin/fingerd fingerd



It run well these commands as below:

# finger root

# finger root@hostA -or

# finger root@hostB



But failed to run

# finger root@hostC

==> Due to it rejected by "in_noalias" setting on finger!



Regards,

Richard.