Hello Mathivanan,
I really appreciate your help on this! It seems works! From 'ifconfig -a', we
can see the vip:
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
But how can we validate this virtual IP works? I use "ping" command, but it
says "Destination Host Unreachable".
Besides, I must say that in the former attached code, the netmask length is
invalid; I modified the code like below:
int g_vip_mask = 0xffffff;
... ... ... ...
int vip_mask_len;
m_NCS_IPV4_MASK_LEN_P(vip_mask_len,&g_vip_mask); // the netmask is 24 bit long
Best Regards,
Qiao Lei
while(1){
Problem *newProblem = new Problem();
solveProblem(newProblem);
cout<<"This is the life!"<<endl;
}
尽力而为还不够,得竭尽全力才行。
-----邮件原件-----
发件人: Mathivanan Np-G19859 [mailto:[EMAIL PROTECTED]
发送时间: 2007年12月28日 20:40
收件人: Qiao, Lei (TSG-GDCC-CMEP/SH); [email protected]
主题: RE: [Users] IfSv installs virtual IP address
failed:NCSCC_RC_VIP_INTERNAL_ERROR
> Install virtual IP address failed!
>
> NCS_IFSV_VIP_ERRORS: 12
> NCS_IFSV_VIP_ERRORS: NCSCC_RC_VIP_INTERNAL_ERROR
>
> NCS_IFSV_VIP_HANDLE: vipApplName == ifsv_app_test
> NCS_IFSV_VIP_HANDLE: poolHdl == 12345
>
> Free virtual IP address failed!
>
The "Ifsv IP installer" process has to be started manually for using the VIP
feature.
The IFD (Interface Service Director) interacts with this IFSv IP Installer" for
getting/managing information of existing physical interfaces and installing
VIPs on them.
By default, this driver is not started while starting opensaf, so we have to
start this explicitly(after starting opensaf) like as below:
cd /opt/opensaf/controller/bin/
export LD_LIBRARY_PATH=/opt/opensaf/controller/lib
./ncs_ifsv_ip_installer 2
Regards,
Mathivanan.
> NCS_IFSV_VIP_ERRORS: 8
> NCS_IFSV_VIP_ERRORS: NCSCC_RC_INVALID_PARAM
>
>
> Unsubscribe handle: g_subscr_hdl == -16777214
>
> Unsubscribe to interface service successfully!
>
> [EMAIL PROTECTED] ifsv_test]#
>
>
> Best Regards,
>
> Qiao Lei
>
> while(1){
> Problem *newProblem = new Problem();
> solveProblem(newProblem);
> cout<<"This is the life!"<<endl;
> }
>
> 尽力而为还不够,得竭尽全力才行。
>
>
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users