Re: [OpenIndiana-discuss] from the lost to the river

2012-10-02 Thread Thorsten Heit
Hi,

  I still don't know what IPS really is
 
 Image Packaging System
 
 It's a software packaging scheme that was designed during the
 OpenSolaris days as a replacement for the old SysV packaging system.
 The big change is that it's based on a client/server model, where (at
 least in the first implementation) the server was a required part of the
 software upgrade mechanism.
 
 The old SysV packaging system had a disk format that delivered files,
 including scripts that ran at installation.  IPS does not, and instead
 has a set of pre-determined actions that can be taken during upgrade or
 install of a file.  The lack of scripting is an important improvement --
 the old scripting mechanisms allowed software developers to deliver
 arbitrary horrors inside scripts, but the new system doesn't allow that.
 
 OpenSolaris (and OpenIndiana) still supports SysV packaging, but the
 main software, at least in the main line of code, is delivered via IPS.

One big difference between IPS and the old SysV system:

A SysV package is one huge file whereas packages delivered via IPS are 
split into lots of single files; simplified said: one file on your disk 
from a certain package ^= one file in IPS, cryptographically signed in the 
IPS manifest and stored in compressed form on the IPS server.

If you download a newer version of a SysV package, MySQL for example, you 
normally have to suck the whole package, even when only a small part 
inside the package was changed. IPS on the other hand will download only 
the delta, i.e. those files that were changed.

Additionally the IPS server doesn't really care about the architecture of 
your system; it can store files for different CPU architectures and 
operating systems in one single repository. GlassFish for example is using 
this technique (*).


(*) https://blogs.oracle.com/alexismp/entry/java_ee_6_tutorial_and 

Just my 0.02$ ;-)

HTH

Thorsten
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] dismissing zpool upgrade notice

2012-10-02 Thread Thorsten Heit
Hi Jan,

 My two questions:
 
 A) How can I tell zpool that I don't want to upgrade? Will it just
 remain at version 28 until an administrator runs zpool upgrade?

As long as you don't explicitly run zpool upgrade, the pool version 
stays the same.


 B) Is there a way to have zpool status -x only give output when the
 pool is actually exhibiting errors or is otherwise unavailable? (i.e.
 suppress the upgrade notice)

Sorry, don't know...


Regards

Thorsten
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] from the lost to the river

2012-10-02 Thread låzaro
thanks for all the answers

Thread name: Re: [OpenIndiana-discuss] from the lost to the river 
Mail number: 6 
Date: Tue, Oct 02, 2012 
In reply to: Thorsten Heit thorsten.h...@vkb.de 

 Hi,
 
   I still don't know what IPS really is
  
  Image Packaging System
  
  It's a software packaging scheme that was designed during the
  OpenSolaris days as a replacement for the old SysV packaging system.
  The big change is that it's based on a client/server model, where (at
  least in the first implementation) the server was a required part of the
  software upgrade mechanism.
  
  The old SysV packaging system had a disk format that delivered files,
  including scripts that ran at installation.  IPS does not, and instead
  has a set of pre-determined actions that can be taken during upgrade or
  install of a file.  The lack of scripting is an important improvement --
  the old scripting mechanisms allowed software developers to deliver
  arbitrary horrors inside scripts, but the new system doesn't allow that.
  
  OpenSolaris (and OpenIndiana) still supports SysV packaging, but the
  main software, at least in the main line of code, is delivered via IPS.
 
 One big difference between IPS and the old SysV system:
 
 A SysV package is one huge file whereas packages delivered via IPS are 
 split into lots of single files; simplified said: one file on your disk 
 from a certain package ^= one file in IPS, cryptographically signed in the 
 IPS manifest and stored in compressed form on the IPS server.
 
 If you download a newer version of a SysV package, MySQL for example, you 
 normally have to suck the whole package, even when only a small part 
 inside the package was changed. IPS on the other hand will download only 
 the delta, i.e. those files that were changed.
 
 Additionally the IPS server doesn't really care about the architecture of 
 your system; it can store files for different CPU architectures and 
 operating systems in one single repository. GlassFish for example is using 
 this technique (*).
 
 
 (*) https://blogs.oracle.com/alexismp/entry/java_ee_6_tutorial_and 
 
 Just my 0.02$ ;-)
 
 HTH
 
 Thorsten
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

