Berkeley CSUA MOTD:Entry 37425
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2005/4/29-5/1 [Computer/SW/Security, Computer/SW/OS/Solaris] UID:37425 Activity:moderate
4/29    Why did Sun decide to implement SMF in Solaris 10? Was it just to
        piss off customers or is there some technical advantage?
        \_ Are you talking about the new way to start/stop programs,
           &c.?  If so, I must agree that the only purpose was to piss
           off customers and prove that Sun can do something stupid and
           different than Linux (chkconfig may not be great, but it
           mostly works and everyone knows how to write init scripts)
           BTW, SMF pissed off a lot of ppl inside sun who have to ship
           products on other *nix than Solaris.
           \_ I guess Sun should be on http://fuckedcompany.com if it isn't
              already.
        \_ Can someone give me a list of reasons why SMF is bad?
           \_ Complicated new way to do something that has already been
              done. Like I said, if there's some technical advantage then
              I'd like to know what it is. Maybe there is one. If not, it
              is just change for change's sake.
           \_ 1. SMF uses non-standard commands - you can't simply
                 start/stop a process by calling its init script,
                 you have to know what its SMF "name" is. Even if
                 you don't have to deal w/ other *nix, SMF makes
                 switching btwn S9 and S10 a pain.
              2. SMF enable/disable semantics are bizarre - you
                 can't just say enable/disable X like in chkconfig
                 and assume that the daemon is enabled
              3. SMF fails to provide adequate feedback re failures
                 of configuration. Often, you can't tell if a fault
                 needs to be cleared in order for it be enabled.
                 service can be enabled.
              4. SMF's files are non-standard and their contents
                 are not explained well - the purpose of SMF is
                 to make fault recover/mgmt easier, however if
                 most of your admins don't/can't figure out how
                 to fix config problems, faults will take longer
                 to remedy. Developers and Admins should not have
                 to read some guys blog on http://blogs.sun.com in order
                 to get details on how the system works.
                 \_ http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5n0?q=smf&a=view
                    \_ Yes there are docs, but the docs don't
                       really have anything useful in the. Ex.
                       tell me where in that page it specifies
                       how to use svcadm to disable a process
                       from being started or how to tell if
                       the reason a particular process is not
                       starting automatically is b/c SMF thinks
                       that the process is in 'fault' state and
                       must be cleared.
              5. The fault mgmt functionality provided by SMF could
                 easily have been provided through additions to
                 existing functionality (specific args to init
                 scripts, allowing apps to dump monitoring scripts
                 into a given directory, &c.)
                \_ Sounds like one of those numerous cases where Sun was trying
                   to solve the problem which has been already solved
                   by others and comes up with some terribly complicated and
                   non-standard way of doing things. *sigh*
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2012/5/8-6/4 [Computer/SW/Unix] UID:54383 Activity:nil
5/8     Hello everyone!  This is Josh Hawn, CSUA Tech VP for Spring 2012.
        About 2 weeks ago, someone brought to my attention that our script
        to periodically merge /etc/motd.public into /etc/motd wasn't
        running.  When I looked into it, the cron daemon was running, but
        there hadn't been any root activity in the log since April 7th.  I
        looked into it for a while, but got lost in other things I was
	...
2011/11/16-12/28 [Academia/Berkeley/CSUA, Computer/HW] UID:54230 Activity:nil
11/16   We'll be taking all CSUA machines offline in the near future for a Soda
        Hall server room reorganization (we're being moved to a neighboring
        server cabinet).  Downtime will hopefully be minimal.  --jordan
        \_ Thanks for all your work keeping the machines running!  It's
           been awesome having soda actually working again.
        \_ Update:  this is tentatively scheduled for Saturday afternoon.
	...
2011/8/9-27 [Computer/SW/Editors/Emacs, Academia/Berkeley/CSUA] UID:54162 Activity:nil
8/9     So I just found out that an old college friend of mine lost her
        four month old daughter to SIDS. What is the correct response here?
        \_ "Did she sleep with her belly?" and "Did you breastfeed?"
        \_ try this joke:
           How do you make a dead baby float?
           ˙ʎqɐq pɐǝp ÉŸo sdooÉ”s oʍʇ puɐ ɹÇ\
	...
2010/11/21-2011/1/13 [Computer/SW/Languages/Web] UID:53988 Activity:moderate
11/21   Lifehacker's recommending Dreamhost as a personal web hosting service.
        Apart from csua, who do you guys use? --erikred
        \_ What do you want to use it for? Do you need CGI or PHP?  My
           brother worked for Dreamhost and said they are unethical. In
           fact, he sued them. This refers to their treatment of customers
           and employees both. I don't know who  or what "Lifehacker" is,
	...
