Troubleshoot Service Group creation/deletion issues in NSX

 
I haven’t actually ran into any issues when creating or deleting service groups in NSX. There are only a few things that I can think of that the blueprint is referring to for this section. The first, is that I assume you will be troubleshooting a service group creation that may not include the VMs that you expect it to. In this instance, it could be that the Dynamic membership does not have the correct membership criteria. I suggest that you double check the membership criteria, which you can do following this article. To confirm the membership criteria, you will want to navigate to Networking & Security -> Service Composer -> Security Groups and edit your group.
 
1
 
Make sure that the entity you expect to be a part of the group matches the criteria, if it does not, make sure you change the logic or add new criteria.
 
The other only thing I can think to check if you receive an error when deleting or creating a security group, is to check the NSX Manager logs. Log into the NSX Manager appliance via SSH and run the following command. I had created a security group called “test” with the following criteria. We can see the creation of this Security Group and the two VMs Web-sv-01a and Web-sv-02a being added to this group.
 
2
 

nsxmgr-l-01a> show manager log
2015-05-27 17:27:23.679 GMT  INFO http-nio-127.0.0.1-7441-exec-1 AuditingServiceImpl:141 - [AuditLog] UserName:'root', ModuleName:'SECURITY_GROUP', Operation:'CREATE', Resource:'Test', Time:'Wed May 27 17:27:23.678 GMT 2015'

2015-05-27 17:27:26.970 GMT  INFO http-nio-127.0.0.1-7441-exec-9 SystemEventDaoImpl:124 - [SystemEvent] Time:'Wed May 27 17:27:26.967 GMT 2015', Severity:'Informational', Event Source:'Translation Service', Code:'300500', Event Message: 'VM web-sv-01a added to Security Group Test.', Module:'Translation Service'

2015-05-27 17:27:26.979 GMT  INFO http-nio-127.0.0.1-7441-exec-9 SystemEventDaoImpl:124 - [SystemEvent] Time:'Wed May 27 17:27:26.976 GMT 2015', Severity:'Informational', Event Source:'Translation Service', Code:'300500', Event Message:'VM web-sv-02a added to Security Group Test.', Module:'Translation Service'

 

Leave A Comment

Your email address will not be published. Required fields are marked (required):

Back to Top