WLST setting the address of a machine

Can anyone explain the following to me:
cd("/") # Go to domain root mbean
machine=create("unix","UnixMachine")
cmo=machine
cmo.setAddress("1.1.1.1") # FAILS???!!?? WHY?
cmo.setName("Success") # SUCCESS
cmo.setNotes("It doesn't make much sense") # SUCCESS
cmo.setPostBindGID("Success") # SUCCESS
cmo.setPostBindEnabled(1) # SUCCESS
cmo.setPostBindUID("Success") # SUCCESS
cmo.setPostBindUIDEnabled(1) # SUCCESS
Why does setAddress fail? Is this a bug/oversight or is it something i'm doing wrong? I would have thought you would be able to set any of the MBean attributes like this. is there anyway to set the address using cmo like the above?
I can do this though:
cd("/Machines/unix")
set("Address","1.1.1.1")
but i'd prefer not to.
Edited by jstbriggs at 03/08/2007 1:51 AM

Jacob Briggs <> wrote:
Can anyone explain the following to me:
cd("/") # Go to domain root mbean
machine=create("unix","UnixMachine")
cmo=machine
cmo.setAddress("1.1.1.1") # FAILS???!!?? WHY?
cmo.setName("Success") # SUCCESS
cmo.setNotes("It doesn't make much sense") # SUCCESS
cmo.setPostBindGID("Success") # SUCCESS
cmo.setPostBindEnabled(1) # SUCCESS
cmo.setPostBindUID("Success") # SUCCESS
cmo.setPostBindUIDEnabled(1) # SUCCESS
Why does setAddress fail? Is this a bug/oversight or is it something i'm
doing wrong? I would have thought you would be able to set any of the
MBean attributes like this. is there anyway to set the address using cmo
like the above?
I can do this though:
cd("/Machines/unix")
set("Address","1.1.1.1")
but i'd prefer not to.I'm doing it with:
set("ListenAddress","1.1.1.1")
Why don't you prefer that if I may ask?
B
Schelstraete Bart
[email protected]
http://www.schelstraete.org