2010/11/1-2011/1/13 [Computer/Networking] UID:54002 Activity:nil
11/1    I'm moving from a home in Fremont to another home within the same ZIP
        code in Fremont, and AT&T customer service says I cannot transfer my
        DSL service because DSL is not available at my new home.  Is that BS?
        Are they just trying to push me to subscribe to their more expensive
        U-verse service?  I'm not asking for any lightening-speed connection.
            \_ could be
	...
2010/8/10-9/7 [Computer/Companies/Google] UID:53919 Activity:nil
8/10    http://www.businessinsider.com/google-puts-wave-out-of-its-misery-2010-8
        Google Wave No More. The people who worked on it were pretty smart.
        They wrote up a super awesome OKR with extremely low bar as a measure
        of success, exceeded everyone's expectations by going above those
        bars, and got big fat bonuses and promotions as a result of their
        planning. Brilliant.
	...
2010/2/8-18 [Computer/SW/Apps/Media, Computer/SW/Apps] UID:53695 Activity:kinda low
2/5     I like Adobe Flash. When written correctly, it scales along
        with your browser size. It looks consistent on every single
        browser. It is predictable. On the other hand, I'm not a big
        fan of CSS/HTML, which for the most part, look wildly different
        between browsers, and don't even work consistently or
        correctly at times. So why do so many people (like Steve Jobs)
	...
2009/10/27-11/3 [Computer/SW/Unix] UID:53475 Activity:nil
10/27   http://www.maxgames.com/play/flash-mind-reader.html
        how does this work?
        \_ sh -c 'for ((i=0;i<10;i++)); do for ((j=0;j<10;j++)); do echo "$i$j-(\
$i+$j)" | bc; done ; done' | uniq
        \_ bash -c 'for ((i=0;i<10;i++)); do for ((j=0;j<10;j++)); do echo "$i$j\
-($i+$j)" | bc; done ; done' | uniq
	...
2009/4/20-23 [Computer/SW/Database] UID:52876 Activity:nil
4/19    ORCL u SUNW = ORCL.
        What is Larry Ellison thinking? What is he going to do with a bunch of
        legacy Sun hardware that no one uses anymore, its fading workstation
        customer base, and open source Sun MySQL that doesn't even generate
        revenue? I really don't get all this acquisition business.
        \_ A lot of big companies still use big, fat Sun hardware. Or use
	...
2009/1/15-23 [Computer/SW/OS/OsX] UID:52398 Activity:nil
1/15    can any serious development be done on OSX that is not *for OSX*.
        i'll grant that ruby on rails has excellent tutorials for the mac.
        discuss:
        \_ What kind of serious development?  If you want to use the standard
           OSX ui then your ui code will be pretty much useless elsewhere,
           but that's why concepts like MVC are so important.  Otherwise
	...