-- 
 Warning! 
100'000 pelos de escoba fueron
introducidos satisfactoriamente
en su puerto USB.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Mountpoint tiering with priorities

2012-10-02 Thread Nathan Kunkee

 Date: Mon, 1 Oct 2012 14:11:38 +0400
 From: jimkli...@cos.ru
 To: openindiana-discuss@openindiana.org
 Subject: [OpenIndiana-discuss] Mountpoint tiering with priorities
 
On a dual-boot box I can mount another OS's partition with
 FUSE and moderate performance. I can also boot that other OS
 in a VM and share it over a networking protocol and can have
 better performance (and it is unsafe to access the partition
 directly when the guest OS is booted anyway).
 
So, I wonder if it is possible to set up (automounter?) to
 mount the network share from the VM if available, alternately
 mount the partition over FUSE, into the same mountpoint on
 the host OS (OI).
 
 Thanks,
 //Jim

Based on man automount, you are wanting a kind of replicated filesystem, but I 
don't see a way to specify more than one set of options for a given mountpoint. 
In that part of the options is the filesystem type, the most direct answer 
would be to try the following in your /etc/auto_master

# key/location  mount options    filesystem
/shared-vm   -t nfs3 vm:/export/shared 
/shared-fuse -t fuse :/export/fuse

If you can share the filesystem under the same protocol from both methods, then 
you can put it on one line (like a replicated filesystem according to the man 
page:


# key/location  mount options    filesystem
/shared-vm   -t nfs3 vm:/export/shared :/export/fuse

Hope that helps,
Nathan
  
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] killing graphical login

2012-10-02 Thread Jim Klimov

2012-10-02 9:15, Roel_D пишет:

Hmz.. You can't disable gdm when you want to use vnc as far as i know



I won't vouch for that if you're so certain, because our
machines use our own brew of TightVNC with a lightweight
twm window manager. That certainly works even in the absence
of not only gdm, but GNOME altogether.

I really do not know if the co-bundled vncserver requires
gdm or can be configured to serve other desktop environments.
It likely can, however, be brought up on admin request as
a temporary SMF service enablement for a service kept off
by default, and won't be a resource hog all the time.

//Jim

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Preliminary Download link: Illumos based MartUX_OpenIndiana_Edition for SPARC LiveDVD (without installer)

2012-10-02 Thread Martin Bochnig
On Mon, Oct 1, 2012 at 3:41 PM, Daniel Kjar dk...@elmira.edu wrote:
 h mine is not even seeing the disks installed on the system



It should see your disks.
On my 2 SB2000's it sees them, too.
Just as on all other tested boxes ...

Does it help if you try devfsadm -v and then look again?

Your machine is a mystery to me.: First the X11go.sh script fails,
then it sees no disks.
This is totally unacceptable!

Did you run X11go.sh with bash's -x_ option, as I asked last week?
How and why does the /dev/fb symlink creation fail?


I think, maybe SMF complained during boot? The nice thing with SMF
is, that, if it encounters whatever important or totally unimportant
tiniest problem (i.e. the DVD drive is slow and one of SMF's defined
timeouts expires), then it just stops and blocks all the defined
dependencies, until you login and fix this. You may even end up in SMF
complaining about dependency cycles, and then you have a problem.
The probability of seeing this early in boot is not zero.
Well,  predictability   .(this was SMF's major design goal)




-
 %martin bochnig
  http://wiki.openindiana.org/oi/MartUX_OpenIndiana+oi_151a+SPARC+LiveDVD
  http://www.youtube.com/user/MartUXopensolaris
  http://www.facebook.com/pages/MartUX_SPARC-OpenIndiana/357912020962940
  https://twitter.com/MartinBochnig
  http://www.martux.org (new page not yet online, but pretty soon)

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] [TOOLS] memconf

2012-10-02 Thread Roel_D
I needed some info about my memory modules and almost forgot this beautiful
script called memconf. 

 

http://www.4schmidts.com/memconf.html

 

