How to reconcile services?

To support a large number of Solaris 10 machines, I need a way
to establish an initial configuration of services, and to modify that
configuration from time to time. Taking the inetd restarter as an
example, I used to keep copies of /etc/inet/inetd.conf in a central
location, installing them on each machine in a Jumpstart finish
script. Commenting out lines in the file would disable those
services.
This no longer works in build 69. It's possible to convert an
netd.conf file into services that run under the inetd restarter,
but commented out lines don't disable the corresponding
service. What I'm thinking of for Solaris 10, is to run `inetadm'
to get a file containing the current set of inetd services. The
output shows the enabled/disabled status in the first column.
Then, I'd create a second file, starting with a copy of the first one,
but with the first column modified to show the desired status.
A script could then compare the two files, and and issue `inetadm'
commands to change the status of services to match the desired
status.
Is this a reasonable approach? Does anything like this facility
already exist, or is planned? I'd also need to do the same thing
for services that run under the default restarter. The objective
is to be able to specify a set of enabled services for each
machine, and ensure that the machine is running with only those
services enabled. We have a procedure now that makes those
types of adjustments periodically , or on request.
I also want to take properties into account, particularly for inetd
services. I notice that inetd no longer looks at /etc/default/inetd.
I've been enabling TCP wrappers from that file. Now, I have to do
it by changing properties of inetd or of services that run under it.
There is also the issue of locally-installed services. I've taken the
approach of writing manifests for them, an installing them in the
Jumpstart finish script. Is this a reasonable approach? I still have
the problem of enabling or disabling those services, as required.

Are there any services that should not be disabled
initially, but can be disabled later?Services ending with "-upgrade" tend to disable themselves after running on first boot. Depending on whether you need SVM or not, you may be able to disable the various "meta" services.
I'm also going to install manifests for
locally-installed services
into /var/svc/manifest/site in the Jumpstart finish
script. I have
one that ensures that a specific NFS mount has
succeeded,
for example. Is there a similar place for
locally-installed
methods? I've been using /lib/svc/method .We haven't reserved a location for site methods, as they can be placed anywhere in the filesystem. (I'll think about making a site directory in /lib/svc.) If you name your methods with some unique prefix, you'll be fine. (At home, where I play the role of hobbyist admin, I put such methods in /etc/[my_domainname], or in /opt/[my_domainname], depending on when they're needed in boot.
- Stephen

Similar Messages

  • Does anyone know how to reconcile (merge) two adobe id accounts?

    I have two Adobe ID accounts and the email address associated with the older one no longer exists. I need to either merge the two accounts, or get the password update link in a different way ( the automated email method doesn't work because that email address is defunct.  I can't get through to Adobe on the chat line as it is always busy.  Anybody have a work-around for updating the old password?
    Or know how to reconcile the two accounts? Here's hoping!  ~Bill

    Chat is likely to be your only option - try using different browsers if things don't play out making contact.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Adobe ID and registration chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service-c1.html ( http://adobe.ly/19r6ZDp )

  • How to reconcile procedure or function in a mapping using OMB Plus?

    HI,
    Could any one please explain, how to reconcile a procedure or function used in a mapping?
    Thank you,
    Regards,
    Gowtham Sen.

    Hi,
    You can only reconcile Inbound (from Procedure to the mapping) :
    OMBRECONCILE PROCEDURE \
    '/[Project_name]/[Module_name]/[Procedure_name]
    TO MAPPING '[Mapping_name]' \
    OPERATOR '[for example name of a Post-Mapping Process in the mapping]' \
    USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
    Hope that will help.
    Best Regards
    Samy

  • How to correct "service 'apple mobile device' failed to start" error?

    How to correct " service 'Apple Mobile Device' failed to start" error?

    How to restart the Apple Mobile Device Service (AMDS) on Windows
    Solving MSVCR80 issue and Windows iTunes install issues.

  • How to reconcile Vendor as a customer also.

    Hi gurus
    How to reconcile Vendor as a customer, suppose if I buy 1000/- and sold to same vendor 250/-. where i can configure,how to reconcile? i want configration part?
    Thank yo
    Anil

    Hi,
    The steps are -
    1. The customer number must be entered in the corresponding vendor master record
        a. FK02->General Data -> Control
            In the 'Account control' tab, in the 'Customer' field, enter the customer number
        b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clrg with Cust'
    2. The vendor number must be entered in the corresponding customer master record
        a. FD02->General Data -> Control
            In the 'Account control' tab, in the 'Customer' field, enter the vendor number
        b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clearing with vendor'
    3. For testing, create a vendor invoice through FB60 and customer invoice through FB70.  Note that customer and vendor are properly selected.
    4. For clearing the open items.  Use the Tcode F-32.  On clicking the 'Process open Items', the vendor invoice (KR) and customer invoice (DR) are shown automatically.  It will generate the FI document with proper entry.
    Note:  Partial / Residual payment between customer and vendor is also possible
    Regards,
    Sridevi
    Pls. assign points, if useful

  • How to Close Service Purchase Orders

    Dear All,
    Please guide me how to close Service Purchase order if the part services are pending and Net value is not completed or no service entry done.
    But still we need to close the purchase order.
    Is there any manual provision in Service Entry Sheet or Purchase order ?
    Please help.
    Shailesh Panchal

    Hi,
    Activate Delivery Complete Indicator on Service Purchase Orders through configuration.
    SPRO-Materials Management-Purchasing-Purchase Order-Define Screen Layout at Document Level-PT9F-Define Screen Layout at Document Level-Optional
    Now check all the service purchase orders for which you want to close.
    Hope this will help you.
    BR,
    Patil

  • How to add services for object in ECC6.0

    Hi everybody,
                        Can anybody tell me how to add "Services for Object" icon in ECC 6.0 because this icon is there in 4.6C but not coming in ECC 6.0.
    Thanks in Advance

    Hi Saurabh,
                Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C)  b'coz its very urgent.

  • I would like to know how I can service my battery online.

    I would like to know how I can service my battery online?

    Hi Michael,
    Download Coconut battery, its a smal program that displays battery information and if you have over 500 battery load cycles it might be nearly ready to be replaced. I had to do the exact same thing.
    When the battery gets close to dying it starts to lose the macs PRAM and NVRAM settings possibly eventually stopping you from selecting a boot disk or it might even just randomly freeze and require a restart. If this does happen hold down Command+alt+P+R to reset these parameters on reboot before the grey screen appears.
    If this starts to happen you know it needs replacing
    Good luck

  • How to create Service Monitor - best Way

    I have a task at hand : 
    Creating monitor to alert when a service is stopped.
    We are using SCOM 2012
    I checked and found various ways to do so http://www.bictt.com/blogs/bictt.php/2011/03/16/scom-monitoring-a-service-part1
    My requirement is : there are like 100 such services on 100 different windows computers that i need to monitor.
    The services are not common , so 2 computers have the same service , Maybe some service that i need to be monitored be on 2 computers but overall every service is unique.
    What is my best option:
    1.Create a basic unit monitor and target to Windows computer class ? Create is as disabled ? Override for just the machine that has it.
    Will it clutter my Windows Server class health explorer . (How bad is that as per performance)
    2.Create a Service monitor using Windows Service templates 
    Do i have to create 100 target groups , as i have to Target the monitor to specific computer only
    Since template service monitor create discoveries , targets etc on its own  (Am i going to clutter SCOM with a lot of those) 100 
    3.Do i create a attribute for each service , so as to extend the windows base class to discover the computer that has specific service (Using registry)
    too much work is it and how good of an option is this.
    4.MP Authoring ,Create new class discovery based on WMI / Registry to find computer and then target the monitor 
    What would you do in such a case.

    An example is the windows service monitoring from the Windows Management Packs. Microsoft does not discover any of these services. The MPs discover the Windows 2003  \ 2008 \ 2012 Operating System Class and the basic service monitors are targetted at
    this class. This means it is relatively light weight monitoring (less overhead on the agent and less discovery information in the databases) but it does mean that you can't add any of these services to a distributed application or report on their availability.
    You don't report on individual monitors but on objects which may have many monitors targetted at them.
    Windows Server 2003
    ü 
    Computer Browser Service
    ü 
    DHCP Client Service
    ü 
    DNS Client Service
    ü 
    Plug and Play Service
    ü 
    RPC Service
    ü 
    Server Service
    ü 
    TCP \ IP NetBios Service
    ü 
    Windows Event Log Service
    ü 
    Workstation Service
    Windows Server 2008 (including R2)
    ü 
    Computer Browser Service
    ü 
    DHCP Client Service
    ü 
    DNS Client Service
    ü 
    Plug and Play Service
    ü 
    RPC Service
    ü 
    Server Service
    ü 
    TCP \ IP NetBios Service
    ü 
    Windows Event Log Service
    ü 
    Workstation Service
    Windows Server 2012
    ü 
    Computer Browser Service
    ü 
    DHCP Client Service
    ü 
    DNS Client Service
    ü 
    Plug and Play Service
    ü 
    RPC Service
    ü 
    Server Service
    ü 
    TCP \ IP NetBios Service
    ü 
    Windows Event Log Service
    ü 
    Workstation Service
    If you want to actually report on the availability of this windows service (or add it to a Distributed Application) then you do need to discover it - either via the Authoring Template or authoring your own discoveries.
    Only you can decide what you need and you might have a different need for each service depending on what it is doing.
    Jonathan Almquist has a good walk through here about how to change service monitoring to allow for consecutive occurrences of a service being unavailable but it is deep authoring. 
    http://blogs.technet.com/b/jonathanalmquist/archive/2011/06/24/windows-service-monitoring-reduce-false-alerts-part-2.aspx
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • How to reconcile table GLT1?

    Dear Gurus,
    Can anyone tell me how to reconcile value in table GLT1 same to balance carryforward for G/L account balance, customer and vendor account balance? Using program or any other method?
    Table GLT1 is used to generate Balance sheet report via report writer. Because of the opening balance not correct, it caused the report generated not correct as well.
    Pls advise asap.
    Thanks.
    Loi

    Hi:
      GLT1 is part of the special ledger.It contains the summary balance for all entry posted posted. It only populates values once iit is activated in t code GCVO. However if your opening balance not tallying you can use Table GLT0 for the opening balance too. Opening balance in it are stored in field HSLV (Balance carried forward in local currency). Please check hope it will resolve your issue.
    Regards

  • How to reconcile customer balances with control accounts

    Hi!
    Sanjay Here,
    1. how to reconcile the customer balances  pl. explain in details.
    2. how to reconcile the customer balance with control accounts
    3. how to do the automatic clearing through T code f.13. pl. give us the screen shots if available.
    4. how to reset the T-code f.32 clearing documents, if wrongly showing in customer balance.

    1. how to reconcile the customer balances pl. explain in details &
    2. how to reconcile the customer balance with control accounts
    Ans:- Thru report painter T-code FGI4 (Form) & Report FGI1 using cutomer summary table we can define report, which shall give the desired requirement. It give customer wise & controll account wise balances.
    3. how to do the automatic clearing through T code f.13. pl. give us the screen shots if available
    Ans. F.13 is used for GL automatic clearing basing on the required config for GL . Like GR/IR clearing is there in automatic posting we have to define COA, GL & creteria1, creteria2 ..... Incase of GR/IR field name can be VBUND (Purchase order). When configure this in F.13 when we check the check box GR/IR and GL system shall look for setting for automatic clearing based on creteria it shall automatically clear.
    4. how to reset the T-code f.32 clearing documents, if wrongly showing in customer balance
    Ans. To reset a claerinf document Tcode is FBRA. Reset the clearing doc first and reverse the doc Tcode FB08.
    Thanks
    Colin Thomas

  • Challan date new and GR date past, How to reconcile?

    Hi,
    We have some material document in subcontracting process and user did not reconcile challan for these GR no.
    and these Material documents were from previous period , now while J1IFQ he is getting following error
    " Excise document is posted later to Material document"
      Message no. 8I576
    I checked there were around 20-25 GR were posted but not reconciled, He reconciled the wrong way using the new challans instead of taking the previous one sequentially ,now the situation is that for reconciliation the remaining GR, the challan date is new and the GR date is past, How to reconcile these documents? what is the workaround to clear this problem? Please advise
    Thanks

    it is not possible to reconcile. because logically GRN. will be made with refernce to challan.
    please track those documents manually. Challan should me made the day your goods leaves your location. not prior or early. violation of excise rule(PGI date and challan date should be same). i dont think SAP will support for this.
    Regards
    Maruthi S

  • How to create SERVICE PR using BAPI_PR_CREATE

    Hi everyone,
    How to create SERVICE PR using BAPI_PR_CREATE
    Regards,
    My Code(it doesn't work,I don't know what's wrong.):
    *& Report  ZWTEST
    REPORT  zwtest.
    DATA: header TYPE bapimereqheader,
          headerx TYPE bapimereqheaderx,
          item LIKE TABLE OF bapimereqitemimp WITH HEADER LINE,
          itemx LIKE TABLE OF bapimereqitemx WITH HEADER LINE,
          account  LIKE TABLE OF bapimereqaccount WITH HEADER LINE,
          accountx LIKE TABLE OF bapimereqaccountx WITH HEADER LINE,
          service LIKE TABLE OF bapi_srv_service_line WITH HEADER LINE,
          servicex LIKE TABLE OF bapi_srv_service_linex WITH HEADER LINE,
          serviceaccount LIKE TABLE OF  bapi_srv_acc_data WITH HEADER LINE,
          serviceaccountx  LIKE TABLE OF bapi_srv_acc_datax WITH HEADER LINE,
          preq_no LIKE  bapimereqheader-preq_no,
          lt_return LIKE TABLE OF bapiret2 WITH HEADER LINE,
          wa_return LIKE bapiret2.
    header-pr_type = 'NB'."订单类型(采购)
    headerx-pr_type = 'X'.
    CLEAR: item.
    item-preq_item = '00010'.
    item-pur_group = '426'."采购组
    item-short_text = '服务类PR'."短文本
    item-plant = '1051'."工厂
    item-matl_group = 'AS07'."物料组
    item-item_cat = '9'."项目类别
    item-acctasscat = 'K'."科目分配类别
    item-pckg_no = '0000000001'."软件包编号
    APPEND item.
    CLEAR: itemx.
    itemx-preq_item = '00010'.
    itemx-preq_itemx = 'X'.
    itemx-pur_group = 'X'."采购组
    itemx-short_text = 'X'."短文本
    itemx-plant = 'X'."工厂
    itemx-matl_group = 'X'."物料组
    itemx-item_cat = 'X'."项目类别
    itemx-acctasscat = 'X'."科目分配类别
    itemx-pckg_no = 'X'."软件包编号
    APPEND  itemx.
    CLEAR: account.
    account-preq_item = '00010'.
    account-serial_no = '01'.
    *account-quantity = '0.955'.
    *account-distr_perc = '95.5'.
    account-gl_account = '4205020000'.
    account-costcenter = '1042000001'.
    *account-co_area = 'CNOC'.
    *account-profit_ctr = '9999999999'.
    APPEND account.
    CLEAR: accountx.
    accountx-preq_item = '00010'.
    accountx-serial_no = '01'.
    accountx-preq_itemx = 'X'.
    accountx-serial_nox = 'X'.
    *accountx-quantity = 'X'.
    *accountx-distr_perc = 'X'.
    accountx-gl_account = 'X'.
    accountx-costcenter = 'X'.
    *accountx-co_area = 'X'.
    *accountx-profit_ctr = 'X'.
    APPEND accountx.
    CLEAR: service.
    service-doc_item = '00010'.
    service-outline = '0000000001'.
    service-srv_line = '0000000010'.
    service-short_text = 'service test'.
    service-quantity = '10.000'.
    service-uom = 'AU'.
    service-gross_price = '10.00'.
    service-currency = 'CNY'.
    *service-matl_group = 'AS07'."物料组
    APPEND service.
    CLEAR: servicex.
    servicex-doc_item = '00010'.
    servicex-outline = '0000000001'.
    servicex-srv_line = '0000000010'.
    servicex-short_text = 'X'.
    servicex-quantity = 'X'.
    servicex-uom = 'X'.
    servicex-gross_price = 'X'.
    servicex-currency = 'X'.
    *servicex-matl_group = 'X'.
    APPEND servicex.
    CLEAR: serviceaccount.
    serviceaccount-doc_item = '00010'.
    serviceaccount-outline = '0000000001'.
    serviceaccount-srv_line = '0000000010'.
    serviceaccount-serial_no = '01'.
    serviceaccount-serial_no_item = '01'.
    serviceaccount-percent = '100'.
    APPEND serviceaccount.
    CLEAR: serviceaccountx.
    serviceaccountx-doc_item = '00010'.
    serviceaccountx-outline = '0000000001'.
    serviceaccountx-srv_line = '0000000010'.
    serviceaccountx-serial_no = '01'.
    serviceaccountx-serial_no_item = 'X'.
    serviceaccountx-percent = 'X'.
    APPEND serviceaccountx.
    CALL FUNCTION 'BAPI_PR_CREATE'
      EXPORTING
        prheader               = header
        prheaderx              = headerx
    *   TESTRUN                =
      IMPORTING
        number                 = preq_no
    *   PRHEADEREXP            =
      TABLES
        return                 = lt_return
        pritem                 = item
        pritemx                = itemx
    *   PRITEMEXP              =
    *   PRITEMSOURCE           =
        praccount              = account
    *   PRACCOUNTPROITSEGMENT  =
        praccountx             = accountx
    *   PRADDRDELIVERY         =
    *   PRITEMTEXT             =
    *   PRHEADERTEXT           =
    *   EXTENSIONIN            =
    *   EXTENSIONOUT           =
    *   PRVERSION              =
    *   PRVERSIONX             =
    *   ALLVERSIONS            =
    *   PRCOMPONENTS           =
    *   PRCOMPONENTSX          =
    *   SERVICEOUTLINE         =
    *   SERVICEOUTLINEX        =
        servicelines           = service
        servicelinesx          = servicex
    *   SERVICELIMIT           =
    *   SERVICELIMITX          =
    *   SERVICECONTRACTLIMITS  =
    *   SERVICECONTRACTLIMITSX =
        serviceaccount         = serviceaccount
        serviceaccountx        = serviceaccountx
    *   SERVICELONGTEXTS       =
    *   SERIALNUMBER           =
    *   SERIALNUMBERX          =
    * 处理错误消息:通过判断消息的类型,来判断BAPI是否成功
    READ TABLE lt_return INTO wa_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
      WRITE: / '成功创建采购申请', preq_no.
    ENDIF.
    LOOP AT lt_return INTO wa_return.
      WRITE: / wa_return-message, wa_return-type, wa_return-id, wa_return-number.
    ENDLOOP.

    see note:
    1950319 - How to create service PR with BAPI_PR_CREATE.pdf

  • How to restrict Service PO type to enter GR based account assignment

    Hi,
    How to restrict Service Based PO document type to enter GR based Account assignment.
    Thanks in advance.
    Regards
    JACK

    Dear Jack,
    Purchase Order Account Assignment For Service Items:
    http://www.sap-img.com/materials/account-assignment.htm
    The concept of account assignment remains same whether for materials with Mat. No. Or only text. 
    If you are purchasing a particular service for a cost center. then you can assign the PO item to Cost Center & so on..... 
    Material Management 
    -> Purchasing 
    -> Material Master 
    -> Entry Aids For Items Without a Material Master.
    Also, visit:
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/maintance-order-not-reading-valuation-area-in-okb9-1018737
    Regards,
    Naveen.

  • How to create Service and response profiles

    Hello Gurus
              I have configured the IC Web Client in solution manager 4.0 system. But in sservice ticket i am not able to see the SLA info. Please tell me
      where to give these SLA parameters ?
      How to create service and response profiles?
      Shuold i use SLF1 instead of  SLFN to maintain SLA ?
    Please tell me how to do these it will be very helpful....

    Hi Naveen
    The Service and Response Profiles can be created in the easy access menu using the path
    SAP Menu> Service> Service Contracts and Service Plans--> Maintain availability and Response Time
    Availability time is also know as service profile
    And then assign these service and response profiles to your Servie Product Master which will be used in the service ticket.
    For the field to be available to enter teh service and response profile in the product master, assign the set types COMM_PR_SRV to the category in which the product will be created
    Hope this would help.
    Regards,
    Rekha Dadwal
    <b>
    You gain a point for every point that you reward. So reward helpful answers generously</b>

Maybe you are looking for