RE: Port selection

"Hwang, Johnny" <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <79E854EFA4098C4380E7D1A3CEDE7C7302DD3396@SACMVEXC3-PRD.hq.netapp.com>
Re Kirk: Try telling that to someone who doesn’t have enough servers to dedicate to running only providers for a heterogeneous storage environment on a private network. 3 different storage providers means 3 different dedicated servers just to run SMI-S? Ridiculous considering that they’re lightweight processes, but under your proposal, an administrator running SCVMM 2012 on his own private network with a heterogeneous environment may have to allocate 3 servers and/or VMs just to manage storage. Besides, there is a reason you can change ports on YOUR OWN PRIVATE NETWORK. Not just through cimconfig, but also for other softwares too. Sometimes ports just conflict and what you do with your ports on your own private network, and it’s nobody’s business. I really don’t want to continue this on the mailing list, so if you got a beef, take it offline and answer it directly to me. 

 

Re Vitezslav:

You might also want to check several places in the Pegasus code: 

pegasus/src/Pegasus/config/DefaultPropertyTable.h à make sure you see httpPort having the IS_VISIBLE attribute. If you’re compiling on Linux, it’s DefaultPropertyTableLinux.h, etc. 

Also you might want to check to see if you can actually get and/or set the properties httpPort, httpsPort, daemon, slp. They are all under DefaultPropertyTable.h, so if none of those properties work, then you know there’s something wrong farther up. 

 

 

From: Kirk Augustin [mailto:[email protected]] 
Sent: Thursday, October 20, 2011 12:48 PM
To: Hwang, Johnny; Vitezslav Crhonek; [email protected]
Subject: Re: Port selection

 

No, the established convention is that each company is supposed to subclass with their name in it.

It is wrong to have multiple servers running or allow a provider class conflict.

 

If one arranges a private special port, it no longer is "Common" in CIM, and then you might as well just open a socket and communicate directly.

 

Kirk Augustin
11821 NW McNamee Rd
Portland, OR 97231

HM: 503-289-4356
WK: 503-744-8841

________________________________

From: "Hwang, Johnny" <[email protected]>
To: Kirk Augustin <[email protected]>; Vitezslav Crhonek <[email protected]>; [email protected]
Sent: Thursday, October 20, 2011 9:33 AM
Subject: RE: Port selection

Re Kirk: No, sometimes you need to change the ports if you’re running several different cimservers when running several providers from different companies on the same computer. The way you change it is by cimconfig –p –s httpPort=1234

 

But back to your question. I don’t see any specific env vars needed to be set regarding httpPort and httpsPort. These are what we have:

PEGASUS_ROOT

PEGASUS_HOME

PEGASUS_PLATFORM

PEGASUS_REPOSITORY_MODE

PEGASUS_CIM_SCHEMA

OPENSSL_HOME

PEGASUS_HAS_SSL

PEGASUS_ENABLE_SLP

PEGASUS_EXTERNAL_SLP_HOME

PEGASUS_OPENSLP_HOME

PEGASUS_USE_EXTERNAL_SLP

CMPI_PLATFORM (on Linux)

PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER (on Windows)

 

Also check the following cimconfig variables: enableHttpConnection and/or enableHttpsConnection should be set to true. 

 

Speaking of environment variables, are there any centralized documentation for which compile env vars are available for which Pegasus version? PEP 237 is horribly outdated. 

 

From: Kirk Augustin [mailto:[email protected]] 
Sent: Thursday, October 20, 2011 9:09 AM
To: Vitezslav Crhonek; [email protected]
Subject: Re: Port selection

 

Probably not a good idea.

First of all, ports are reserved and handed out by standards committee, and you should not be using ports arbitrarily.

Second is that all clients and servers possibly connecting have to agree.

It is not one build, but all the builds of all the systems that might be involved.

The whole point is to have a well established common port.

It is not normally desirable to have any port variation.

Nor can I imagine any advantage to it, other than if there is a protocol variation, such as SSL.

So first tell us why you think you would want to use a different port?

 

Kirk Augustin
11821 NW McNamee Rd
Portland, OR 97231

HM: 503-289-4356
WK: 503-744-8841

________________________________

From: Vitezslav Crhonek <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Thursday, October 20, 2011 7:44 AM
Subject: Port selection

Hello,

Is there any possibility to set own http/https port values?

I see httpPort and httpsPort options, but it seems that these options are disabled:

$ cimconfig -g httpPort
Specified property name was not found.
CIM_ERR_NOT_FOUND: Configuration property "httpPort"

Is there any way how to enable them? (Probably some env. variable during build time?)

I'm also curious what happened with PEP #290:
http://www.openpegasus.org/pp/upreviews/40/2362/orig/PEP290.html

Because this feature would be useful in some situations.

Best regards,
Vitezslav Crhonek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.