Similar Messages

  • INST:08058 A LOOKUP OF THE ADDRESS FOR THIS MACHINE

    hi all,
    I have successfully installed Microsoft loop-back adapter at single system on window 7. When I installed OBIEE 11, I face an error with this
    message "INST:08058 A LOOKUP OF THE ADDRESS FOR THIS MACHINE RETURN AN IP ADDRESS RATHER THAN A HOSTNAME".
    Waiting solid response.........
    Regards
    Rizwan

    Rizwan,
    See the below links will helpful for you,
    1. Setting Loopback adapter for OBIEE 11g installation
    http://kalpesh-obiee-eklavya.blogspot.com/2011/06/setting-loopback-adapter-for-obiee-11g.html
    2. INST-08058 error while installing OBIEE 11g
    http://kalpesh-obiee-eklavya.blogspot.com/2011/06/inst-08058-error-while-installing-obiee.html
    Thanks,
    Balaa...

  • Can I set the address format for individual contacts?

    I have some foreign friends and would like to set the address format for their individual cards correctly. I can't seem to find a way to do this. I will be taken aback if this can't be done - I think the old Claris contact product did that.
    Anyone with any answer?
    Bryan

    Hi Bryan,
    When in edit mode, can you right click on the address field and change the country format there? I'm not on a Mac at the moment to double check, but that's what you do in OS 10.4 so I'd be surprised if it were changed in 10.5.
    Edit: Here's picture to demonstrate what I'm referring to:
    !http://www.ampersandbox.com/imprint/change-address-format.jpg!

  • I am trying to set up an email account on my iphone4s. I keep getting a message that the password id incorrect. It will not allow me to set the address up

    I am trying to set my email up on my iphone 4s. I keep getting a message that the password is incorrect. and i cant set the email up

    Then maybe you should ask your e-mail provider what's wrong.

  • When sending an email how do I set the address when sending to multiple recipients so that each recipient only sees his or hers address and not everyone else

    I would like so send emails to multiple addresses yet I want each recipient to only see his or her address

    This question isn't related to Mozilla Firefox. However, I can still answer your question. In the 'to' field, put your own e-mail address and put each recipient's address in the BCC field. This way the only address seen is your own.
    Please try to post in the appropriate forum next time. (Thunderbird, Gmail, etc.)

  • How to set the address bar again ???

    What Should I DO???
    == This happened ==
    Every time Firefox opened
    == mozilla crashed

    In Firefox 3.6 on Windows you can hide the menu bar via "View > Toolbars" or via the right click context menu on a toolbar.
    Press and hold the Alt key down to bring up the menu bar.
    Go to "View > Toolbars" or right-click the menu bar or press Alt+V T to select which toolbars to show or hide.
    See also [[Menu bar is missing]]

  • Dell 968w..how do I set the IP address for network printing?

    Attempting to connect my Dell 968w to the network for access by my HP and Dell laptops.  Dell said I need an IP address for the printer..how do I set the address??? 

    you need to contact dell printer support for this info...this is usually done by printing a network config page on your printer & you'll see the printer ip address there.
    Note:
    Although I work for HP Imaging & Printing
    Group , I am speaking for myself and not for
    HP.
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • Setting the command prompt...

    Can anyone tell me what I would use to set the command prompt?
    On HP-UX, I would reset the PS1 variable...
    i.e. PS1="
    \$ID @ \$HOST | \$PWD
    --> "
    On Linux, I would reset it as follows:
    i.e. PS1="
    \u @ \h | \W
    --> "
    Neither of these seems to work here...
    I tried the following, and it give me the correct visual layout, but the values don't change when you change directories:
    i.e. PS1="
    `whoami` @ `uname -n` | `pwd`
    --> "
    Any help would be greatly appreciated...

    Hi,
    Changing Your Command Prompt
    The syntax you use to change your command prompt depends on whether you are using the Bourne,
    Korn or C shell.
    Bourne and Korn Shells
    For the Bourne or Korn shells, you redefine your command prompt with the PS1 command. The
    following are three examples:
    PS1=": "
    PS1="`hostname`: "
    PS1="`hostname`{`id`}}: "
    The first example sets the prompt to a colon (:), followed by a space.
    The second example creates a prompt consisting of your machine name followed by a colon and a
    space.
    The third example sets the prompt to your machine name, followed by your login name in braces
    {}, a colon, and a space.
    Type any of the examples above to change your current command prompt. The prompt will remain until
    you change it again, or logout.
    If you want to make your changes more permanent, add one of the above examples (or a prompt of your
    own creation) to your .profile file. If you do this, the prompt you specify will appear each time you
    login in or start a new shell.
    C Shell
    For the C shell, you personalize your command prompt with the set prompt command. The following
    are three examples:
    set prompt="% "
    set prompt="`hostname`\!: "
    set prompt="`hostname`{`id`}}: "
    The first example sets the prompt to the percent sign, followed by a space.
    The second example creates a prompt consisting of your machine name followed by the history
    number of the command (hostname1, hostname2, hostname3, and so on).
    The third example sets the prompt to your machine name, followed by your login name in braces, a
    colon, and a space.
    Type any of the examples above to change your current command prompt. The prompt will remain until
    you change it again, or logout.
    If you want to make your changes more permanent, add one of the above examples (or a prompt of your
    own creation) to your .cshrc file. If you do this, the prompt you specify will appear each time you login
    in or start a new shell.
    Revert back.
    Thanks.
    Senthilkumar
    SUN - DTS

  • How to change the "Address is Residential" radio button to default "off"

    Hello, I am attempting to set the "Address is Residential" radio button under UPS shipping option to default "off". Our company sells mainly to business locations, and the button is causing confusion and incorrect shipping rates with our customers. Sorry if this has been covered before, I have seen a few discussions when googling the topic, however their links are not working.
    Thanks!

    Hi,
    The option cannot be changed but a possible workaround to avoid client confusion is to hide this div, using some custom JavaScript script that will hide it after is rendered by the shipping option tag.
    Unfortunately I do not have the exact script but will leave this topic open for the community to assist if possible.
    Kind regards,
    -Sidney

  • Wrt110 wont let me set IP address

    I'm replacing an older Linksys Wireless router with the WRT110. The old router had a hardcoded IP address of 192.168.199.142 mask 255.255.255.224 which is perfectly legitimate in terms of addressing. My entire network is set up with valid addresses and the same 255.224 subnet mask.
    When I try to set the address and subnet mask in the WRT110, I keep getting this error:
    "Start IP not in same network 129~158" which is completely stupid. If I use a different subnet mask, all traffic is going to get routed to and back from the default gateway instead of just going direct to the device.
    How can I get the stupid WRT110 to accept this legitimate address????

    "Start IP" sounds like the "Start IP Address" of the DHCP server. If you the LAN IP address to 192.168.199.142/255.255.255.224 the start ip address of the DHCP server cannot be the default .100. Thus, if you change the LAN IP address and subnet mask you have to modify the DHCP server start ip address either beforehand or at the same time.

  • Receiving emails about a newly set up itunes account that does not belong to me (although has my name). The address used in connection with it seems to be in California and the person likes Justin Bieber - what's going on here?

    Hi. I am receiving emails about a newly set up itunes account that does not belong to me (although has my name). The address used in connection with it seems to be in California and the person likes Justin Bieber (as I now have a receipt for that purchase). It states that it is billed to store credit. (a) I don't want to receive this person's information and (b) I certainly don't want to somehow be charged for it (although it appears, thus far, that I have not been). What's going on?

    i didn't read a lot of your 2nd paragraph, but it seems like the password is the issue, right?
    do a true clean install
    reboot your machine and hold down command+option+r, you should see a spinning globe - if you don't see the globe or anything that reads internet recovery, shut down and try again
    at menu, chose disk utility and once there, find your HD on the left side, select the physical name and erase it as mac journaled
    exit disk utlity
    at menu, choose install OSX
    this time, when it asks for a password just hit continue, it will let you complete without a password
    you should be able to get into your laptop, now figure out what password you'll be able to use with your kb issue

  • On my iphone, icloud is set to an apple id that i no longer use and i keep getting asked to enter a password. Cannot remember the password. When i try to re-set the password, it sends a email to a address no longer used. Will not accept any dob i enter

    I have icloud on my phone with an apple id that I no longer use. I keep getting asked to enter the password for this ID. However I can't remember the password.
    When I try to re-set the password, a e-mail will be send to an address I no longer use and can't access.
    I then try to answer the security questions, but the date of births I enter are not accepted
    Any ideas?
    Paul

    Welcome to the Apple community.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID, verify the changes, enter the password as requested on your device and then turn off "find my phone".
    You should then change your Apple ID back to its current state, verify it once again, delete the iCloud account from your device and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • I have an external hard drive set up as a Time Machine backup on my IMac. I want to add a second external hard drive and put my Aperture Photo Library on it. Is there a way to have the photos on this second hard drive automatically back up to the Time Mac

    I have an IMac with an external hard drive set up as  a Time Machine for automatic backups. I want to add a second external hard drive and load my Aperture Photo Library on to it so that the library can be shared by both me and my wife. Is there a way to automatically backup the photo library that will be on the second hard drive to the Time Machine hard drive?

    Open System Preference > Time Machine
    Click Options....
    Ckick on external disk in list and hit the - button below the list to remove from the Exclusion list
    Allan

  • I have an Apple ID with a single  e mail address. I want to set multiple addresses in the same ID. Can I? If so how?

    I have an Apple ID with a single  e mail address. I want to set multiple addresses in the same ID. Can I? If so how?

    Howdy there johnzcarp,
    As I understand it you want to have more than 1 email address under your Apple ID. You can have what are called Alternate Email addresses associated with your Apple ID and this article will help you get those setup:
    Manage your Apple ID primary, rescue, alternate, and notification email addresses
    Alternate email address
    You can add one or more alternate email addresses for use with Apple services such as Game Center, FaceTime, Find My Friends, iMessage, and OS X notifications.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Add an alternate address:
    Select Add Email Address, then enter your alternate address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Edit an alternate address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Delete an alternate address: Select Delete next to the address.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Im having problems with my Kids facetime accounts that seem to be because they are both using my itunes and there are conflicts with multiple email addresses? Is it possible to now set the kids up with their own accounts without losing their apps etc

    Hi All,
    I have my kids using iTunes via thier ipods etc through my own account and this hase been the case for some time?
    This has started to cause issues lately with imessaging and facetime, as there seems to be a limit on email addresses that can be associated with one account?
    I wonder if I would be best off setting the kids up with their own accounts, but want to be able to do this without them losing their existing apps, music etc?
    Is this possible, if so is there a simple process cos I can seem to find anything relating to this?
    many thanks, Jim

    Not going to happen the way you want it to.
    When you add a gift card balance to the Apple ID, it's available for the Apple ID.
    Probably best to create unique Apple ID's for each... this will also make things easier in the future as purchases are eternally tied to the Apple ID they were purchased with.

Maybe you are looking for

  • How to apply 3 way color correction to multiple clips in Final Cut Pro?

    I have multiple clips from the same time and space footage that need color correction. I have worked on one of the clips and found the settings I like. Is there a way to apply that correction to other clips without starting from scratch on each one?

  • A Variable for Replacing From Date -- To Date

    Hi Friends, I am trying to create  a variable that can replace From Date -- To Date , For Example In the Variable if the user enters 3 , It should Take Systems date ( today) and should show the resukts for the next three days , Like this for 4 days o

  • SCSM 2012 Portal silverlight to work on non dom

    Non domain computers – the sharpoint parts load (the silverlight does not load). Domain computers can access the portal with no problem. I have also installed SCSM Portal certificate on non-domain machine added site in trusted site but no luck so far

  • Final Cut Pro 5.1.4 to 6.0.1 and up???

    I have FCP 5.1.4 and would like to know if switching to version 6.0.1 and up would be a update or an upgrade which would mean spending some cash? Some reason my simple question is hard to find an answer to online. Please help, thanks.

  • Standard Workflow for Infotype 0019

    is there any SAP standard WF for monitoring of task IT 0019