Create Own MetaSpace
Active Space Porduct comes with default metaspace "MS".
Can we create own metaspace?
Looks like you already have a Metaspace resource defined in your BW project (with the same name 'ms'). A process (BW engine or other) can only make a single Metaspace connection per Metaspace (meaning that it can connect to more than one separate metaspaces, each one with a different name). That Metaspace connection is effectively 'pooled' by the process (BW engine in this case) regardless of how many spaces you defined in your process or how many BW processes you create that use those spaces.
If you don't specify a value for the discovery URL it will use the default discovery URL of "tibpgm" (multicast discovery over PGM protocol) and since your Metaspace is defined with TCP discovery on the other processes connected to it the process using tibpgm discovery does not see the other processes using TCP discovery and therefore creates it's own independent metaspace (with the same name, but it's a different metaspace).
The Metaspace is 'created' when the first AS application connects to it. And ceases the exist when the last application disconnect.
You can create as many metaspaces as you need, each with a different name, but you need to make a separate connection to each metaspace that you want to use in your application.
For example, assuming you have currently no other AS application running on your machine or network:
run: as-agent -metaspace "metaspace1"
That's it you have now created a metaspace called "metaspace1", you can define spaces in it and use them.
now start another agent: as-agent -metaspace "metaspace2"
You now have created a second metaspace called "metaspace2", a space called "myspace" created in "metaspace1" is completely unrelated to another space with the same name in "metaspace2"
If you don't specify a metaspace name, your application will use the default metaspace 'ms'
Any process can create a metaspace, not just an as-agent. For example you can start as-admin and enter: connect name "metaspace3" to create a metaspace called "metaspace3"