2008/11/29-12/6 [Computer/SW/OS/FreeBSD, Computer/SW/OS/VM] UID:52129 Activity:moderate
11/29   I'm experimenting with virtualization, and as a poor college student
        I'm wondering what the best alternatives for virtualization are, and
        how best to cut my teeth on messing with non-linux platforms (or I
        guess interesting stuff on Linux would work too). Right now I've got
        FreeBSD7 running on KVM on my home computer (on a Core 2 Quad), and am
        somewhat at a loss as to how to use it. (More details: bridged
	...
2008/11/14-26 [Computer/SW/Languages/Java, Computer/SW/OS/Solaris] UID:51970 Activity:moderate
11/13   http://sfgate.com/cgi-bin/article.cgi?f=/n/a/2008/11/14/financial/f051352S72.DTL
        http://preview.tinyurl.com/6nngpm
        Sun Microsystems Inc. plans to cut up to 6,000 jobs, or 18 percent of
        its global work force, as sales of its high-end computer servers have
        collapsed.  The drastic move announced Friday highlights Sun's
        desperation to cut costs and survive as an independent company. Sun's
	...
2008/11/14-26 [Computer/SW/OS/Linux, Computer/SW/OS/Solaris] UID:51989 Activity:moderate
11/14   lulz why doesn't GOOG buy JAVA i mean SUN i mean whatever the hell they
        are these days.
        \_ Even GOOG isn't THAT stupid
           \_ Sorry, but WHY would Google do something like that? They
              run 99.2% Linux servers on the backend. They don't use
              Solaris for development. I mean, what does Sun have to
	...
2008/9/24-29 [Computer/SW/OS/Windows, Computer/SW/OS/Solaris] UID:51283 Activity:nil
9/24    Why is nscd going crazy?  DoS?
        \- back in the solaris say 2.5-2.6 era, it had both some bugs
           (some malformed nis maps made it go crazy) and architectural
           flaws in the IPC/door+threading mechanism. if you are running
           OS-recent, dunno, but you can trace it.
           \_ Yeah, I think it's just buggy.  I've restarted it, and it seems
	...
2008/4/3-9 [Computer/SW/Languages/Misc, Computer/SW/OS/Solaris] UID:49658 Activity:nil
4/3     Solaris experts: I've never played with ZFS. Does it have a native
        dump command a la ufsdump?
        \_ This might be what you are looking for:
           http://preview.tinyurl.com/2xqkda [sun - bigadmin]
	...
2008/3/30-4/6 [Computer/SW/OS/Solaris] UID:49614 Activity:nil
3/30    Question: I just deleted 60 GB of files from an 80 GB disk. The
        disk activity lights were blinking like crazy and I could hear the
        drive crunch while the data was deleted. This is under Solaris.
        Anyway, I think UNIX uses unlink() when files are deleted. Shouldn't
        it just update the free list on the superblock and call it a day?
        What is all the crunching about?
	...
2007/11/27-30 [Computer/SW/Languages/C_Cplusplus, Computer/SW/OS/Solaris] UID:48701 Activity:high
11/27   I'm using select to do a nonblocking check to see if a single socket
        has anything to read off it.  Problem is, I can have up to 12228
        file descriptors, and Linux fd_set only supports up to 4096.  Any idea
        what I can do about this?  (Or a better solution?) -jrleek
        \- 1. who are you
           2. i am busy this week and you didnt mention language
	...
Cache (8192 bytes)
docs.sun.com/app/docs/doc/817-1985/6mhm8o5n0?q=smf&a=view
System Administrati on Guide: Basic Administration >> 9 Managing Services (Overview) Previous Previous: 8 Shutting Down and Booting a System (Overview) Chapter 9 Managing Services (Overview) This chapter provides an overview of the Service Management Facility (SMF ). In addition, information that is related to run levels is provided. This is a list of the overview information in this chapter. Introduction to SMF SMF provides an infrastructure that augments the traditional UNIX start-u p scripts, init run levels, and configuration files. SMF provides the fo llowing functions: * Automatically restarts failed services in dependency order, whether t hey failed as the result of administrator error, software bug, or were affected by an uncorrectable hardware error. The dependency order is defined by dependency statements. Also, this process is eased by individual and persistent log files for each service. These ch anges can persist through upgrades and reboots. For example, most customer and ISV-supplied rc scripts still work as usual. Dependency statements define the relationships between services. These re lationships can be used to provide precise fault containment by restarti ng only those services that are directly affected by a fault, rather tha n restarting all of the services. Another advantage of dependency statem ents is that the statements allow for scalable and reproducible initiali zation processes. In addition, by defining all of the dependencies, you can take advantage of modern, highly parallel machines, because all inde pendent services can be started in parallel. SMF defines a set of actions that can be invoked on a service by an admin istrator. These actions include enable, disable, refresh, restart, and m aintain. Each service is managed by a service restarter which carries ou t the administrative actions. In general, the restarters carry out actio ns by executing methods for a service. Methods for each service are defi ned in the service configuration repository. These methods allow the res tarter to move the service from one state to another state. The service configuration repository provides a per-service snapshot at t he time that each service is successfully started so that fallback is po ssible. In addition, the repository provides a consistent and persistent way to enable or disable a service, as well as a consistent view of ser vice state. This capability helps you debug service configuration proble ms. Changes in Behavior When Using SMF Most of the features that are provided by SMF happen behind the scenes, s o users are not aware of them. Here is a list of the behavior changes that are most visable. Services do not dis play a message by default when they are started. All of the information that was provided by the boot messages can now be found in a log file for each service that is in /var/svc/log. You can use the svcs command to help diagnose boot problems. In addition, you can use the -v option to the boot command, which generates a message when each service is started during the boot process. If the service is defective, the service will be placed in maintenance mode, but normally a service is restarted if the process for the service is killed. The svcadm command should be used to disable any SMF service that should not be running. The scripts are no longer needed to enable or disable a service. Entries from /etc/inittab have also been removed, so that the services can be administered using SMF Scripts and inittab entries that are provided by an ISV or are locally developed will continue to run. The services may not start at exactly the same point in the boot process, but they are not started before the SMF services, so that any service dependencies should be OK. SMF Concepts This section presents terms and their definitions within the SMF framewor k These terms are used throughout the documentation. To grasp SMF conce pts, an understanding of these terms is essential. SMF Service The fundamental unit of administration in the SMF framework is the servic e instance. Each SMF service has the potential to have multiple versions of it configured. As well, multiple instances of the same version can r un on a single Solaris system. A specific web server daemon tha t is configured to listen on port 80 is an instance. Each instance of th e web server service could have different configuration requirements. Th e service has system-wide configuration requirements, but each instance can override specific requirements, as needed. Multiple instances of a s ingle service are managed as child objects of the service object. Services also represent varied syste m entities that include ISV applications such as Oracle software. In add ition, a service can include less traditional entities such as the follo wing: * A physical network device * A configured IP address * Kernel configuration information * Milestones that correspond to system init state, such as the multiuse r run level Generically, a service is an entity that provides a list of capabilities to applications and other services, local and remote. A service is depen dent on an implicitly declared list of local services. Milestone services represent hi gh-level attributes of the system. For example, the services which const itute run levels S, 2, and 3 are each represented by milestone services. Service Identifiers Each service instance is named with a Fault Management Resource Identifie r or FMRI The FMRI includes the service name and the instance name. For example, the FMRI for the rlogin service is svc:/network/login:rlogin, where network/login identifies the service and rlogin identifies the ser vice instance. Equivalent formats for an FMRI are as follows: * svc://localhost/system/system-log:default * svc:/system/system-log:default * system/system-log:default In addition, some SMF commands can use the following FMRI format: svc:/sy stem/system-log. Some commands infer what instance to use, when there is no ambiguity. svcs, for instructions about which FMRI formats are appropriate. The service names usually include a general functional category. d scripts are also represented with FMRIs that start with lrc instead of svc, for example: lrc:/etc/rcS_d/S35cacheos_sh. The legacy s ervices can be monitored using SMF However, you cannot administer these services. Service States The svcs command displays the state, start time, and FMRI of service inst ances. The state of each service is one of the following: * degraded The service instance is enabled, but is running at a limit ed capacity. SMF Manifests An SMF manifest is an XML file that contains a complete set of properties that are associated with a service or a service instance. Manifests should not be used to modify the properties of a service. The service configuration repository is the au thoritative source of configuration information. To incorporate informat ion from the manifest into the repository, you must either run svccfg im port or allow the service to import the information during a system boot . service_bundle man page for a complete description of the contents of the SMF manifests. SMF Profiles An SMF profile is an XML file that lists the set of service instances tha t are enabled when a system is booted. xml This profile enables most of the standard internet services that have been enabled by default in earlier Solaris releases. xml This profile disables many of the standard internet services. The sshd service and the NFS services are started, but most of the rest of the internet services are disabled. Service Configuration Repository The service configuration repository stores persistent configuration info rmation as well as SMF runtime data for services. The repository is dist ributed among local memory and local files. SMF is designed so that even tually, service data can be represented in the network directory service . The data in the se rvice configuration repository allows for the sharing of configuration i nformation and administrative simplicity across many Solaris instances. The service configuration repository can only be manipulated or queried using SMF interfaces. SMF Snapshots The data i...
Cache (1004 bytes)
fuckedcompany.com
Nice pants Rumor has it Levi Strauss has been forced to sell-off its sinking Dockers business to pay off the debtors. Trilogy Software is packing up shop and sending all development jobs to India. Word is the company is looking into how many customer service jobs can be done from India as well. Knowmadic employees are jumping ship, including the Director of Engineering, some designers, and the entire QA team. According to one employee and FC reader, "We knew it was coming. The funny thing is that by intially you say to yourself, 'at least they are keeping the jobs in the US' -- until you speak to the conversion team in Illinois and find out the majority of them are from India and Russia." Passport Health staff developers were just given a choice by their new onwers, United Wisconsin Proservices: Move to Franklin, TN (just south of Nashville) or you're out of a job in six months. Deloitte Consulting has terminated the employment of all participants in its MBA educational assistance program.
Cache (44 bytes)
blogs.sun.com
REFRESH(0 sec): http://blogs.sun.com/roller/