I don't know if mr Schmidts is on this mailinglist, but this script is a
must have. (for me as a dummy)  

 

 

 

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [TOOLS] memconf

2012-10-02 Thread Magnus
Also check out the ruby gem ohai. It's more typically used to collect intel 
for Chef but it works great as a standalone tool. Provides verbose output about 
your system configuration in JSON format for easy machine parsing.


On Oct 2, 2012, at 9:10 AM, Roel_D wrote:

 I needed some info about my memory modules and almost forgot this beautiful
 script called memconf. 
 
 
 
 http://www.4schmidts.com/memconf.html
 
 
 
 I don't know if mr Schmidts is on this mailinglist, but this script is a
 must have. (for me as a dummy)  
 
 
 
 
 
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [TOOLS] memconf

2012-10-02 Thread Roel_D
Can you provide a howto for this ohai? 
Although I hate to install special software on my global zone


-Original Message-
From: Magnus [mailto:mag...@yonderway.com] 
Sent: dinsdag 2 oktober 2012 15:12
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] [TOOLS] memconf

Also check out the ruby gem ohai. It's more typically used to collect
intel for Chef but it works great as a standalone tool. Provides verbose
output about your system configuration in JSON format for easy machine
parsing.


On Oct 2, 2012, at 9:10 AM, Roel_D wrote:

 I needed some info about my memory modules and almost forgot this 
 beautiful script called memconf.
 
 
 
 http://www.4schmidts.com/memconf.html
 
 
 
 I don't know if mr Schmidts is on this mailinglist, but this script is 
 a must have. (for me as a dummy)
 
 
 
 
 
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OI stopped booting after 151a6 update.

2012-10-02 Thread Bob Friesenhahn

On Mon, 1 Oct 2012, Jerry Kemp wrote:


Was the build 151a6 boot hanging issue ever resolved?  I remember this
discussion from a few weeks ago.


Probably not.  For your systems, was it wrongly identified as being an 
'i386' (i.e. 32-bit CPU)?  That is one of the failure modes we heard 
of.


Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [developer] Preliminary Download link: Illumos based MartUX_OpenIndiana_Edition for SPARC LiveDVD (without installer)

2012-10-02 Thread Martin Bochnig
On Mon, Oct 1, 2012 at 8:38 AM, DavidHalko davidha...@gmail.com wrote:

 U da man! I will be looking into testing it tomorrow on some machines. Thank 
 you for your efforts!

 Honestly, I see no value of IPS under OI SPARC since I do not expect any 
 software will ever be commercial software made available for IPS under SPARC 
 OI since it is so buggy  a moving target.

 There is plenty of SVR4 Solaris 10 SPARC commercial software currently 
 available. SVR4 packaging is also extensible without code changes. We also 
 don't need to do pre/post install/remove scripts, if we choose not to in SVR4 
 packaging.

 Thanks,
 David Halko
 http://svr4.blogspot.com/
 http://netmgt.blogspot.com/




Hi David!


many thanks for your nice comments and +1  :)
I'm glad to get such feedback.


However, it is still only a LiveDVD and only pre-Alpha stuff.
No installer yet (and Caiman gui-install and textinstall crash early
during, it would be a very long story to tell)   ...

As for IPS I could not agree more with you.
The question is and remains, if we necessarily ___need__ IPS for anything.
From a user-only's point of view it is already bad enough.
From a distribution-builder's view I would not even wish my worst
enemy to experience it (ghhrr!!!).

Here only one current example: A user's T2000 runs pkg for 8 hours,
then crashes. To do a thing that would not even be necessary in the
first place in such a scenario, with SVR4-pkgadd! And this is how ugly
it is from a user's point of things. Then you do not want to imagine,
how one feels as a distribution-constructor!!
A year is nothing while fighting with IPS  ...



See the thread pkg-discuss] gcc install? under:

http://mail.opensolaris.org/pipermail/pkg-discuss/2012-October/thread.html


p.s. I added your SVR4 link to my footer ...


tnx  rgds,



%martin
http://wiki.openindiana.org/oi/MartUX_OpenIndiana+oi_151a+SPARC+LiveDVD
  http://www.youtube.com/user/MartUXopensolaris
