IPQos in solaris 11

hi dear i find a problem in os1111(oracle solaris 11 /11) front of solaris 10
we have IPQos command in solaris 10 but its not already in solaris 11
can you help me for find this . baut i think dladm decries instead of IPQos
although i don t know .

man ipadm
Looks like -a may help.
alan

Similar Messages

  • Any kind of bandwith limiting or priority for specific network services ?

    I tried IPQoS to limit the bandwith for a ftp-service. This is very well documented in the IPQoS Administration Guide, but it seems to have no effect at all in my lan. The ftp-transfer still consumes all
    available bandwith and any other interactive traffic like ssh is slow as hell. I think this is due to the fact that i do not have a diffserv capable router. Is it correct that IPQoS in Solaris 9 only marks packages but don't do anything else ?
    My kstat output says:
    "kstat -m tokenmt"
    module: tokenmt instance: 10
    name: tokenmt statistics class: meterftp
    crtime 171043.6888275
    epackets 0
    green_bits 369888
    green_packets 196
    red_bits 205079496
    red_packets 18160
    snaptime 174628.7017885
    yellow_bits 0
    yellow_packets 0
    Nearly all packets are marked red and the target for red packets is markAF31 with dscp_map{0-63:26}.
    Strange to see that "kstat -m dscpmk" shows no results at all. This is possible a bug or not well
    documented in the IPQoS Administration Guide.
    Is there any (other) way to priorize interactive traffic or limit/shape the bandwith for specific services without additional Hardware in my network ?

    You may have already resolved your problem, but here is what I've been using -- I'm just recently (like two days ago) trying IPQoS.
    As you can see from my code I really restricted bandwith so I could see the reaction, and tested with a specific machine so it wouldn't mess with other stuff. Turn on ftp hash and watch it crawl. I've only tested outgoing so far, but will also test incoming.
    We are not using DiffServ on our routers, so I just drop 'red' packets. I'm using yellow just to play and get stats.
    Am looking for tools to read the flowacct data when I came across your post.
    good luck!
    fmt_version 1.0
    # TEST configuration
    # Monitor and gather ftp statistics from pilasvp101 (only)
    # this host: ssrv194bw (163.241.195.249)
    # this host: pilasrp101 (163.241.205.147)
    # remote hosts: pilasvp101 (163.241.195.240)
    action {
    module ipgpc
    name ipgpc.classify
    params {
    global_stats TRUE
    class {
    name ftp_traffic
    enable_stats TRUE
    next_action meter_ftp
    filter {
    name ftp_in
    sport ftp
    saddr 163.241.195.240
    direction LOCAL_IN
    ip_version V4
    class ftp_traffic
    filter {
    name ftp_data_in
    sport ftp-data
    saddr 163.241.195.240
    direction LOCAL_IN
    ip_version V4
    class ftp_traffic
    filter {
    name ftp_out
    dport ftp
    daddr 163.241.195.240
    direction LOCAL_OUT
    ip_version V4
    class ftp_traffic
    filter {
    name ftp_data_out
    dport ftp-data
    daddr 163.241.195.240
    direction LOCAL_OUT
    ip_version V4
    class ftp_traffic
    # 10 Mbps, or 10000000 bits per second.
    # 100 Mbps, or 100000000 bits per second.
    # 1000 Mbps, or 1000000000 bits per second.
    # USED BELOW:
    # committed_rate - 100000 bits per second = 0.10 Mbps.
    # committed_burst - 100000 bits per second = 0.10 Mbps.
    # peak_rate - 150000 bits per second = 0.15 Mbps.
    # peak_burst - 150000 bits per second = 0.15 Mbps.
    # committed_rate - allowable transmission rate
    # committed_burst - allowable burst size. Defines how many outgoing packets
    # of a particular class can pass onto the network at the
    # committed rate.
    # peak_rate - peak rate in bits per second
    # peak_burst - peak or excess burst size in bits. The peak burst parameter
    # grants to a traffic class a peak-burst size that exceeds
    # the committed rate.
    # color_aware - turns on color-aware mode for tokenmt, which expects the
    # bits to have already been modified for DSCP
    # color_map - defines an integer array that maps DSCP values to
    # green, yellow, or red.
    # red_action - action to take when traffic flow exceeds peak rate
    # yellow_action - the packet causes the flow to exceed its committed_rate
    # but not its peak rate (committed_burst). This must be used
    # if 'peak_rate' is defined.
    # green_action - action to take for conforming traffic flow
    # global_stats - enable metering stats for the class
    action {
    module tokenmt
    name meter_ftp
    params {
    global_stats TRUE
    committed_rate 100000
    committed_burst 100000
    peak_rate 150000
    peak_burst 150000
    red_action_name red_accounting
    yellow_action_name yellow_accounting
    green_action_name green_accounting
    color_aware FALSE
    # timer - scanning interval in milliseconds (default 15 seconds)
    # timout - a flow "times-out" when its packets are no longer seen
    # by the IPQoS system in milliseconds (default 60 seconds)
    # max_limit - maximum number of entries a flow table can contain
    action {
    module flowacct
    name red_accounting
    params {
    global_stats TRUE
    timer 10000
    timeout 10000
    max_limit 2048
    next_action drop
    action {
    module flowacct
    name yellow_accounting
    params {
    global_stats TRUE
    timer 10000
    timeout 10000
    max_limit 2048
    next_action continue
    action {
    module flowacct
    name green_accounting
    params {
    global_stats TRUE
    timer 10000
    timeout 10000
    max_limit 2048
    next_action continue
    }

  • Bandwidth manager with Solaris 10

    Hi all
    I newbie with solaris and would like to test the IPQoS feature to use for bandwidth limit in a isp.
    I just readed the oficial IPQoS Sun tutorial but I looking for simples examples to limit the bandwidth per ip (clients).
    Someone knows where can find more examples.
    Thanks in advance.
    roberto

    Did you checked this one out already?
    http://docs.sun.com/app/docs/doc/816-4554/6maoq028g?a=view
    //M.

  • IPQoS panic: BAD TRAP in module "flowacct" due to NULL pointer.

    I've recently started using IPQoS and the flowacct module to do some very simple tracking of bandwidth usage (along with one tokenmt action to meter traffic to and from one particular zone) on a host with multiple zones, running Solaris 10 x86, 118844-30. This host has been otherwise stable to date. A couple of hours ago, I got a kernel panic, apparently caused by flowacct:
    Dec 21 07:31:46 sol genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=d6e169a4 addr=8 occurred in module "flowacct" due to a NULL pointer dereference
    Dec 21 07:31:46 sol unix: [ID 100000 kern.notice]
    Dec 21 07:31:46 sol unix: [ID 839527 kern.notice] named:
    Dec 21 07:31:46 sol unix: [ID 753105 kern.notice] #pf Page fault
    Dec 21 07:31:46 sol unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x8
    Dec 21 07:31:46 sol unix: [ID 243837 kern.notice] pid=22655, pc=0xf7cad802, sp=0xd, eflags=0x10283
    Dec 21 07:31:46 sol unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
    Dec 21 07:31:46 sol unix: [ID 936844 kern.notice] cr2: 8 cr3: ab02000
    Dec 21 07:31:46 sol unix: [ID 537610 kern.notice]      gs: 1b0 fs: d6250000 es: d6e10160 ds: fe870160
    Dec 21 07:31:46 sol unix: [ID 537610 kern.notice]      edi: d3b25938 esi: d3b26838 ebp: d6e16a18 esp: d6e169d4
    Dec 21 07:31:46 sol unix: [ID 537610 kern.notice]      ebx: db0853b4 edx: d3b26828 ecx: 0 eax: 0
    Dec 21 07:31:46 sol unix: [ID 537610 kern.notice]      trp: e err: 2 eip: f7cad802 cs: 158
    Dec 21 07:31:46 sol unix: [ID 717149 kern.notice]      efl: 10283 usp: d ss: d65fd9c0
    Dec 21 07:31:46 sol unix: [ID 100000 kern.notice]
    Dec 21 07:31:46 sol genunix: [ID 353471 kern.notice] d6e16904 unix:die+a7 (e, d6e169a4, 8, 0)
    Dec 21 07:31:46 sol genunix: [ID 353471 kern.notice] d6e16990 unix:trap+fc8 (d6e169a4, 8, 0)
    Dec 21 07:31:46 sol genunix: [ID 353471 kern.notice] d6e169a4 unix:cmntrap+83 ()
    Dec 21 07:31:46 sol genunix: [ID 353471 kern.notice] d6e16a18 flowacct:flowacct_update_flows_tbl+337 (d65fd9c0, d3b25000)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16a34 flowacct:flowacct_process+85 (d6e16a4c, d3b25000)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16a50 flowacct:flowacct_invoke_action+32 (d, dfa9cd00)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16a7c genunix:ipp_packet_process+fc (d6e16a94)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16a9c ip:ip_process+85 (2, d6e16ac8, 2)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16ac0 ip:ip_wput_attach_llhdr+92 (dccbf020, d92d61f8,)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16b50 ip:ip_wput_ire+1792 (d7196ee0, dccbf020,)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16ba8 ip:ip_output+70a (d7414e80, dccbf020,)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16bc0 ip:ip_wput+14 (d7196ee0, dccbf020)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16bf4 unix:putnext+1b7 (d7196ee0, dccbf020)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16c40 udp:udp_wput+380 (d5aabc98, dcf78360)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16c74 unix:putnext+1b7 (d5aabc98, dcf78360)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16d54 genunix:strput+16b (d9ad6138, dcf78360,)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16d90 genunix:kstrputmsg+1df (d5c24cc0, dcf12660,)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16e0c sockfs:sosend_dgram+1ca (d5c32d60, dc3504d0,)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16e50 sockfs:sotpi_sendmsg+3f1 (d5c32d60, d6e16ecc,)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16e90 sockfs:sendit+105 (16, d6e16ecc, d6e16)
    Dec 21 07:31:47 sol genunix: [ID 353471 kern.notice] d6e16f8c sockfs:sendmsg+131 (16, ce4d5cc4, 8000,)
    I had a single "kstat -m flowacct 90" running at the time, but the timing doesn't particularly coincide. My flowacct setting look like this:
    action {
    module flowacct
    name zone1
    params {
    global_stats TRUE
    timer 10000
    timeout 10000
    max_limit 2048
    next_action continue
    Pretty much a cut and paste from the Solaris 10 IPQoS documentation. This configuration didn't suffer any similar problems on a test host.
    I've searched various places, not had any joy. Obviously, I'm down a while on kernel patching (ironically, I've been holding off to minimise downtime for users, and now this.) But, while 118855-19 does replace some of objects in question, I see no mention of any particular fix for this problem. I'm going to go ahead with patching to 118855-19 (and whatever else smpatch recommends) within the next few days, but I've disabled IPQoS. I'm a little nervous about switching it back on on a production server. Shame.
    Anyone had any similar experiences with flowacct?
    Cheers,
    Chris.

    Good news, everyone! A repeat on a test host that's patched up to date as of last week, including kernel 118855-19. I'd tell you what smpatch thinks is missing, but "Failure: Response code was 403".
    Dec 23 09:43:14 crippen ^Mpanic[cpu0]/thread=d3275de0:
    Dec 23 09:43:14 crippen genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=d3275924 addr=8 occurred in module "flowacct" due to a NULL pointer dereference
    Dec 23 09:43:14 crippen unix: [ID 100000 kern.notice]
    Dec 23 09:43:14 crippen unix: [ID 839527 kern.notice] sched:
    Dec 23 09:43:14 crippen unix: [ID 753105 kern.notice] #pf Page fault
    Dec 23 09:43:14 crippen unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x8
    Dec 23 09:43:14 crippen unix: [ID 243837 kern.notice] pid=0, pc=0xf9a413ae, sp=0x6, eflags=0x10286
    Dec 23 09:43:14 crippen unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 698<xmme,fxsr,pge,pse,de>
    Dec 23 09:43:14 crippen unix: [ID 936844 kern.notice] cr2: 8 cr3: 4cdc000
    Dec 23 09:43:14 crippen unix: [ID 537610 kern.notice] gs: fe8801b0 fs: fe830000 es: d4890160 ds: d4890160
    Dec 23 09:43:14 crippen unix: [ID 537610 kern.notice] edi: d489b6a0 esi: d489b838 ebp: d32759a0 esp: d327595c
    Dec 23 09:43:14 crippen unix: [ID 537610 kern.notice] ebx: d66187f4 edx: d489b828 ecx: 0 eax: 0
    Dec 23 09:43:14 crippen unix: [ID 537610 kern.notice] trp: e err: 2 eip: f9a413ae cs: 158
    Dec 23 09:43:14 crippen unix: [ID 717149 kern.notice] efl: 10286 usp: 6 ss: d6d35d80
    Dec 23 09:43:14 crippen unix: [ID 100000 kern.notice]
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275884 unix:die+a7 (e, d3275924, 8, 0)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275910 unix:trap+103f (d3275924, 8, 0)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275924 unix:cmntrap+9a (fe8801b0, fe830000,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d32759a0 flowacct:flowacct_update_flows_tbl+337 (d6d35d80, d489a000)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d32759b8 flowacct:flowacct_process+85 (d32759d0, d489a000)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d32759d4 flowacct:flowacct_invoke_action+32 (6, d5441f80)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275a00 genunix:ipp_packet_process+fc (d3275a18)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275a20 ip:ip_process+85 (2, d3275a4c, 2)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275a44 ip:ip_wput_attach_llhdr+92 (d5e61fc0, d67b1ad0,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275ad0 ip:ip_wput_ire+1aca (d4186c60, d5e61fc0,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275b30 ip:ip_output+1715 (da1b7554, d5e61fc0,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275b48 ip:ip_wput+14 (d4186c60, d5aaff80)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275b74 unix:put+164 (d4186c60, d5aaff80)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275bb0 ip:icmp_inbound+97e (d4186bd8, d5e61fc0,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275c00 ip:ip_proto_input+8ae (d4186bd8, d5e61fc0,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275c58 ip:ip_input+440 (da1b7554, 0, d5e61f)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275c80 ip:ip_rput+f7 (d4186bd8, d5e61fc0)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275cb0 unix:putnext+1b7 (d4186bd8, d5e61fc0)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275d40 gld:gld_recv_tagged+ed (d4188800, d5e61fc0,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275d54 gld:ri_ste_def+2603276e (d4188800, d5e61fc0)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275d88 iprb:iprb_process_recv+1d4 (d4188800)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275da0 iprb:iprb_intr+61 (d4188800, d3275ddc,)
    Dec 23 09:43:14 crippen genunix: [ID 353471 kern.notice] d3275dac gld:gld_intr+1e (d4188800, 0)
    Dec 23 09:43:14 crippen unix: [ID 100000 kern.notice]
    Dec 23 09:43:14 crippen genunix: [ID 672855 kern.notice] syncing file systems...
    Dec 23 09:43:14 crippen genunix: [ID 733762 kern.notice] 4
    Dec 23 09:43:15 crippen genunix: [ID 733762 kern.notice] 3
    Dec 23 09:43:16 crippen genunix: [ID 904073 kern.notice] done
    Dec 23 09:43:17 crippen genunix: [ID 111219 kern.notice] dumping to /dev/dsk/c0d0s1, offset 214695936, content: kernel
    Dec 23 09:43:20 crippen genunix: [ID 409368 kern.notice] ^M100% done: 22636 pages dumped, compression ratio 2.72,
    Dec 23 09:43:20 crippen genunix: [ID 851671 kern.notice] dump succeeded

  • Logical interface in solaris 10

    Hi there,
    I need to configure logical interface in a solaris 10 3/05 server. After reading the Solaris 10 IP services manual, I am not quite sure what to do. All the examples and explanation are about using the new subcommand addif of ifconfig. It was not clear in the documentation if the setting logical interfaces via addif will persist across boot.
    Can one still configure logical interface in Solaris 10 in a more traditional way like in Solaris 8? In an Solaris 8 server I will do the following.
    Let's assume I want to configure in a solaris 8 server a logical interface named hme0:1 with IP address 192.168.20.28 with netmask 255.255.255.0 for hostname host001
    # cat /etc/hostname.hme0:1
    host001
    ^D
    # echo "192.168.20.28 host001" >> /etc/inet/hosts
    # echo "192.168.20.0 255.255.255.0" >> /etc/inet/netmasks
    # reboot -- -r
    Can one still do that in solaris 10 3/05 server?

    Hi there,
    I need to configure logical interface in a solaris 10
    3/05 server. After reading the Solaris 10 IP services
    manual, I am not quite sure what to do. All the
    examples and explanation are about using the new
    subcommand addif of ifconfig. It was not clear in the
    documentation if the setting logical interfaces via
    addif will persist across boot.No. No 'ifconfig' command is persistent.
    Can one still configure logical interface in Solaris
    10 in a more traditional way like in Solaris 8? In an
    Solaris 8 server I will do the following.
    Let's assume I want to configure in a solaris 8
    server a logical interface named hme0:1 with IP
    address 192.168.20.28 with netmask 255.255.255.0 for
    hostname host001
    # cat /etc/hostname.hme0:1
    host001
    ^D
    # echo "192.168.20.28 host001" >> /etc/inet/hosts
    # echo "192.168.20.0 255.255.255.0" >>
    /etc/inet/netmasks
    # reboot -- -r
    Can one still do that in solaris 10 3/05 server?Absolutely.
    You don't need to reboot (you can run ifconfig for this boot and let the files do the work next time) and the -r doesn't do anything with interfaces (expecially virtual interfaces) anyway.
    Darren

  • Installation problem on Solaris

    I am trying to install sun one 7.0 on Solaris 8. The install is failing with this error:
    ERROR - library load failed with following error: Can't load library: /opt/SUNWappserver7/lib/libinstallCore.so
    INFO - End core server uninstallation
    anyone know what causes this??
    cheers

    Looks like Solaris package installation failed and installer reverted to uninstallation sequence. For low level pkgadd log please check /var/sadm/install/logs/Sun_ONE_Application_Server_install.B<timestamp> file (timestamp is date and time of your installation attempt in mmddHHMM format).
    Look for any errors in this file. Most likely thing that could have happened is that the installation of Java Help (SUNWjhrt) package failed because you didn't have existing package based J2SE installation on the system. If that's the case, workaround is to either preinstall package based J2SE installation or to selected option to install bundled J2SE that comes with application server.

  • Installation problem on Solaris 10

    Dear All,
    We are trying to install j2sdk 1.4.2_13 on solaris server zone. I have downloaded j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin
    But when I try to execute this:
    #./j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin
    It gives me error: The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag
    Tried with -console:
    The wizard cannot continue because of the following error: Invalid command line option: console is not supported (10
    01) (403)
    WARNING: could not delete temporary file /tmp/ismp001/2599368
    WARNING: could not delete temporary file /tmp/ismp001/6183226
    WARNING: could not delete temporary file /tmp/ismp001/1222839
    Then tried with -silent:
    This time command just completed w/o any output at all.
    Please suggest what can I do?
    regards, Sean.

    Dear Siddhesh,
    Thanks for your reply.
    I tried using X Manager GUI for my Solaris. But when I double click the j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin file to run it, it simply denies saying:
    The filename "j2sdk-1_4_2_13-nb-5_0-solsparc-ml.bin" indicates that this file is of type "Unknown type". The contents of the file indicate that the file is of type "Shell script". If you open this file, the file might present a security risk to your system.
    Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "Shell script", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
    Also /tmp has full authorizations:
    drwxrwxrwt   7 root     sys          557 Jun 24 08:34 tmp
    I dont have Hummingbird for X11 forwarding with this client. Do I have any other option??
    regards, Sean.

  • New to Solaris, Some Samba and NTFS issues.

    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = share
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/samba/log/log.%m
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    passdb backend = smbpasswd
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/sfw/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    #     Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one     WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/sfw/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    [Series]
    comment = TV Series
    path = /home/Kirby/Series
    public = yes
    only guest = yes
    writable = yes
    printable = no

    875739 wrote:
    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.I never had a need for it but I think you'll have to compile fuse ntfs-3g manually.
    http://web.archiveorange.com/archive/v/u46DbWSGcIzl7pexf4hQ
    >
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.You don't need to use Samba in Solaris 11 Express.
    http://download.oracle.com/docs/cd/E19963-01/html/821-1448/gaynd.html#gayne

  • Error while creating a Solaris Resource

    I got the following error while creating the following solaris resource:
    Test connection failed for resource(s):
    Solaris: Script failed waiting for "ASSWORD:" in response "_,)#+(:" ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".\n
    I have the sudo permissions for the following commands:
    (ALL) NOPASSWD: /usr/bin/auths, /usr/sbin/groupadd, /usr/sbin/groupdel, /usr/sbin/groupmod, /usr/bin/last, /usr/bin/listusers, /usr/bin/logins, /usr/bin/passwd, /usr/bin/profiles, /usr/bin/roles, /usr/sbin/useradd, /usr/sbin/userdel, /usr/sbin/usermod, /usr/bin/ypmatch, /usr/bin/ypcat, /usr/bin/ypasswd, /usr/bin/awk, /usr/bin/cat, /usr/bin/chmod, /usr/bin/chown, /usr/bin/cp, /usr/bin/cut, /usr/bin/diff, /usr/bin/echo, /usr/bin/grep, /usr/bin/ls, /usr/bin/mv, /usr/bin/rm, /usr/bin/sleep, /usr/bin/sort, /usr/bin/tail, /usr/bin/touch, /usr/bin/which
    Please let me know what could be the problem?

    This doesn't look like a Sun Directory Server issue. You may want to post this to another forum.
    Regards,
    Ludovic.

  • Error ora-15081 (and several others) while creating a new db in Solaris

    Hi all,
    OS: Solaris 11
    DB: 11.2.0.3.5 (2 node rac)
    While creating a new db on a Solaris 11 env, via dbca, the following stack error appeared to me:
    ORA-19624: operation failed, retry possible
    ORA-19870: error while restoring backup piece path[...]
    ORA-19504: failed to create file "+MYDG"
    ORA-00372: file cannot be modified at this time
    ORA-15196: invalid ASM block header [kfc.c:19572] [1] [257] [0 != 821602346]
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15066: offlining disk "dsk_0001" in group "MYDG" may result in data loss
    ORA-06512: at SYS.X$DBMS_BACKUP_RESTORE, line5827The dbca (ran as oracle user) aborts at 15%.
    There are a lot of errors in this stack, and i'm not pretty sure which error is the main cause of this issue, but I think it's the "ORA-15081: failed to submit an I/O operation to a disk" that is the bad guy here. I did some researches and found that some possible sollutions:
    1) One said that this error might be caused by bad permissions on the raw devices used in the "MYDG" diskgroup (i'm using 6 devices with external redundancy), but my devices are all with the grid:asmadmin and 660 permissions
    2) Another said that this might be a problem with the owner:group of the oracle binaries. In ny installation the oracle binaries ($ORACLE_HOME/bin) are with the oracle:oinstall. I thougth of addind the asmadmin group to the oracle user, but i'm not sure what are the implications of this change. What do you thing?
    What am I doing wrong and how can i solve it?
    Thanks in advance for your pacience and attention.

    Here follows the output:
    NAME                           MOUNT_S     HEADER_STATU MODE_ST STATE    GROUP_NUMBER PATH
    DG02HML_0000                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00500d0s0
    DG02HML_0001                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00502d0s0
    DG02HML_0002                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                 00504d0s0
    DG02HML_0003                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                               00506d0s0
    DG02HML_0004                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  00508d0s0
    DG02HML_0005                   CACHED  MEMBER       ONLINE  NORMAL              3 /dev/rdsk/c0t60060E8005487F000000487F000                                                                                  0050Ad0s0

  • How to create HP LaserJet 2420 printer queue on Solaris 10

    Hi Solaris Gurus,
    I am having difficulty creating a printer queue for HP LaserJet 2420 on Solaris 10 (11/9) Sparc (Sun Fire T5220) server. A popular method used is with hppi (HP Jet Direct) tool but it does not have the exact printer driver and alternative printer drivers (e.g. HP LaserJet 4 / 4M, HP LaserJet 2000 series) resulted in only part of the text occupying the wrong side of an A5 page.
    An alternative approach that has worked in the past for simple default paper tray 2 (single paper tray), with tray 1 reserved for manual feed. This method involves creating a working printer queue on a Windows workstation (XP) / server (2000) with the correct driver and having configured to support Unix printing to receive LPR request from Unix systems in general. A remote printer queue would then be defined on Solaris 10 system which points to the Windows system. However, the printing jobs kept going to tray 1 (top manual feed) even though the Windows printer queue was configured to go to tray 3 (bottom tray).
    The earlier method would be simplest but needs the right driver (PDD) but I don’t know where to find it. The latter approach is also not working despite having got the right driver on Windows. A test page on the target Windows printer queue would print to tray 3 (bottom tray) of the printer correctly.
    Printmgr does not work well with HP printers from experience. It is good for serial and local printers.
    Your advice would be much appreciated.
    Thanks,
    Crystal

    Hi Giogio, and welcome to the HP Forums.
    I am sorry to be the bearer of this news, but do the age of the printer, it is not supported by Mac OS X 10.9. I am including a list below of the supported printers from Apple:
    OS X: Printer and scanner software available for download.
    For more information, I would recommend contacting the Apple Support Communities.
    Thank you for posting on the HP Forums.
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • PMTU discovery in IPv6 based on IPV6_RECVPATHMTU in Solaris 10

    Our application works with raw sockets and needs to discover PMTU of IPv6 paths.
    According to the RFC-3542 (http://tools.ietf.org/html/rfc3542, section 11) the socket option IPV6_RECVPATHMTU allows applications to know about the change of path MTU by receipt of new ancillary data item (IPV6_PATHMTU) which is delivered to recvmsg() without any actual data. Following construction should be used to enable this option:
        int  on = 1;
        setsockopt(fd, IPPROTO_IPV6, IPV6_RECVPATHMTU, &on, sizeof(on));In the online Sun documentation I found that this socket option is supported since Solaris 10 (http://docs.sun.com/app/docs/doc/816-5177/ip6-7p).
    However, in our test this socket option appears to be not working. After decrease of the PMTU via ifconfig and sending a big enough packet an ICMP (Packet Too Big) is received but there is no event with ancillary data item on the socket.
    One peculiarity that may be essential is that our application binds to a specific port in a raw socket (i.e. to IP address : port pair).
    Does anyone have information if the IPV6_RECVPATHMTU socket option is really supported in Solaris 10?
    Probably, ICMP should be off to be able to receive this event with ancillary data on the socket?
    Will appreciate any ideas how to make it working.
    Thanks in advance,
    Mike.

    Hi,
    I have a Sunfire V100 - and have the exact same problem. The settings are correct; I have configure dual-NIC cards many times in the past - but this issue is simply eluding me. I can swap in a Linux machine in router / ip forwarding mode and there are no problems, but when I put back in the Sunfire I encounter the same issues you have.
    In effect, packets from the LAN arrive at the NIC on the Solaris machine, but then don't get forwarded to the other NIC's gateway. I'm at a loss, but I have seen this problem pop-up (without answer) a half-dozen times in this forum alone, and multiple times on different support sites. Did you (or anyone) ever come across a solution for this? Is this not some easily overlooked yet possibly cryptic flag or variable that I've missed? Anyone?

  • Solaris: OC4J: 9.0.2.0.0 or 9.0.3.0.0

    I'm a bit puzzled as to versioning of oc4j running applications created with Jdeveloper RC2 / BI Beans RC2 .
    I downloaded a file called oc4j_extended.zip (of 25. March).
    I would have thought this to be the latest distro of oc4j.
    When I invoke the oc4j.jar, I receive a message like this:
    "Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized"
    I see other people are running version 9.0.3.0.0, and most Jdeveloper references are for this version as well.
    Is there a later version (for Solaris) that I need to download/install?
    If so, where can it be found?
    Or am I fine running with the one I have?
    (Reason for asking is that I am running into problems that could possibly be related to versioning.)
    Jens

    Thanks for quick response, I am located in Norway, 6 hours in front of the US, so days can easily be "wasted" waiting for you guys. Maybe we'll manage to squeeze in 2 answers today ;-)
    Here are the answers to your question:
    myhost% java -version -jar oc4j.jar
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    myhost% java -jar oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    myhost% java -jar ./oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    This is a bit complicated, but here's a quick resume of what I did:
    * Install Oracle 9.0.1.0.0, including the http-server.
    * Patch to 9.0.1.2.0
    * download oc4j_extended, unzip to a new $ORACLE_HOME/oc4j
    * Source the following file:
    myhost% more java131.sh
    setenv PATH /usr/j2se/bin:/u01/app/oracle/product/901/bin:/bin:/usr/bin:/usr/cc
    /bin:/etc:/opt/bin:/usr/ucb:.:/usr/openwin/bin:/usr/openwin/lib
    setenv CLASS_PATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/p
    oduct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    setenv CLASSPATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/pr
    duct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    alias java="/usr/j2se/bin/java"
    myhost%
    * Check that the right java verson is running:
    myhost% which java
    /usr/j2se/bin/java
    myhost%
    * start the oc4j server with :
    java -Xmx256m -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.COR
    BA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -jar oc4j.jar
    And it reports back v. 9.0.2.0.0
    So what am I doing wrong?
    Any input will be appreciated.
    Jens

  • Install of 9201 on Solaris 9

    I am getting this same error on install of 9201 on Solaris 9 ; ld is core dumping - I have all of the required packages so I can't figure out why linking is failing, can anybody please give me a fix?!!?
    Calling action unixActions2.2.0.6.0 make
    installMakePath = /usr/ccs/bin/make
    installMakeFileName = /opt/oracle/product/plsql/lib/ins_plsql.mk
    installTarget = install
    undoMakeFileName =
    installArguments = ORACLE_HOME=/opt/oracle/product,
    /opt/oracle/product/install/make.log
    undoTarget =
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target install of makefile /opt/oracle/product/plsql/lib/ins_plsql.mk
    Exception Severity: 1
    *** Cancel Dialog: ***
    User selected: Stop installation of all products.
    Error in invoking target install of makefile /opt/oracle/product/plsql/lib/ins_plsql.mk

    Hello,
    a) Please crosscheck your environment variables and make sure you have access to all binaries/executables.
    Ex: make etc.
    b) Make sure you OS is patches as per oracle requirements.
    <<Message>>
    Error in invoking target install of makefile /opt/oracle/product/plsql/lib/ins_plsql.mk
    Indicates that you may not have access to execute make utility.
    -Sri

  • Oracle 8.1.5 can install on SPARC solaries 8?

    I have a copy of oracle 8.1.5 for sparc solaries 8 , but my colleage told me there is not compatible with solaries 8 and oracle 8.1.5 , only oracle 8.1.7 can be install on solaries 8.
    is it true?

    Hi,
    Check if the listener process has started or not.
    Sometimes you will have to manually start the listener process.
    Go to Oracle Home. Run lsnrctl from bin.
    Now you may be able to connect.
    Good Luck,
    Raghuraman

Maybe you are looking for