sample setup now convert metaserver to primary state

Change-Id: Ib23fdceb5cd7aa6f7d19426915bbc6c1d89acdbd