Alren_huang_136
Jan 24, 2014Nimbostratus
Change VS TYPE from standard to fastL4 by icontrol
Hi,
I try to change vs type from standard to fastL4 by bigsuds, like b.LocalLB.VirtualServer.set_type(virtual_servers = ['vs_test'], types = ['RESOURCE_TYPE_FAST_L4'].The command run success, but when I get_type it return RESOURCE_TYPE_POOL as before.
I search by google, thank to God, the question give me some instruction.
1. I run b.LocalLB.VirtualServer.get_profile(virtual_servers = ['vs_test']) to get its profiles: [[{'profile_name': 'tcp', 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL', 'profile_type': 'PROFILE_TYPE_TCP'}]]
2. I run b.LocalLB.VirtualServer.remove_profile(virtual_servers = ['vs_test'], profiles = [[{'profile_name': 'tcp', 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL'}]]) or b.LocalLB.VirtualServer.remove_all_profiles(virtual_servers = ['vs_test'])
3. I get profile once again, unexpected it return tcp as before.
4. I run b.LocalLB.VirtualServer.add_profile(virtual_servers = ['vs_test'], profiles = [[{'profile_name': 'fastL4', 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL'}]]), it fail! Raise:
Exception: Common::OperationFailed primary_error_code : 17236117 (0x01070095) secondary_error_code : 0 error_string : 01070095:3: Virtual server vs_test lists incompatible profiles.'
Maybe tcp profile is the evil! But I can not remove it and iControl api did not provide replace method!
5. I also find some question about 'lists incompatible profiles', like this!
6. I try to add fasthttp profile, also fail like 4 step.
Any one can help me? Thanks