http://www.facebook.com/pages/MartUX_SPARC-OpenIndiana/357912020962940
  https://twitter.com/MartinBochnig
http://www.martux.org (new page not yet online, but pretty soon)

Forwarding David Halko's: http://svr4.blogspot.com/

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] killing graphical login

2012-10-02 Thread Gary Gendel

 That would be great.

On 10/ 2/12 12:01 PM, Alex Smith (K4RNT) wrote:

You may also want to look into FreeNX, I believe I requested it, and I
thought they closed the ticket saying they were adding it to one of the
community repos, not 100% sure though.

On Tue, Oct 2, 2012 at 8:29 AM, Jim Klimovjimkli...@cos.ru  wrote:


2012-10-02 9:15, Roel_D пишет:

  Hmz.. You can't disable gdm when you want to use vnc as far as i know

I won't vouch for that if you're so certain, because our
machines use our own brew of TightVNC with a lightweight
twm window manager. That certainly works even in the absence
of not only gdm, but GNOME altogether.

I really do not know if the co-bundled vncserver requires
gdm or can be configured to serve other desktop environments.
It likely can, however, be brought up on admin request as
a temporary SMF service enablement for a service kept off
by default, and won't be a resource hog all the time.

//Jim


__**_
OpenIndiana-discuss mailing list
OpenIndiana-discuss@**openindiana.orgOpenIndiana-discuss@openindiana.org
http://openindiana.org/**mailman/listinfo/openindiana-**discusshttp://openindiana.org/mailman/listinfo/openindiana-discuss







___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [TOOLS] memconf

2012-10-02 Thread magnus
### install ohai
magnus@dogface:~$ sudo gem install ohai
Successfully installed ohai-6.14.0
1 gem installed
Installing ri documentation for ohai-6.14.0...
Installing RDoc documentation for ohai-6.14.0...
magnus@dogface:~$ 

### Ruby gems aren't installed in the default $PATH.
magnus@dogface:~$ /var/ruby/1.8/gem_home/bin/ohai  ohai.out

### ohai collects a lot of data so will take a few moments to run.

You can less ohai.out after running the above example and find neat
things about physical memory like (and there is a lot more where this came
from):

memory_device: {
  form_factor: 9 (DIMM),
  size: 4294967296 bytes,
  total_width: 72 bits,
  memory_error_data: Not Supported,
  set: None,
  memory_type: 1 (other),
  all_records: [
{
  Form Factor: 9 (DIMM),
  record_id: 22,
  Total Width: 72 bits,
  Memory Error Data: Not Supported,
  Serial Number: SerNum00,
  size: 95,
  Set: None,
  Part Number: ModulePartNumber00,
  Size: 4294967296 bytes,
  Device Locator: DIMM0,
  Memory Type: 1 (other),
  Physical Memory Array: 20,
  Location Tag: DIMM0,
  application_identifier: memory device,
  Data Width: 64 bits,
  Manufacturer: Manufacturer00,
  Bank Locator: BANK0,
  Speed: Unknown,
  Flags: {
SMB_MDF_SYNC: synchronous
  }
},
{
  Form Factor: 9 (DIMM),
  record_id: 24,
  Total Width: 72 bits,
  Memory Error Data: Not Supported,
  Serial Number: SerNum01,
  size: 95,
  Set: None,
  Part Number: ModulePartNumber01,
  Size: 4294967296 bytes,
  Device Locator: DIMM1,
  Memory Type: 1 (other),
  Physical Memory Array: 20,
  Location Tag: DIMM1,
  application_identifier: memory device,
  Data Width: 64 bits,
  Manufacturer: Manufacturer01,
  Bank Locator: BANK1,
  Speed: Unknown,
  Flags: {
SMB_MDF_SYNC: synchronous
  }
}
  ],
  physical_memory_array: 20,
  speed: Unknown,
  data_width: 64 bits
},



