Solaris 10 Milestone Dependency
Hi all,
I am running Oracle Solaris 10u8 on a x86 Machine.
I have read in Solaris Admin 2 document and see that there is a special service in Solaris 10 named "Milestone".
SA2 document saids:
"A milestone is a special type of service which is made up of a defined set of other services.
A milestone can be regarded as a system state to reach. This system state requires a defined set of services to be running. These services depend on other services being available. Hence, there is a hierarchy of dependency relationships."
In my machine, I tried to issue below command to find all the milestones in Solaris OS:
root@x4150 # svcs | grep milestone
online Oct_14 svc:/milestone/name-services:default
online Oct_14 svc:/milestone/devices:default
online Oct_14 svc:/milestone/network:default
online Oct_14 svc:/milestone/single-user:default
online Oct_14 svc:/milestone/sysconfig:default
online Oct_14 svc:/milestone/multi-user:default
online Oct_14 svc:/milestone/multi-user-server:default
However, I see that the "svc:/milestone/name-services:default" milestone is ONLINE despite of the services on which it depends are all disabled.
root@x4150 # svcs -d svc:/milestone/name-services:default
STATE STIME FMRI
disabled Oct_14 svc:/network/rpc/nisplus:default
disabled Oct_14 svc:/network/nis/client:default
disabled Oct_14 svc:/network/dns/client:default
disabled Oct_14 svc:/network/ldap/client:default
I do not understand why the "svc:/milestone/name-services:default" milestone can be ONLINE. I think that all 4 services (nisplus, nis, dns and ldap) should be ONLINE before this milestone can be ONLINE.
Please help me to understand this situation. Is the any misunderstand of me about Milestone in Solaris here?
Thanks so much for any help and suggestion.
BR,
HuyNQ.
The service manifest for milestone/name-services defines that the grouping for all 4 services it depends on is "optional_all".
That means these services must be online, disabled or in maintenance. The other types of grouping are require_all, require_any and exclude_all.
# svcs -l milestone/name-services
fmri svc:/milestone/name-services:default
name name services milestone
enabled true
state online
next_state none
state_time Sun Aug 01 16:17:38 2010
logfile /var/svc/log/milestone-name-services:default.log
restarter svc:/system/svc/restarter:default
dependency optional_all/none svc:/network/dns/client (online)
dependency optional_all/none svc:/network/ldap/client (disabled)
dependency optional_all/none svc:/network/nis/client (disabled)
dependency optional_all/none svc:/network/rpc/nisplus (disabled)
Similar Messages
-
Milestone HUP / post-milestone dependency failure?
Ok, I know that's a horrible subject line. Please bear with me.
I've been playing with the dependency mechanisms in b72, and have been unable to get an online milestone offlined by disabling a service upon which that milestone depends.
Disabling cron at the single-user milestone prevents
# svcadm -v milestone svc:/milestone/multi-user:default
from succeeding: svcs -a \*milestone\* shows the multi-user milestone is offline, svcs -xv says why, everything works as advertised.
Dandy.
A slightly different test is to cleanly come up to the multi-user milestone with cron enabled, show that the milestone was reached, and cron is online, and then disable cron.
The milestone is still reported as online, although it has lost a dependency. I guess milestones are... milestones, not states, per se, but it would be nice to demonstrate SMF noticing a subsequent dependency failure.
$ svcs | grep mil
disabled 9:41:17 svc:/milestone/multi-user-server:default
online 9:41:27 svc:/milestone/devices:default
online 9:41:32 svc:/milestone/single-user:default
online 10:48:41 svc:/milestone/name-services:default
online 10:48:51 svc:/milestone/multi-user:default
$ svcadm -v disable cron
svc:/system/cron:default disabled.
$ svcs | grep mil
disabled 9:41:17 svc:/milestone/multi-user-server:default
online 9:41:27 svc:/milestone/devices:default
online 9:41:32 svc:/milestone/single-user:default
online 10:48:41 svc:/milestone/name-services:default
online 10:48:51 svc:/milestone/multi-user:default
I've tried to nudge SMF by calling restart on the mult-user milestone, but no joy:
$ svcadm -v restart svc:/milestone/multi-user:default
Action restart set for svc:/milestone/multi-user:default.
$ svcs | grep mil
disabled 9:41:17 svc:/milestone/multi-user-server:default
online 9:41:27 svc:/milestone/devices:default
online 9:41:32 svc:/milestone/single-user:default
online 10:48:41 svc:/milestone/name-services:default
online 11:26:02 svc:/milestone/multi-user:default
$ svcs -a | grep cron
disabled 10:59:53 svc:/system/cron:default
From this state going all the way down to single-user and then attempting to get back up into multi-user fails, as it should. But that feels a lot like
# init s
# init 3
with fingers crossed.
So, two questions:
Is there a svcadm command that will effectively HUP a current milestone?
Is there no simple way to tell before the fact that a milestone is unreachable, or that a currently achieved milestone will not be achieved next time around?
Thank you for reading this far!
cheers,
kidariThere are characteristics to the dependencies within smf(5): grouping, which has to do with the set of entities and their necessity, and restart_on, which has to do with event propagation across the dependency link. If you use svcs -l on milestone/multi-user:deafult,
you will get:
2 $ svcs -l cron milestone/multi-user:default
fmri svc:/system/cron:default
name clock daemon (cron)
enabled true
state online
next_state none
state_time Tue Jan 11 10:37:15 2005
logfile /var/svc/log/system-cron:default.log
restarter svc:/system/svc/restarter:default
contract_id 50
dependency require_all/none svc:/system/filesystem/local (online)
dependency require_all/none svc:/milestone/name-services (online)
fmri svc:/milestone/multi-user:default
name multi-user milestone
enabled true
state online
next_state none
state_time Tue Jan 11 10:37:24 2005
logfile /var/svc/log/milestone-multi-user:default.log
restarter svc:/system/svc/restarter:default
dependency require_all/none svc:/milestone/single-user (online) svc:/milestone/sysconfig (online) svc:/milestone/name-services (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online) svc:/milestone/sysconfig (online)
dependency require_all/none svc:/system/filesystem/local (online)
dependency optional_all/none svc:/platform/i86pc/kdmconfig:default (online)
dependency optional_all/none svc:/network/rpc/bind (online)
dependency optional_all/none svc:/system/system-log (online)
dependency optional_all/none svc:/system/utmp (online)
dependency optional_all/none svc:/application/print/server (disabled)
dependency optional_all/none svc:/network/nfs/client (online)
dependency optional_all/none svc:/network/inetd (online)
dependency optional_all/none svc:/network/smtp:sendmail (online)
dependency optional_all/none svc:/network/ntp (online)
dependency optional_all/none svc:/system/filesystem/autofs (online)
dependency optional_all/none svc:/system/cron (online)
dependency optional_all/none svc:/system/mdmonitor (online)
dependency optional_all/none svc:/system/name-service-cache (online)
dependency optional_all/none svc:/system/power (online)
dependency optional_all/none svc:/system/rcap (disabled)
dependency optional_all/none svc:/system/system-log (online)
dependency require_all/none svc:/system/rmtmpfiles (online)The key part of the line for system/cron is "optional_all/none", which means that ("optional_all") milestone/multi-user does not require cron and can be brought online even if cron is disabled or in maintenance, and that ("none") milestone/multi-user is not restarted for any interruption or activity that might happen to cron.
- Stephen -
Installing Apache in Solaris 8
i want to install apache in solaris 8. i installed gcc 3.0.xxx
and apache 1.3.19.xxxx. but while installing apache it gives a error that
./helpers/TestCompile : make not found
what should i do to avoid this error. please send the remedy soon.
Thanks in AdvanceHello,
It is recommanded to :
- Use the Apache bundle with Solaris 8. Depending of installation mode you choose (core, etc...) packages are present or not.
Check is /etc/apache or /etc/init.d/httpd exist ot not.
If not, packages can be added from Solaris 8 cdroms.
Supported by Sun
- Use apache-1.3.27 or apache-2.0.54 from the www.sunfreeware.com web site. These are already compiled od installation is just made by simple pkgadd.
Not supported by Sun but validated and stable.
Note : gcc, tomcat, openssl etc also available.
Best regards,
Damien -
Download Japanese Sun Solaris 8
hi,
i already have Sun Solaris 8 installed in my SPARC machine. i want to install the Japanese Sun solaris. can some pls tell me the URL to download the necessary software. and, after download it, how do i install.
pls help. thanksIf Solaris 8 is not avail... is Solaris 10
equivalent? I mean.. if i develop my Web App for
WebSphere on Solaris 10.. will is cause a problem
when i "migrate" it down to Solaris 8?Depends. If it's a Java app that's being run by Websphere, then just make sure that both servers are using the same version of Java and you should be ok.
If it links against OS libraries, then your probably in trouble.
Call your local Sun Rep and see if you can buy a license for Sol 8 and then ask them or the client for media.
alan
Message was edited by:
alan.pae -
Can Solaris run on AMD Sempron
I am considering evaluating Solaris 10.
I have a new motherboard with an AMD Sempron CPU.
I currently run WinXP on a 30 GB hard drive, partitioned as two 15GB drives.
I need to re-install the operating system as I am replacing my current motherboard.
This will allow me to partition one 15 GB drive into two smaller drives, probabaly one 10 GB and one 5GB
Is it possible to configure this as a dual boot machine, one booting into Windows, and one booting into Solaris.
My concern with Solaris is how hard will it be to learn and configure Solaris, and how many programs that I currently run on Windows can run on Solaris.
I use sevral EDA programs on Windows, Schematic Capture, FPGA design programs, PCB layout.
Thanks in advance for your help.Well I suppose it will run on AMD Sempron, I haven't tried, but since AMD Sempron is an i386 compatible CPU, It will have no problem...
About using windows programs on Solaris, you should use Wine to use the windows executables. Watch www.winehq.com.
About the ease of configuration of Solaris, it all depends on haw much time you want to dedicate to it. It's not as simple as configuring Windows XP but it doesn't give you so much headaches: things just work if you do the correct. -
How can I instrument VMware, Xen and Solaris as Mbeans in JMX-based App?
I know VMware ESX exposes WS-Management API, Citrix Xen exposes CIM API, and Sun Solaris exposes WS-MAN API but can I use them as Mbeans in my JMX-based application with no or little effort?
Does Microsoft Hyper-V exposes WS-MAN API?
Regards,
JovialIf you are accessing to CIM model thanks to WS-CIM (CIM over WS-Management), then you can use WiseMan in conjonction with JAXB. JAXB is used to generate a Jav binding from XML CIM schemas.
Could you precise your sentence " I am required to do after instrumentation of WS-Management enabled servers (VMware and Solaris)"
It really depend of your Client application. On the server side you will get a running Java application in which your JMX MBeans are living. On the other side you will get your management console (the client application). From your console you can get MBean attributes, invoke MBean operations and subscribe to MBean notifications. Monitoring, timer, relations are to be used when you have some special requirements.
For a start, you should be all set once your MBeans are up and running.
Regards.
JF. -
can i install linux os using solaris container....? Question may be silly, please reply either yes or no.
Unfortunately, it's not a yes or no answer. The ultimate answer is "no", you can't install a full Linux OS using containers. They aren't independent virtual machines.
However, there are "branded zones" that can run many linux applications within a Solaris zone. Depending on what you're trying to accomplish, that may be sufficient.
Darren -
Hi every body
What versions of solaris for x86 are produced by sun company as yet?
Thanks
behradIf Solaris 8 is not avail... is Solaris 10
equivalent? I mean.. if i develop my Web App for
WebSphere on Solaris 10.. will is cause a problem
when i "migrate" it down to Solaris 8?Depends. If it's a Java app that's being run by Websphere, then just make sure that both servers are using the same version of Java and you should be ok.
If it links against OS libraries, then your probably in trouble.
Call your local Sun Rep and see if you can buy a license for Sol 8 and then ask them or the client for media.
alan
Message was edited by:
alan.pae -
"An error occurred while creating the system proxy" after upgrade to 11.2
Hi, I have just moved from 11.1 release to 11.2 release but this fault is preventing me from using 11.2
If i try to access System Administration Panels like "Users" or "SMF Services" I get two error messages and can not proceed.
If I roll back to the previous BE, (11.1) it all works fine).
An error occurred while creating the system proxy
Navigation Failed. The first component of the address, "vp" is not a valid control.
The error is mentioned here https://www.mail-archive.com/[email protected]/msg09791.html but I can not see the link content and it was a long time ago.
Not sure if it is relevant, but i am behing a pfsense/squid proxy - but have this server IP excluded/set to bypass the proxy.
Also, not sure if it is relevant but here is the output from the following:
nas@nas:~$ svcprop svc:/application/pkg/system-repository:default | grep _proxy
config/http_proxy astring ""
config/https_proxy astring ""
Any help appreciated.Ensure that the "solaris-desktop" package group is correctly installed :
# pkg info solaris-desktop
# for i in `pkg contents -m solaris-desktop | grep depend | awk '{print $2}' | awk -F= '{print $2}'`; do pkg list $i; done
Ensure that svc:/system/rad:local is online :
# svcs svc:/system/rad:local
Check for any errors in rad service :
# svcs -Lv svc:/system/rad:local
Once the above is checked, does the error persists after a reboot ? -
Getconf returns compiler flags that the compiler warns about
I have Workshop 12u1 installed on my Solaris 10u8 machine (x86_64). I'm up to date with patches as of a couple weeks ago.
I'm well aware that the Workshop suite has deprecated flags like -xarch=generic64, -xarch=amd64a, etc.
However, when I run "getconf" on my Solaris 10 system, some of the conf settings still return those older flags that the compiler now warns about. That causes a lot of warning chatter when building certain applications (e.g. perl 5.10.1) that are smart enough to use "getconf" to try determine what flags to use in certain situations. Using getconf to find the right flags is even mentioned in the standards(5) page, but following its advice results in deprecation warnings from the compiler. Not good.
If you run the following code you'll see what I mean:
for f in `man getconf | egrep 'XBS'`; do echo "Checking $f"; getconf "$f"; doneIs this something that I (as a sysadmin for the system) should be able to configure, or is it something that would need to be patched to fix? The man pages for getconf, sysconf, and confstr aren't clear where the values are actually coming from.
So, how should this be fixed?
Thanks,
TimEnchanter wrote:
Since I'm running regular old Solaris 10, rather than OpenSolaris, I'm skeptical how much help the OpenSolaris developers are truly going to be. I can certainly give it a go, but even if they fix it in OpenSolaris, it might be a very long time before that fix filters into Solaris.Actually, it goes the other way. New features and modification go into the internal Solaris development workspace before they migrate to Open Solaris. The Solaris Express and final releases and Open Solaris releases come from the same source base. Whether a feature or update goes into a Solaris 10 patch depends partly on demand, especially demand from customers with service contracts.
I'm also a little puzzled about the "backwards compatibility" thinking of the compiler developers. In some areas (e.g. C++ and the standard library), what's shipped with the compiler is years and years behind what's current, apparently in the name of "backward compatibility". Yet where compiler flags are concerned, the developers seem to be much more cavalier about deprecating things and making changes that break backward compatibility.We try very hard not to break code or makefiles. Sun (and now Oracle) makes its money from enterprise users. Their code bases last for a long time, and changes are expensive. Changing a line in a makefile or source code file can mean having to re-certify the application.
The change from -xarch to -m specifying the memory model was more abrupt than we would have liked, and in hindsight, was probably not handled very well. We were running into combinatorial explosion of -xarch sub-options due to the increasing number of architectures that the compiler supports. Some option combinations quietly resulted in behavior that you didn't expect. (For example, the combination "*-fast -xarch=v9*"did not give the same result as "*-xarch=v9 -fast*".) Separating memory model from the other considerations made the options easier and more reliable to use.
Don't get me wrong -- I'm all for forward progress with the tool-chain -- I think that the C++ standard library and the defaults should all be brought up to what's current in the industry. Sun Studio 12 update 1 has direct support for Apache stdcxx (if installed in a standard location) in addition to libCstd and STLport. The Apache library will be in the next Open Solaris. When it will be available in a Solaris 10 update has not yet been decided.
I also think adding support for -m32/-m64 was a good move. It just seems to me that if the developers are going to deprecate a large number of flags that the compiler accepts, they should also make certain that the rest of the operating system can handle that change. To me, that means that they need to work with the developers of getconf/confstr() to make certain it knows how to check the compiler version before it emits a particular flag.Only a few options have been deprecated. It's just that they are probably the ones you used most. :-(
More than one compiler version can be installed on a system, and compilers can be installed anywhere. Programmers in medium to large shops typically run compilers installed on a remote server, although they might have other compilers installed locally. If getconf had to guess what compiler you were using, it would often guess wrong. If you have suggestions on how to match up getconf behavior with the compiler you want to use, please post them in an Open Solaris forum. -
Hi,
I have a class which provide an object to a user. The object is pending at a manual confirmation of the operation to pass the state of the resource from provisioning to provisioned.
Exists any method to obtain the task instance key to set the manual answer throw the OIM API? I have only the object key from de resource.
ThanksThor.API.tcResultSet getTaskDetail(long processInstanceKey,
java.util.Map filterMap)
throws Thor.API.Exceptions.tcAPIException,
tcAPIExceptionReturns detailed information about all the tasks definitions in the specified provisioning process.
Parameters:
processInstanceKey - The key of the process instance in the system.
Returns:
A tcResultSet containing one to many rows, each row holding information about a task in the process. The following columns are returned
Process Definition.Tasks.Key
Event Handler Manager.Key
Process Definition.Tasks.Default Assignee
Process Definition.Tasks.Milestone Dependency
Process Definition.Tasks.Conditional
Process Definition.Tasks.Task Name
Process Definition.Tasks.Milestone Sequence
Process Definition.Tasks.Milestone Sequence Interval
Process Definition.Tasks.Required For Completion
Process Definition.Tasks.Hours
Process Definition.Tasks.Minutes
Process Definition.Tasks.Days
Process Definition.Tasks.Constant Duration
Process Definition.Tasks.Allow Multiple Instances
Process Definition.Tasks.Milestone Datalabel
Process Definition.Tasks.Task Description
Process Definition.Tasks.Second Duration
Process Definition.Tasks.Allow Cancellation While Pending
Process Definition.Tasks.Disable Manual Insert
Process Definition.Tasks.Milestone Delete Flag
Process Definition.Tasks.Complete on Recovery
Process Definition.Tasks.Milestone Mapping Status
Process Definition.Tasks.Task Effect
Process Definition.Tasks.Retry Period
Process Definition.Tasks.Retry Count
Process Definition.Tasks.Trigger Type
Process Definition.Tasks.Child Table Name
Process Definition.Tasks.Assign To User Manager
Process Definition.Tasks.System Level
Process Definition.Tasks.Creation Date
Process Definition.Tasks.Created By
Process Definition.Tasks.Update Date
Process Definition.Tasks.Updated By
Process Definition.Tasks.Note
Process Definition.Tasks.Row Version
Throws:
tcAPIException
Thanks
Suren -
Integration ps with co , mm and sd
hi sap gurs
where is the exactly integration ps with co , mm and sd.
can u explain this
regards
prasanthiHi,
Integration with CO : Certain types of GL acs are defined as cost elements, these can be seen in costing reports.
Costs incurred in project(actual), costs to be incurred(commitments),costs planned can be viewed as part of ps -co integration.
Result analysis wherein actual profits of projects, work in progress etc can be analyzed as part of ps-co integration.
Integration with SD:
Sales order is made in SD. WBS element from Project system is referred in the S.O line item. Milestones depending on payment terms with customers is defined in proj systems (eg : 10% advance, 25% after receipt of material) etc.. These milestones are copied to Sales order Billing plan and subsequent billing can be done.
Integration with MM:
Material masters are defined in MM, In MRP views if strategy 21 is given for finished product, same matl is attached in proj structure, finished product can be produced using movement 581q.
Simimarly procurement type and special proc key decide the type of procurement.Also individual collective indicator in MRP views decide whether the matl would be in plant or project stock. MRP type decides whether requirement would be generated after running proj MRP. Similarly costing and accounting views decide the cost(value) that will hit the project when material is received /consumed.. -
Recreate JUST x86boot partition
How can I recreate just my x86boot partition, without reinstalling all of solais 8 x86?
I managed to nuke the info in that partition. sigh.To: [email protected]
Subject: Re: [solarisx86] Re: mboot doesn't show x86 partitions and hangs
I got it working with additional steps and information source (
http://forum.sun.com/thread.jsp?forum=11&thread=2558 ) documented
below. Thanks for your help!!
Juergen Keil wrote:
To reinstall the boot manager in the x86 Boot fdisk partition
mkfs -F pcfs -o b=BOOT,B=/boot/mdbootbp,s,i=/boot/strap.com
/dev/rdsk/c0d0p0:boot
I found another reference which suggested having a 'S'. I don't know
what it does but I used it and it worked out. Perhaps it calls the
DCA? I'm not sure.
mkfs -F pcfs -o b=BOOT,B=/boot/mdbootbp,S,s,i=/boot/strap.com
/dev/rdsk/c0d0p0:boot
>>>
>>>
I'm not sure about the difference between /boot/mdboot and the
/boot/mdbootbp file. I copied that command from Mariuz'
multiboot.solaris-x86.org site.
I guess one version is intended to boot from a FAT12 pcfs filesystem
inside an fdisk partition (X86 Boot fdisk partition), and the other
one tries to boot from a FAT12 pcfs filesystem that is not contained
inside an fdisk partition (floppy media does not use fdisk partition
tables).
Btw. running strings on /boot/mdboot and /boot/mdbootbp reveals that
mdboot contains the string "Solaris Boot Sector Version 1" while
mdbootbp contains "Solaris Boot Sector Version 2" !
If you're sure that the system reported "Version 2" before
HDD booting stopped working, then mdbootbp appears to be correct.
Is it possible that
<URL:http://docs.sun.com/db/doc/817-1658/6mhcgstor?a=view> has
the descriptions for the /boot/mdboot and /boot/mdbootbp file
swapped?
You are right, they have it wrong. mdbootbp is correct, because I now
have it working with mdbootbp!
>
>
>
Then mount the FAT filesystem and copy the /boot files from the
CD to it:
mount -F pcfs /dev/dsk/c0d0p0:boot /mnt
cp -r /boot/* /mnt
Do not overwrite strap.com!
I think this is the likely reason I had trouble before when following
the directions at http://multiboot.solaris-x86.org/iii/1.html .
I created a /tmp/boot.copy directory with everything in /boot except
'strap.com'.
cp -r /boot.CopyWithoutStrap.com/* /mnt
echo "/boot/ / p"> /mnt/solaris.map
It depends on the fdisk partition type you're booting from:
booting from X86BOOT fdisk partition
====================================
1. master boot record (MBR, sector #0) is loaded (contains mboot)
2. mboot looks at the fdisk partition table and loads the first
sector from the active fdisk partition (partition boot record, PBR)
With an X86BOOT fdisk partition this is the mdbootbp (or mdboot?)
code.
3. mdbootbp loads the hidden system file "strap.com" from the
FAT12 pcfs filesystem
4. strap.com shows the fdisk partition boot selector menu, if there
are two or more fdisk partitions on the disk
5. if you continue to boot from the x86boot fdisk partition, then
strap.com loads and runs boot.bin from the FAT12 pcfs filesystem.
6. boot.bin mounts the FAT12 pcfs filesystem from the X86Boot fdisk
partition to get access to the rest of the files under /boot
(it seems your system stops/hangs at step 3. or 4.)
booting from SOLARIS fdisk partition
====================================
1. master boot record (MBR, sector #0) is loaded (contains mboot)
2. mboot looks at the fdisk partition table and loads the first
sector from the active fdisk partition (partition boot record, PBR)
With an active SOLARIS fdisk partition this is the pboot code.
3. pboot loads the rest of the boot code from the solaris fdisk
partition (bootblk)
4. bootblk loads and runs boot.bin from the ufs partition that is
tagged as "root" (see format command: partition -> print)
5. boot.bin mounts the UFS filesystem from the "root" tagged slice
inside the Solaris fdisk partition to get access to the rest of
the files under /boot
Should I also be using intallboot? The docs only give
examples for use on a solaris partition, not on a X86 boot partition.
For example:
installboot /usr/platform/`uname -i`/lib/fs/ufs/pboot \
/usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0d0s2
installboot is not needed when you boot from an X86BOOT partition.
installboot is needed when you boot from a SOLARIS fdisk partition.
It does not hurt to have valid bootcode on the solaris fdisk
partition installed by installboot, when your system is using
an X86BOOT partition. Think of it as some kind of backup boot code,
in case the X86BOOT partition is damaged :-) This needs a copy
of the the /boot/* files installed on the "root" ufs filesystem to
be usable.
But this would likely destroy my Solaris partition!
No, it shouldn't destroy the Solaris partition. If you look at the
solaris slice table from the partition submenu of format
you should see a small slice tagged "boot" (typically slice s8),
right at the start of the solaris fdisk partition on cylinder 0.
This is where installboot writes the pboot and bootblk code.
Filesystems / swap space should start at cylinders > 0 so nothing
gets destroyed by writing the boot code to cylinder 0.
I did it and it did not destroy the partition! I'll use it later if
needed. Thanks!
Here's an example: Note the boot slice s8:
partition> print
Current partition table (original):
Total disk cylinders available: 524 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1 - 490 3.75GB (490/0/0) 7871850
1 swap wu 491 - 523 258.86MB (33/0/0) 530145
2 backup wm 0 - 523 4.01GB (524/0/0) 8418060
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 unassigned wm 0 0 (0/0/0) 0
pboot is written to sector #0 of slice 8.
sector #1 contains the SunOS disk label.
sector #2 is unused (?)
bootblk is written to sectors #3 and following on slice 8.
On a HDD that can boot from the Solaris fdisk partition, the
following commands should report no cmp differences:
# dd if=/dev/rdsk/c0d0s8 count=1 | cmp /usr/platform/`uname
-i`/lib/fs/ufs/pboot -
1+0 records in
1+0 records out
# dd if=/dev/rdsk/c0d0s8 skip=3 | cmp /usr/platform/`uname
-i`/lib/fs/ufs/bootblk -
cmp: EOF on /usr/platform/i86pc/lib/fs/ufs/bootblk -
Help/advice needed on installing Communications Suite!
Hi,
I'm still a new boy with Solaris so this is going to be more of a training excersize then anything else.
Basically I have a Sun E420r server in a home rack along with some Netra T105's to train me up with Solaris. I would like to install the Java Communication Suite on the E420r, however I haven't been able to find any install guides for it on the sun.docs website.
Ok being too hasty with no experiance I downloaded the Enterprise System first and tried installing all components at once (bad idea!) which didn't go in well at all as many of them failed. I have now decided to switch to the Communications Suite standalone installer but I'm still having problems with some components already installed from the Enterprise Suite installer and also I'm not sure how to even get the services up and running.
Sorry if I sound like a total beginner, I have manged to get many things up and running with Solaris 9 and 10 so far but could not find any guides for this at all. I did find this page:
http://docs.sun.com/app/docs/coll/1312.2
which is ok for when you have the system setup but what do I do to get it to that stage??
The server also runs the Secure Global Desktop Software coupled with the Sun Ray Server Software of which a Ray client is running off the system. But I really wanted to experiment with the Communications suite too as currently I have Scalix (MS Exchange equivelent) running on a CentOS Linux based system which was relatively straight forward to setup using CLI or GUI it's pretty simple - with documentation of course :-)
If anyone can just give me a hint or point me in the right direction I'd be really greatful!!
Many thanksMany thanks again Shane!
shjorth wrote:
Correct. Thunderbird doesn't have a personal-addressbook extension at this time. For synchronisation with hand-held devices, you would use http://wikis.sun.com/display/CommSuite/Sun+Java+Mobile+Communications+Documentation
This is in part due to a lack of standards for addressbook/calendar data. The CalDAV/CardDAV standards will help in the future. We are already working on the CalDAV side of the equation:
http://wikis.sun.com/display/CommSuite/Calendar+Server+7+Information
Seems like you work at Sun :-D
This kinda goes out to everyone that works there but just keep doing what you guys do best and creating amazing software and hardware. I really hope the Oracle takeover won't disrupt that at all as I am totally taken by Solaris I think it's awsome!!!
-Too bad that I got into so late though as I've been using Linux since around 2004-2005 and Solaris for only round say 3-4 months now which means in comparison my experience is really limited. However on the plus side things are shaping up very well as I seem to be nearly in a job which means that I will make lots of use of Solaris OS and depending on what the company wants I may be involved with setting Solaris boxes up too which would be amazing as it would give me a whole lot of opportunity to learn much more then what I can with 4, 10 years old servers as part of my home lab. Although the position is no way guaranteed but things are looking really positive.
All I can say is that I can't wait to use Solaris in a professional environment but also can't wait to get funding for newer more powerful machines for my lab so I can actually make use of a lot more Sun software like clustering and Java Web server and all the cool freebies which can be downloaded! -
hi,
currently Windows Me is installed on my Dell Pentium III m/c 20GB hard disk.
I want to install Unix(dual boot) for using it with Oracle later. Would really appreciate your guidance. Any books or other recommendations r welcomed.
Thanks in advancePartition the disk and install Solaris or Linux.
Linux supports more hardware than Solaris, so it depends on what hardware you have (and would like to use).
If you would like to use the latest computer science technology, you should run Linux. Things usually happends "faster" in the Linux community. If you can wait a few months, Solaris is fine.
Oracle runns on both.
Maybe you are looking for
-
Allocated memory pool was not deleted! 1 GB memory leak is too much for me!
Dear Sirs. I found that DB environment, that was configured to use 1 GB cache size, won't free it when closed! Why? First I tried to open and close environment and got the following: Detected memory leaks! Dumping objects -> {596} normal block at 0x0
-
Same query on different RAC instance huge execution time difference
we have 3 nodes oracle 10gR2 RAC based on ASM. The 3rd node is the latest one we added into the cluster. All instances on 3 nodes using the same system parameters and same OS and same hardware i found a weird problem, a same query i executed on node1
-
Change grid size together with the paths sticking to it
Hi! This is my first question in the Adobe forums! I have made a simple score in my own music notation with the help of the grid in AI CS7. However, I set the wrong page size and now I have to everything over again. My question is: Can I fit thwe who
-
How do you require someone to digitally sign a form before hitting submit by e-mail.
-
Rotating and Centering Masked Text
I'm in the process of creating a textual watermark for my photos in photoshop but have come across a big problem. I am using the horizontaly text mask tool but I cannot rotate nor center (both horizontally and vertically) my text before turning it in