Hi Bing,

Just a quick check: Have you also restarted the svc:/ldoms/ldmd:default service on the machine after installing the new package version ? Or did you reboot your domain ?

W.


On 09/19/11 19:18, Bing Lin wrote:
Liam,

I used your #2 method, and the output of "ldm -V" is also "v 2.1.0.3".
It is not 3.0.

I am confused.

Thanks,

Bing

On 09/19/11 02:11, Liam Merwick wrote:
On 17/09/2011 00:27, Bing Lin wrote:
Hi,

snv_173 comes with Ldoms v 2.1.0.3. When I tried to remove the packages and installed another version of Ldoms, snv_173 did not let me remove the pakcages.

application SUNWldm.v LDoms Manager software
application SUNWldmp2v LDoms P2V tool
system SUNWldomr.v Solaris Logical Domains (Root)
system SUNWldomu.v Solaris Logical Domains (Usr)

pkgrm: ERROR: unable to change current working directory to </var/sadm/pkg/SUNWldm.v/install>


In order to remove IPS packages in S11 you need to use pkg(1) not pkgrm(1M).

Does anyone one how to remove the Ldoms packages and install LDoms 3.0 in snv_173?
Am I supposed to remove all 4 pakcages?

Did you install the LDoms Manager package as both SVR4 and IPS packages ? That is going to confuse the packaging systems. You have two options, if you want to install the development version of 3.0

1) Use the SVR4 3.0 package

pkg uninstall ldomsmanager
pkgadd SUNWldm


2) Use the IPS version of the 3.0 package [NOTE: internal-only repo below]

Given that you are testing internal builds of 3.0 you could also do the following. This has the advantage that you can easily pull newer builds of 3.0 as they become available. However it does involve removing two incorporation packages (entire and ldoms-incorporation) which users are expected not to remove because they are need to ensure that all the package versions are kept in sync. Since you want to explicitly install an newer version for pre-release testing, that is OK.

Depending what version of the LDoms Manager was previously installed:
# pkg uninstall ldomsmanager
# pkgrm SUNWldm SUNWldmp2v
then
# pkg uninstall ldoms-incorporation entire
# pkg set-publisher --non-sticky solaris
# pkg set-publisher -g /ws/ldoms/3.0/latest/Product/ldoms.repo/ --search-before=solaris ldoms
# pkg install -v ldomsmanager@3.0 ldoms-incorporation

Then in the future when newer builds of 3.0 are released, just do 'pkg update -v ldomsmanager' (I'm not sure but you might have to do a 'pkg refresh --full' before you do that as /ws/ldoms/3.0/latest/Product/ldoms.repo/ will be a symbolic link to a new directory)

Regards,
Liam

_______________________________________________
ldoms-discuss mailing list
ldoms-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
_______________________________________________
ldoms-discuss mailing list
ldoms-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to