On Tue, 2 Oct 2012 15:34:36 +0200, Roel_D openindi...@out-side.nl
wrote:
 Can you provide a howto for this ohai?
 Although I hate to install special software on my global zone
 
 
 -Original Message-
 From: Magnus [mailto:mag...@yonderway.com]
 Sent: dinsdag 2 oktober 2012 15:12
 To: Discussion list for OpenIndiana
 Subject: Re: [OpenIndiana-discuss] [TOOLS] memconf
 
 Also check out the ruby gem ohai. It's more typically used to collect
 intel for Chef but it works great as a standalone tool. Provides verbose
 output about your system configuration in JSON format for easy machine
 parsing.
 
 
 On Oct 2, 2012, at 9:10 AM, Roel_D wrote:
 
 I needed some info about my memory modules and almost forgot this
 beautiful script called memconf.



 http://www.4schmidts.com/memconf.html



 I don't know if mr Schmidts is on this mailinglist, but this script is
 a must have. (for me as a dummy)







 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Boris Epstein
Hello listmates,

I am a bit of a newbie so bear with me.

If I want postgres to start up automatically - where do I put the XML
definition file to have it start as a service?

Thanks.

Boris.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Lou Picciano
I think we're using /lib/svc/manifest as the new standard. 
Custom service definitions often placed in /lib/svc/manifest/site , by 
convention. 


You'll need a corresponding method file to make it all hang together. 


Lou Picciano 

- Original Message -
From: Boris Epstein borepst...@gmail.com 
To: openindiana-discuss@openindiana.org 
Sent: Tuesday, October 2, 2012 5:11:07 PM 
Subject: [OpenIndiana-discuss] postgres as service on OI 

Hello listmates, 

I am a bit of a newbie so bear with me. 

If I want postgres to start up automatically - where do I put the XML 
definition file to have it start as a service? 

Thanks. 

Boris. 
___ 
OpenIndiana-discuss mailing list 
OpenIndiana-discuss@openindiana.org 
http://openindiana.org/mailman/listinfo/openindiana-discuss 
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Boris Epstein
Lou,

Thanks. There's also stuff under /var/svc/manifest/ It is a bit confusing -
how does one determine what goes where?

Boris.

On Tue, Oct 2, 2012 at 5:15 PM, Lou Picciano loupicci...@comcast.netwrote:

 I think we're using /lib/svc/manifest as the new standard.
 Custom service definitions often placed in /lib/svc/manifest/site , by
 convention.


 You'll need a corresponding method file to make it all hang together.


 Lou Picciano

 - Original Message -
 From: Boris Epstein borepst...@gmail.com
 To: openindiana-discuss@openindiana.org
 Sent: Tuesday, October 2, 2012 5:11:07 PM
 Subject: [OpenIndiana-discuss] postgres as service on OI

 Hello listmates,

 I am a bit of a newbie so bear with me.

 If I want postgres to start up automatically - where do I put the XML
 definition file to have it start as a service?

 Thanks.

 Boris.
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Roel_D
Which version of Postgres do you want to install? 

AFAIK Solaris and OpenIndiana have standard packages for Postgres and those
include a SMF. 


-Original Message-
From: Lou Picciano [mailto:loupicci...@comcast.net] 
Sent: dinsdag 2 oktober 2012 23:15
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] postgres as service on OI

I think we're using /lib/svc/manifest as the new standard. 
Custom service definitions often placed in /lib/svc/manifest/site , by
convention. 


You'll need a corresponding method file to make it all hang together. 


Lou Picciano 

- Original Message -
From: Boris Epstein borepst...@gmail.com
To: openindiana-discuss@openindiana.org
Sent: Tuesday, October 2, 2012 5:11:07 PM
Subject: [OpenIndiana-discuss] postgres as service on OI 

Hello listmates, 

I am a bit of a newbie so bear with me. 

If I want postgres to start up automatically - where do I put the XML
definition file to have it start as a service? 

Thanks. 

Boris. 
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Lou Picciano
I think a general convention would be: put into 'site' what you are building 
custom. Various formal installs will place manifests in the other paths 
according to the 'Great Wisdom' (to which a very few are party!) 


Others (many of whom will have 'The Knowledge') will weigh in... (!) 


Lou 

- Original Message -
From: Boris Epstein borepst...@gmail.com 
To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org 
Sent: Tuesday, October 2, 2012 5:28:40 PM 
Subject: Re: [OpenIndiana-discuss] postgres as service on OI 

Lou, 

