- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: How to create a region?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2014 07:15 AM - edited 01-14-2014 08:04 AM
01-14-2014 07:15 AM - edited 01-14-2014 08:04 AM
How to create a region?
Hello.
I'm moving first steps with SDN controller using virtual machines. I have created a team with three hosts (without license) and now I want to create a region. The Admin Guide shows how but these commands do not work on my lab?
Where I can find more examples?
Thanks. Regards.
Andrea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2014 06:42 AM
01-15-2014 06:42 AM
Re: How to create a region?
Chapter 5 of the Admin guide provides the REST invocation illustration using CURL command to "create a region".
Did you try using the same method?. What kind of error are you getting.
An example to create a simple one-device, one-slave region with a master is provided for reference:
{
"region": {
"master": {
"ip": "15.146.194.78",
"name": "Controller_1"
},
"slaves": [
{
"ip": "15.146.194.38",
"name": "Controller_2"
}
],
"devices": [
{
"ip": "10.250.100.8"
}
]
}
}
In the curl command, you may need to prefix each of the above words with a "\" as a escape character to pass through the command line, but otherwise the syntax is more or less same.
You may want to double check the syntax? Better still if you post across the error ( snapshot, dump etc) over here, we can probably get closer to a solution to the problem you are facing..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2014 07:24 AM
01-15-2014 07:24 AM
Re: How to create a region?
Hello Javed.
Yes, I'm using the same method. Simply, copy the command from the guide, change IPs and names and paste.
Attached you can find it.
I believe I'm wrong with curl syntax! Too many "\"!
Regards.
Andrea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2014 06:07 AM
01-16-2014 06:07 AM
Re: How to create a region?
I think your curls syntax is wrong. Take a look in the shell script (in attachment) that I made to help you.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2014 12:53 PM - edited 01-16-2014 12:56 PM
01-16-2014 12:53 PM - edited 01-16-2014 12:56 PM
Re: How to create a region?
Many many thanks for your help.
I need to insert some new commands to show token and team configuration because the script terminates with this message
{"error":"java.lang.IllegalArgumentException","message":"No controller is configured in the team with the specified IP, cannot configure region."}
Team seems to be ok.
{"team":{"name":"MyTeam","ip":"192.168.0.100","version":"1389611134065","systems":[{"name":"ctrl-1","ip":"192.168.0.1","priority":10},{"name":"ctrl-2","ip":"192.168.0.2","priority":20},{"name":"ctrl-3","ip":"192.168.0.3","priority":30}]}}
I'm going to investigate.
Thanks.
Regards.
Andrea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 10:31 AM
09-04-2014 10:31 AM
Re: How to create a region?
Hello, I am experiencing some similar problems.
I've successfully created my Team with 3 controllers, but when I try to create a Region with at least one controller as a Slave I get this error message:
{
"error": "java.lang.IllegalArgumentException",
"message": "No controller is configured in the team with the specified IP, cannot configure region."
}
Here is the JSON that I posted:
{
"region": {
"master": {
"ip": "192.168.1.147",
"name": "ctrl-3"
},
"slaves": [
{
"ip": "192.168.1.145",
"name": "ctrl-1"
},
{
"ip": "192.168.1.146",
"name": "ctrl-2"
}
],
"devices": [
{
"ip": "192.168.1.2"
}
]
}
}
If I post the same JSON with a blank Array as Slaves, as below, it creates a Region without any errors.
{
"region": {
"master": {
"ip": "192.168.1.147",
"name": "ctrl-3"
},
"slaves": [
],
"devices": [
{
"ip": "192.168.1.2"
}
]
}
}
Keep in mind that in my case the Controllers IPs were: 192.168.1.145, 192.168.1.146 and 192.168.1.147.
Any thoughts?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2014 03:24 AM
09-08-2014 03:24 AM
Re: How to create a region?
Hello.
I don't have any update for this issue.
Regards.
Andrea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2014 12:19 AM
10-28-2014 12:19 AM
Re: How to create a region?
Hello raullima,
Apologies for the delay.
Please let us know if your problem is solved or you still facing some issue.
If you have more questions on the same topic please do reply on the same thread or open a new post if new topic.
Thanks,
HP SDN Team