Azure Service Fabric: Create Cache Management Service
NCache management service is a Azure Service Fabric service used for management and monitoring purposes by accessing the NCache Management Center. In order to access the Management Center, a host port 9801 needs to be accessed and that cannot be done in Open configuration mode as it does not allow host to port mapping. For this purpose NCache management service is separated from the NCache cluster service. This Azure Service Fabric service is created in the default NAT mode.
Azure Service Fabric: Service File to Create NCache Management Service
The Azure Service Fabric service file contains the same container image as in NCache cluster service, however the endpoint is created to expose the port 9801 for management with "http" protocol as shown below:
<?xml version="1.0" encoding="utf-8"?>
<ServiceManifest Name="NCacheWebManagerPkg"
Version="1.0.0"
xmlns="http://schemas.microsoft.com/2011/01/fabric"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ServiceTypes>
<StatelessServiceType ServiceTypeName="NCacheWebManagerType" UseImplicitHost="true" />
</ServiceTypes>
<CodePackage Name="Code" Version="1.0.0">
<EntryPoint>
<ContainerHost>
<ImageName>alachisoft/ncache</ImageName>
</ContainerHost>
</EntryPoint>
</CodePackage>
<ConfigPackage Name="Config" Version="1.0.0" />
<Resources>
<Endpoints>
<Endpoint Name="web-management" Protocol="http" UriScheme="http" Port="9801" Type="Input" CodePackageRef="Code" />
</Endpoints>
</Resources>
</ServiceManifest>
See Also
Deploying NCache in Azure Service Fabric
Create Service Fabric Cluster
Create NCache Cluster service
Create NCache Cluster