Thanks. There's also stuff under /var/svc/manifest/ It is a bit confusing - 
how does one determine what goes where? 

Boris. 

On Tue, Oct 2, 2012 at 5:15 PM, Lou Picciano loupicci...@comcast.netwrote: 

 I think we're using /lib/svc/manifest as the new standard. 
 Custom service definitions often placed in /lib/svc/manifest/site , by 
 convention. 
 
 
 You'll need a corresponding method file to make it all hang together. 
 
 
 Lou Picciano 
 
 - Original Message - 
 From: Boris Epstein borepst...@gmail.com 
 To: openindiana-discuss@openindiana.org 
 Sent: Tuesday, October 2, 2012 5:11:07 PM 
 Subject: [OpenIndiana-discuss] postgres as service on OI 
 
 Hello listmates, 
 
 I am a bit of a newbie so bear with me. 
 
 If I want postgres to start up automatically - where do I put the XML 
 definition file to have it start as a service? 
 
 Thanks. 
 
 Boris. 
 ___ 
 OpenIndiana-discuss mailing list 
 OpenIndiana-discuss@openindiana.org 
 http://openindiana.org/mailman/listinfo/openindiana-discuss 
 ___ 
 OpenIndiana-discuss mailing list 
 OpenIndiana-discuss@openindiana.org 
 http://openindiana.org/mailman/listinfo/openindiana-discuss 
 
___ 
OpenIndiana-discuss mailing list 
OpenIndiana-discuss@openindiana.org 
http://openindiana.org/mailman/listinfo/openindiana-discuss 
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Lou Picciano
Boris, 


Digging a bit further (I must admit, I've never installed our postgresql_84), 
this package installs its service manifest into 
/lib/svc/manifest/application/database/postgresql_84.xml 
The method this manifest calls is in: $ /lib/svc/method/postgres_84 


You can start up either the 32bit or 64bit builds with a syntax like this: 


$ svcadm enable postgresql_84:default_32bit 


So it's really easy. That svc will even initialize the cluster for you - find 
your data in /var/postgres/8.4/data, or /var/postgres/8.4/data_64; pick your 
poison. 


Gotta love OpenIndiana. 


The SFE guys have built more recent versions; these are in the SFE repository. 
I've also gotta wake up and build latest versions for our userland. We're on 
v9.2.1 here. 


Lou Picciano 

- Original Message -
From: Lou Picciano loupicci...@comcast.net 
To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org 
Sent: Tuesday, October 2, 2012 5:33:58 PM 
Subject: Re: [OpenIndiana-discuss] postgres as service on OI 


I think a general convention would be: put into 'site' what you are building 
custom. Various formal installs will place manifests in the other paths 
according to the 'Great Wisdom' (to which a very few are party!) 


Others (many of whom will have 'The Knowledge') will weigh in... (!) 


Lou 

- Original Message -
From: Boris Epstein borepst...@gmail.com 
To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org 
Sent: Tuesday, October 2, 2012 5:28:40 PM 
Subject: Re: [OpenIndiana-discuss] postgres as service on OI 

Lou, 

Thanks. There's also stuff under /var/svc/manifest/ It is a bit confusing - 
how does one determine what goes where? 

Boris. 

On Tue, Oct 2, 2012 at 5:15 PM, Lou Picciano loupicci...@comcast.netwrote: 

 I think we're using /lib/svc/manifest as the new standard. 
 Custom service definitions often placed in /lib/svc/manifest/site , by 
 convention. 
 
 
 You'll need a corresponding method file to make it all hang together. 
 
 
 Lou Picciano 
 
 - Original Message - 
 From: Boris Epstein borepst...@gmail.com 
 To: openindiana-discuss@openindiana.org 
 Sent: Tuesday, October 2, 2012 5:11:07 PM 
 Subject: [OpenIndiana-discuss] postgres as service on OI 
 
 Hello listmates, 
 
 I am a bit of a newbie so bear with me. 
 
 If I want postgres to start up automatically - where do I put the XML 
 definition file to have it start as a service? 
 
 Thanks. 
 
 Boris. 
 ___ 
 OpenIndiana-discuss mailing list 
 OpenIndiana-discuss@openindiana.org 
 http://openindiana.org/mailman/listinfo/openindiana-discuss 
 ___ 
 OpenIndiana-discuss mailing list 
 OpenIndiana-discuss@openindiana.org 
 http://openindiana.org/mailman/listinfo/openindiana-discuss 
 
___ 
OpenIndiana-discuss mailing list 
OpenIndiana-discuss@openindiana.org 
http://openindiana.org/mailman/listinfo/openindiana-discuss 
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Boris Epstein
Lou,

Brilliant! Thank you very much.

Just ran this:

sudo svcadm enable postgresql_84:default_64bit

and now my Postgres appears to be running. I will now check it out.

Boris.

On Tue, Oct 2, 2012 at 7:23 PM, Lou Picciano loupicci...@comcast.netwrote:

 Boris,


 Digging a bit further (I must admit, I've never installed our
 postgresql_84), this package installs its service manifest into
 /lib/svc/manifest/application/database/postgresql_84.xml
 The method this manifest calls is in: $ /lib/svc/method/postgres_84


 You can start up either the 32bit or 64bit builds with a syntax like this:


 $ svcadm enable postgresql_84:default_32bit


 So it's really easy. That svc will even initialize the cluster for you -
 find your data in /var/postgres/8.4/data, or /var/postgres/8.4/data_64;
 pick your poison.


 Gotta love OpenIndiana.


 The SFE guys have built more recent versions; these are in the SFE
 repository. I've also gotta wake up and build latest versions for our
 userland. We're on v9.2.1 here.


 Lou Picciano

 - Original Message -
 From: Lou Picciano loupicci...@comcast.net
 To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org
 
 Sent: Tuesday, October 2, 2012 5:33:58 PM
 Subject: Re: [OpenIndiana-discuss] postgres as service on OI


 I think a general convention would be: put into 'site' what you are
 building custom. Various formal installs will place manifests in the other
 paths according to the 'Great Wisdom' (to which a very few are party!)


 Others (many of whom will have 'The Knowledge') will weigh in... (!)


 Lou

 - Original Message -
 From: Boris Epstein borepst...@gmail.com
 To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org
 
 Sent: Tuesday, October 2, 2012 5:28:40 PM
 Subject: Re: [OpenIndiana-discuss] postgres as service on OI

 Lou,

 Thanks. There's also stuff under /var/svc/manifest/ It is a bit confusing -
 how does one determine what goes where?

 Boris.

 On Tue, Oct 2, 2012 at 5:15 PM, Lou Picciano loupicci...@comcast.net
 wrote:

  I think we're using /lib/svc/manifest as the new standard.
  Custom service definitions often placed in /lib/svc/manifest/site , by
  convention.
 
 
  You'll need a corresponding method file to make it all hang together.
 
 
  Lou Picciano
 
  - Original Message -
  From: Boris Epstein borepst...@gmail.com
  To: openindiana-discuss@openindiana.org
  Sent: Tuesday, October 2, 2012 5:11:07 PM
  Subject: [OpenIndiana-discuss] postgres as service on OI
 
  Hello listmates,
 
  I am a bit of a newbie so bear with me.
 
  If I want postgres to start up automatically - where do I put the XML
  definition file to have it start as a service?
 
  Thanks.
 
  Boris.
  ___
  OpenIndiana-discuss mailing list
  OpenIndiana-discuss@openindiana.org
  http://openindiana.org/mailman/listinfo/openindiana-discuss
  ___
  OpenIndiana-discuss mailing list
  OpenIndiana-discuss@openindiana.org
  http://openindiana.org/mailman/listinfo/openindiana-discuss
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Switching from oi-experimental back to openindiana

2012-10-02 Thread Christopher Chan
Is that possible? :-D

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] postgres as service on OI

2012-10-02 Thread Milan Jurik

Hi,

On 02.10.2012 23:11, Boris Epstein wrote:

Hello listmates,

I am a bit of a newbie so bear with me.

If I want postgres to start up automatically - where do I put the XML
definition file to have it start as a service?



are you building postgres yourself? Do you know that 9.0 and 9.1 are in 
repository (SFE)?



Thanks.

Boris.



Best regards,

Milan

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss