A vOrg name recovery

Is it possible to recover a vOrg vCD by name (string)? From there, I know how to get an OrgVDC, but it would be easier to use, if I could just take in a string and select the objects to vCD in the backend rather than having my end-users try to manually select the Org/OrgVDC.

Required inputs:

vcdHost (vCloud:Host)

Name (String)

Output:

orgOut (vCloud:Organization)

Script:

// Create a query service object
var queryService = vcdHost.getQueryService();
// build parameters with filter
var expression = new VclExpression(VclQueryOrgField.NAME, name, VclExpressionType.EQUALS);
var filter = new VclFilter(expression);
var params = new VclQueryParams();
params.setFilter(filter);

// run query and store results in resultSet
var resultSet = queryService.queryRecords(VclQueryRecordType.ORGANIZATION, params);
// Create an array to hold matching vApps
var orgs = new Array();
// Loop through the resultSet and create vApp objects by reference
while (resultSet != null)  {
    var records = resultSet.getRecords(new VclQueryResultOrgRecord());
    System.log(records.length + " records found");
    for each (var record in records) {
        var objRef = new VclReference();
        objRef.href = record.href;
        objRef.name = record.name;
        objRef.type = record.type;
        System.log("Name: "+record.name+" Type: "+record.type+" HREF: "+record.href);
        orgs.push(vcdHost.getEntityByReference(VclFinderType.ORGANIZATION, objRef));
    }
    resultSet = resultSet.getNextPage();
}
// output Org if single result matched name, otherwise log warning/error
switch (orgs.length){
    case 0:
        System.warn("No Orgs found matching name: "+name);
        Server.warn(name,"No Orgs found matching name: "+name);
        break;
    case 1:
        var orgOut = orgs[0];
        break;
    default:
        System.error("more than one Org matched the name: "+name);
        Server.error(name,"More than one Org matched the name: "+name);
}

Tags: VMware

Similar Questions

  • Recovery CD does not start

    Hello

    I have an old IBM ThinkPad R50e (1834-PTG). When I originally bought in 2003, I created a set of recovery 6 CDs I kept this set in a place course and decided today to recover the laptop factory settings. The problem is that the computer won't start any recovery of 6 CDs (does not start other CD bootable without problem). CDs are not empty and contains a directory named "RECOVERY" with a bunch of files that it contains.

    I tried to use specify the CD-ROM drive as first boot device, to use F12 to specify the device, nothing helps.

    How can I use these CD?

    I found a ghost image, which is the result of a whole new R51. I'll be able to use it to recover my system? Will be the key of Windows that came with my computer work with this image?

    Well, it turns out that there was another drive (surprise) the names "Recovery boot CD. Now, the recovery process begins without any problem.

  • APPLE SSD SM0512F configuration - 499gig virtual disk?

    I was wondering if it is a normal Setup for an APPLE SSD SM0512F found at the end of 2013 Macbook pro retinas

    I was wondering why "disk1" is virtual. Its capacity is 499gigs, it is the last element in the output of the terminal.

    Thank you!

    see you soon

    JB

    Here is the output of the terminal of ' diskutil info - all the»

    Jack: ~ info jackbaker$ diskutil-all

    Identifier of the instrument: disk0

    Device node: / dev/disk0

    Overall: Yes

    Part of the whole: disk0

    Device / media name: APPLE SSD SM0512F

    Volume name: not applicable (no file system)

    Gendarmerie: Not applicable (no file system)

    File system: no

    Content (IOContent): GUID_partition_scheme

    Operating system can be installed: No.

    Media type: generic

    Protocol: PCI

    Smart: checked

    Total size: 500,3 GB (500277790720 Bytes) (exactly 977105060 512-Byte-units)

    Amount of free space: not applicable (no file system)

    Device block size: 512 bytes

    Support read-only: No.

    Volume read-only: not applicable (no file system)

    Location of the device: internal

    Removable media: no

    Solid State: Yes

    Virtual: No.

    OS 9 drivers: No.

    Low Level Format: unsupported

    **********

    Identifier of the instrument: disk0s1

    Device node: / dev/disk0s1

    Set: No.

    Part of the whole: disk0

    Device / media name: EFI System Partition

    Volume name: not applicable (no file system)

    Gendarmerie: Not applicable (no file system)

    File system: no

    Partition type: EFI

    Operating system can be installed: No.

    Media type: generic

    Protocol: PCI

    Smart: checked

    Volume UUID:

    Disk / Partition UUID:

    Total size: 209,7 MB (209715200 bytes) (exactly 409600 512-Byte-units)

    Amount of free space: not applicable (no file system)

    Device block size: 512 bytes

    Support read-only: No.

    Volume read-only: not applicable (no file system)

    Location of the device: internal

    Removable media: no

    Solid State: Yes

    **********

    Identifier of the instrument: disk0s2

    Device node: / dev/disk0s2

    Set: No.

    Part of the whole: disk0

    Device / media name: MacintoshHD

    Volume name: not applicable (no file system)

    Gendarmerie: Not applicable (no file system)

    File system: no

    Partition type: Apple_CoreStorage

    Operating system can be installed: No.

    Recovery disk: disk0s3

    Media type: generic

    Protocol: PCI

    Smart: checked

    Disk / Partition UUID:

    Total size: 499,4 GB (499418030080 Bytes) (exactly 975425840 512-Byte-units)

    Amount of free space: not applicable (no file system)

    Device block size: 512 bytes

    Support read-only: No.

    Volume read-only: not applicable (no file system)

    Location of the device: internal

    Removable media: no

    Solid State: Yes

    This disc is a physical storage Volume (PV) Core.  Basic information from storage:

    PV UUID:

    LVG UUID:

    **********

    Identifier of the instrument: disk0s3

    Device node: / dev/disk0s3

    Set: No.

    Part of the whole: disk0

    Device / media name: Recovery HD

    Volume name: not applicable (no file system)

    Gendarmerie: Not applicable (no file system)

    File system: no

    Partition type: Apple_Boot

    Operating system can be installed: No.

    Media type: generic

    Protocol: PCI

    Smart: checked

    Volume UUID:

    Disk / Partition UUID:

    Total size: 650.0 MB (650006528 bytes) (exactly 1269544 512-Byte-units)

    Amount of free space: not applicable (no file system)

    Device block size: 512 bytes

    Support read-only: No.

    Volume read-only: not applicable (no file system)

    Location of the device: internal

    Removable media: no

    Solid State: Yes

    **********

    The instrument identifier: disk1

    Device node: / dev/disk1

    Overall: Yes

    Part of the whole: disk1

    Device / media name: APPLE SSD SM0512F

    Volume name: MacintoshHD

    Gendarmerie: Yes

    Mount point: /.

    Personality of file system: HFS journaling +.

    Type (Bundle): hfs

    Name (Visible to the user): Mac OS extended (journaled)

    Journal: Journal size 40960 KB at the offset 0xe8f000

    Owners: enabled

    Content (IOContent): Apple_HFS

    Operating system can be installed: Yes

    Recovery disk: disk0s3

    Media type: generic

    Protocol: PCI

    The SMART State: Not supported

    Volume UUID:

    Disk / Partition UUID:

    Total size: 499,0 GB (499046809600 Bytes) (exactly 974700800 512-Byte-units)

    Amount of free space: 26.5 GB (26546237440 Bytes) (exactly 51848120 512-Byte-units)

    Device block size: 512 bytes

    Allocation block size: 4096 bytes

    Support read-only: No.

    Volume read-only: No.

    Location of the device: internal

    Removable media: no

    Solid State: Yes

    Virtual: Yes

    OS 9 drivers: No.

    Low Level Format: unsupported

    This disk is a storage Logical Volume (LV) Core.  Basic information from storage:

    LV UUID:

    LVF UUID:

    LVG UUID:

    Fusion drive: No.

    Encrypted: No.

    **********

    Jack: ~ jackbaker$

    This is the storage system report tab.

    MacintoshHD:

    Available: 26,83 GB (26,825,244,672 bytes)

    Capacity: 499,05 GB (499,046,809,600 bytes)

    Mount point: /.

    File system: HFS journaling +.

    BSD name: disk1

    Logical volumes:

    Reversible: Yes (no required decryption)

    Encrypted: No.

    Logical volume group:

    Name: MacintoshHD

    Size: 499,42 GB (499,418,030,080 bytes)

    Free space: 18.9 MB (18,898,944 bytes)

    Physical volumes:

    disk0s2:

    Device name: APPLE SSD SM0512F

    Name of the media: APPLE SSD SM0512F media

    Size: 499,42 GB (499,418,030,080 bytes)

    Media type: SSD

    Protocol: PCI

    Internal: Yes

    Partition map type: GPT (GUID Partition Table)

    Status: online

    S.M.A.R.T. Status: verified

    28 August at 16:00:19 MacBook-Pro configd [112]: [bootp_transmit.c:213] bootp_transmit(): bpf_write (en0) failed: network is down (50)

  • Replacing hard drive, have produced key but no paper copy of the OS...

    Hey,.

    I need to replace my hard drive because it starts having problems... my question is, with the computer, I bought it came with Vista home basic on it and I have the product key but no software for it.  I have seen someone elses post that you can call the manufacturer and ask for backup software.  However, my PC was by Frys Electronics, its basically a DIY PC.  I added all the material except that it came with the hard drive and the top OS already.  is there a way I can either DL version complete somewhere, so I can install it on the new hard drive and use my product key?  I really want to buy another OS, and I would not.  I just need to be able to install my new hard drive and everything changed.

    Hey,.

    I need to replace my hard drive because it starts having problems... my question is, with the computer, I bought it came with Vista home basic on it and I have the product key but no software for it.  I have seen someone elses post that you can call the manufacturer and ask for backup software.  However, my PC was by Frys Electronics, its basically a DIY PC.  I added all the material except that it came with the hard drive and the top OS already.  is there a way I can either DL version complete somewhere, so I can install it on the new hard drive and use my product key?  I really want to buy another OS, and I would not.  I just need to be able to install my new hard drive and everything changed.

    Hey Joshmanx

    There is no available vista download

    and as electronic frys manufactures the computer and you provided with your vista operating system it is their responsibility to provide you with the means to reinstall vista if necessary

    I suggest that you contact them for a vista dvd

    you could also borrow a vista microsoft dvd and use your product key to reinstall the vista version correct of him

    and brand name recovery discs isn't microsoft vista DVD

    Walter, the time zone traveller

  • Problem with log_file_name_convert

    Hello
    I have tried to create relief from database (oracle following guide). The two database are in the same ORACLE_HOME (SID: orcl for primary education, stan to standby). Files for primary education are in/u01/oradata/orcl and standby/u01/oradata/stan.

    I prepared the primary, generated database init.ora for controlfile sleep and.
    After you mount the database before, I checked what file are used.
    Database seems to be ok:
    SQL> select name from v$datafile;
    
    NAME
    /u01/oradata/stan/system01.dbf
    /u01/oradata/stan/undotbs01.dbf
    /u01/oradata/stan/sysaux01.dbf
    /u01/oradata/stan/users01.dbf
    But redologs not:
    SQL> select member from v$logfile;
    
    MEMBER
    
    /u01/oradata/orcl/redo03.log
    /u01/oradata/orcl/redo02.log
    /u01/oradata/orcl/redo01.log
    /u01/oradata/orcl/standby01.log
    /u01/oradata/orcl/standby02.log
    /u01/oradata/orcl/standby03.log
    Convert the settings in this database are:
    SQL> show parameter convert
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_file_name_convert                 string      orcl, stan
    log_file_name_convert                string      /u01/oradata/orcl/log, /u01/or
                                                     adata/stan/log
    What's wrong? Why redo log are not converted?

    Kind regards
    Krystian

    Because there is no corresponding journal name recovery ' / u01/oradata/orcl/log ". Why don't you use the same value as db_file_name_convert?

  • System user name and password recovery options

    Hi, looking for help to find my user name and password recovery system, I'm trying to factory reset my laptop, any information will be greatly appreciated, thanks siiinky

    Generally, you don't need to insert any user name or password when you start the recovery process...
    Usually, you must press ENTER to continue.

  • Default user name and password after destructive recovery

    I have just completed a full destructive recovery on my laptop, Windows Vista asks me a username and password but my old profiles were deleted, any ideas if there is a default name and password should I use?

    Hello

    If you have problems with the process of recovery of manufacturers, contact the manufacturer

    It's their recovery process not microsofts

  • HP recovery disk disk name change

    My P7-1026 b came with a hard drive 1 TB, divided into 3 areas: 100 MB for the SYSTEM, 920 + GB for the OS [C:] and 11 + GB for HP_RECOVERY [D:].  I just installed another hard disk of 1 TB and want to change the recovery of D: to something like r drive: and the name of my new DATA drive [D:].  I changed other names of secondary disk before and you still get a warning about programs not working not because they can be set up to search for program segments or data on the old disk designation and not new.  Since it does not change its physical location and recovery of the system is the only program that uses this location, will I have problems the HP_RECOVERY [D:] renaming to HP_RECOVERY [r]?

    Thank you

    Alex

    Hey, Alex:

    If you plan to use the recovery partition to restore your PC in case of need, it will not work if you rename the drive letter.

    Programming is designed to find the recovery disk D:\ partition

  • Recovery after disaster - new host names, locations of different files. -noob

    Hello

    I am a "junior dba' best, pardon the beginner questions.

    I'm learning works recovery after disaster before that I never do. My scenario is that I'm assuming the worse where I actually take backups RMAN backupsets and auto, copy them to a new computer, and all rise again.

    In the documentation, I read that it says that you should copy tnsnames.ora and listener.ora. My first question is my hostname dead.franklyn.bignose.ca machine "works, but pretending is dead" and the NEW machine has live.franklyn.bignose.ca. tnsnames and listener.ora both of course refers to old.franklyn.bignose.ca, so I do not know how to approach this problem.

    Second, the new machine is that a new installation of 11.2.0.3 and the db home in/u01/app/oracle/product/11.2.0/dbhome_1/ old one was an update of 11.2.0.1 11.2.0.3 so he lives at u01/app/oracle/product/11.2.0.3/dbhome_1/. I don't know how cranky that will make Oracle.

    Any comments or advice?

    My first question is my hostname dead.franklyn.bignose.ca machine "works, but pretending is dead" and the NEW machine has live.franklyn.bignose.ca. tnsnames and listener.ora both of course refers to old.franklyn.bignose.ca, so I do not know how to approach this problem.

    You must set your file listener.ora accordingly with respective host names. Say about the live host name, the listener.ora should have the hostname as living and dead server, the listener.ora must have the hostname as dead

    Second, the new machine is that a new installation of 11.2.0.3 and the db home in/u01/app/oracle/product/11.2.0/dbhome_1/ old one was an update of 11.2.0.1 11.2.0.3 so he lives at u01/app/oracle/product/11.2.0.3/dbhome_1/. I don't know how cranky that will make Oracle.

    It wouldn't matter. Only thing is, you must make the appropriate changes in the required files (say listener.ora).

    Refer to this

    http://learnwithme11g.WordPress.com/2011/12/20/creating-physical-standby-database-with-RMAN-duplicate/
    http://learnwithme11g.WordPress.com/2011/12/07/creating-a-physical-standby-database-11gr2-3/
    http://www.Oracle-base.com/articles/11g/DataGuardSetup_11gR2.php
    http://gavinsoorma.com/2010/03/17/create-standby-database-using-11g-duplicate-from-active-database/

  • Product name: HP ENVY 15 Noteb: recovery after upgrade to 10 section

    Upgrade to Windows 10 and I was wondering about my recovery disk section. He is also upgraded to 10 or if I used it, it is up to the plant win 8? Should I remove if it is always 8 and free up more space on the C: drive? I don't plan to return to 8 at this time. Appreciate any insite on this matter and thank you

    @John933

    http://blog.LapTopMag.com/delete-Windows-old-folder

    REO

  • I used the recovery disk for my windows vista and now my admin name and password do not work. Can I just switch to windows 7 or 8?

    When I turn on my pc it loads windows vista but somehow my name and my password do not work now.  I can go in safe mode, but it won't let me change the name or password.  I wonder if I can just get on with windows 7 or 8 without being able to access my current windows vista?

    Hi Sean,.

    Please follow the methods.

    Method 1:

    Follow the instructions from the link

    What to do if you forget your Windows password

    http://Windows.Microsoft.com/en-in/Windows-Vista/what-to-do-if-you-forget-your-Windows-password

    Method 2:

    Follow the instructions from the link

    Boot from the Windows 7 DVD to perform a custom with formatting the hard drive installation.

    Installation and reinstallation of Windows 7

    http://Windows.Microsoft.com/en-in/Windows7/installing-and-reinstalling-Windows-7

    NOTE: before starting the installation. should be ready for the worst case scenario that leads to your existing data on your current computer to delete. These data include data personal, settings, information about the hardware and software drivers. In case of a worst case scenario, you may have to reinstall all the programs. Make sure that you back up personal data to disks or other external storage devices before you start the installation.

    Reference links:

    System requirements Windows 8

    http://Windows.Microsoft.com/en-in/Windows-8/system-requirements

    How to upgrade to Windows 8

    http://Windows.Microsoft.com/en-in/Windows-8/install#1TC=T1

     

  • Recovery of phone contact names using the number of the person

    Hello everyone!

    I'm working on a SMS application.

    My problem is...

    I want to replace the number (in my Application, Outbox Inbox) name if this contact is in the list of contacts from my blackberry...

    As if I get a text from 909037372 and if I have a contact named "Mike" stored in the native contacts from my phone list with that number. So, what I'm trying to implement is that Messages right. in the Inbox of/Iutbox my request should be replaced by "Mike" instead of display "909037372" as is the case in real Inbox and the outboxes...

    Help, please! I need...

    Thanks in advance...

    You can use the searchByNumber to contactlists. or use a workaround, create a phonecalllog with the number and see if it has a name (the name is provided by the infrastructure of system)

  • Names of recovery SRM data store

    I just did a full restore on some demo servers and data warehouses on the side of recovery mounted with snap-< number > - DatastoreName...  Is this normal?

    Yes this is normal - ESX on any volume resigned proceeds to indicate that it was a copy and has a new signature. See the thread next to the advanced option to change it.

    http://communities.VMware.com/message/1876460

  • Cloud SCORM learning name for the certificate of recovery

    Salvation;

    I tried to retrieve the name of the learner to LMS to create the training certificate; I added a function for the "cmi.learner_name" in scorm_support.js; called this a slide settings Java script onload function, but it returned 0.

    When I studied by registration of the SandBox in Scorm cloud for training; It shows the cmi.learner_name variable, and its value is defined as the registered name. in the debug log report. It is said

    + [07:46:28.414] ('cmi.learner_name') LMSGetValue returned "in 0.001 seconds

    [07:46:28.414] CheckForGetValueError (cmi.learner_name, cmi.learner_name),

    [07:46:28.415] SCORM ERROR FOUND - Set error status: 201 - the parameter 'cmi.learner_name' is not recognized.

    so the function has been called correctly from the Captivate and scorm_support.js but has not answered correctly by Scorm cloud;

    Any help on this is appreciated;

    Sandbox registration State:

    Static data

    • CMI.completion_threshold:
    • CMI.launch_data:
    • CMI.learner_id: [email protected]
    • CMI.learner_name: Najeeb Haider
    • CMI.max_time_allowed: 0001:00:00
    • CMI.scaled_passing_score: 80
    • CMI.time_limit_action: ExitMessage

    Debug log:

    [07:41:53.659] preliminary assessment of activity Course_ID1_ORG start

    [07:41:53.660] preliminary assessment of activity Course_ID1_ORG start

    [07:41:53.660] preliminary assessment of activity SCO_ID1 start

    + [07:43:30.307] LMSInitialize ("") returns "true" in 0.001 seconds

    + [07:43:30.311] LMSGetValue('cmi.core.lesson_status') returned "not attempted" to 0.002 seconds

    + [07:43:30.313] LMSSetValue ('cmi.core.lesson_status', 'incomplete') returns 'true' to 0.004 seconds

    [07:43:30.468] preliminary assessment of activity Course_ID1_ORG start

    [07:43:30.468] preliminary assessment of activity Course_ID1_ORG start

    [07:43:30.468] preliminary assessment of activity SCO_ID1 start

    + [07:43:30.533] ('cmi.core.lesson_location') LMSGetValue returned "in 0.001 seconds

    + [07:43:30.567] LMSGetValue ('cmi.core._children') returned "student_id, student_name, lesson_location, credit, lesson_status, entry, total_time, lesson_mod e, exit, session_time, note" in 0 seconds

    + [07:43:30.600] ('cmi.suspend_data') LMSGetValue returned "in 0.001 seconds

    + [07:43:30.633] LMSGetValue ('cmi.interactions._children') returned "id, objectives, duration, type, correct_responses, weight, student_response, result, latency" in 0 seconds

    + [07:43:30.667] LMSGetValue ('cmi.interactions._count') returns '0' in 0.001 seconds

    + [07:43:30.700] ('cmi.launch_data') LMSGetValue returned "in 0 seconds

    + [07:43:30.738] ('cmi.objectives._count') LMSGetValue returned '0' to 0 seconds

    + [07:43:30.767] ('cmi.core.lesson_location') LMSGetValue returned "in 0 seconds

    + [07:43:30.800] LMSGetValue('cmi.core.score._children') returned "raw, min, max" in 0 seconds

    + [07:43:30.843] ('cmi.core.score.raw') LMSGetValue returned "in 0.002 seconds

    + [07:43:30.867] ('cmi.core.score.min') LMSGetValue returned "in 0 seconds

    + [07:43:30.900] ('cmi.core.score.max') LMSGetValue returned "in 0 seconds

    [07:43:30.900] CheckForGetValueError (cmi.core.score.max, cmi.core.score.max),

    [07:43:30.900] call is error-free.

    [07:43:30.900] RetrieveGetValueData (cmi.core.score.max, cmi.core.score.max),

    [07:43:30.900] element is: score.max

    + [07:44:27.276] LMSCommit ("") returns "true" in 0.001 seconds

    + [07:44:30.264] LMSCommit ("") returns "true" in 0 seconds

    + [07:46:28.358] LMSCommit ("") returns "true" in 0.001 seconds

    + [07:46:28.414] ('cmi.learner_name') LMSGetValue returned "in 0.001 seconds

    [07:46:28.414] CheckForGetValueError (cmi.learner_name, cmi.learner_name),

    [07:46:28.415] SCORM ERROR FOUND - Set error status: 201 - the parameter 'cmi.learner_name' is not recognized.

    + [07:46:28.418] ('cmi.learner_id') LMSGetValue returned "in 0 seconds

    [07:46:28.418] CheckForGetValueError (cmi.learner_id, cmi.learner_id),

    [07:46:28.418] SCORM ERROR FOUND - Set error status: 201 - the parameter 'cmi.learner_id' is not recognized.

    + [07:46:50.82] LMSSetValue ('cmi.interactions.0.id', '179008') returns 'true' in 0.007 seconds

    + [07:46:50.132] LMSSetValue ('cmi.interactions.0.time', ' 07: 46:50') returns 'true' in 0.001 seconds

    + [07:46:50.164] LMSSetValue ('cmi.interactions.0.type', 'choice') returns 'true' in 0.001 seconds

    + [07:46:50.197] LMSSetValue ('cmi.interactions.0.correct_responses.0.pattern', 'A') returns 'true' in 0.001 seconds

    + [07:46:50.233] LMSSetValue ('cmi.interactions.0.weighting', 10') returns 'true' in 0 seconds

    + [07:46:50.264] LMSSetValue ('cmi.interactions.0.student_response', 'A') returns 'true' in 0 seconds

    SCORM1.2 has two variables identified for the name of the learner and the ID and were not what I spent. I've corrected and he started to work very well;

    For future reference;

    in scorm_support.js write the following function

    function scorm_get (cmivalue, whichval) {}

    Get the name of SCORM 1.2

    var Val = g_objAPI.LMSGetValue (cmivalue);

    Send the name of Captivate via ExternalInterface

    document.getElementById("Captivate").cpEISetValue (whichval,

    Val);

    }

    Now you can call any parameter of LMS via the next statement to execute Javascript' action to any of the user variable.

    scorm_get ('SCORM Variable', 'Captivate User Variable');

    List of Scorm variables are available in the reference of RTE; It is found at the following link

    http://SCORM.com/SCORM-explained/technical-SCORM/run-time/run-time-reference/

    Once you have called the data in the variable. You can use the variable in the text box between signs such as $ $$ $VariableName$ $ to show the value you want.

    references;

    https://groups.Google.com/Forum/#! 2VuQ6XJoJ msg/e-Learning-technology-and-development/BWfJkUzTv9k / 18 X

    http://SCORM.com/SCORM-explained/technical-SCORM/run-time/run-time-reference/

  • Change DNS data recovery device name

    I like a clear designation of all systems that I managed.

    This is why I would like to know, if it is supported to rename "localhost". If so, how?

    Thank you

    André

    I noticed that if you do not have a DNS entry for the host name, then change the host name to localhost.localdom.

    There is a script/opt/vmware/share/vami/vami_set_hostname, that gets run when starts. Does a search of dns rev for the IP as follows:

    Home w 10 t < ip > eth0

    If DNS does not resolve this request for ip address, it sets the hostname to localhost.localdom

    Make sure that your DNS server can resolve the rev (and fwd) entered for this host name lookup

    If you cannot configure your DNS with the name of host/ipaddr of this unit and still want the name to persist, you can try the following steps (note that only is not supported or validated by VMware)-I've tried it in my test environment and it seems to work

    Once you have set to day/etc/hosts, / etc/hostname, sysconfig to your settings

    CD/opt/vmware/share/vami

    CP vami_set_hostname vami_set_hostname.orig

    Put the following 4 lines in comment in vami_set_hostname (from line 54 of file)

    1. $ CP $HOSTFILE

      1. v grep ' ^ 127.0.0.1 "< $"

      .orig .orig > $HOSTFILE

    1. echo "$127.0.0.1 HN. $DN $HN localhost' > > $HOSTFILE

    1. echo "$FQDN" > $HOSTNAMEFILE

    This will ensure that this script does not overwrite the files whenever the device is restarted.

    I have the following in my camera (I don't use DHCP, but have a static ip address setting)

    a. update the file/etc/hosts as you like

    127.0.0.1 localhost

    < ip > < hostname > < FQDN >

    b. update the file/etc/hostname with the FQDN

    c. update the sysconfig to change the following

    Host name = < host name >

    DOMAINNAME = < domain_name >

    d. update the sysconfig to change the following

    DEVICE = eth0

    BOOTPROTO = none

    ONBOOT = yes

    TYPE = Ethernet

    IPADDR = < ip of the device >

    NETMASK = < netmask for device >

    GATEWAY = < gateway ip addr >

    = < Addr broadcast > BROADCAST

Maybe you are looking for

  • HP LaserJet Pro M127fn MFP

    Has the HP LaserJet Pro MFP M127fn for about a week for business, now will not print fax rec'd, shows message 'Memory Supply warning', how do I fix this, please help, thank you.

  • 15 b011nr: 15 - HP b011nr with windows 7

    A friend asked me to install windows 7 on his laptop (15-b011nr) because he doesn't like windows 8.1 or 10. Are there compatible graphics drivers that are compatible with this configuration? I tried to download the intel hd graphics product page driv

  • DVD disc not visible / Ko 314060 necessary clarification

    Background: following a fresh install of Windows 7 on a new hard drive, the DVD drive in my laptop (Dell XPS M1730) was not visible. I bought the laptop computer with an earlier version of windows, and everything worked normally until the original ha

  • Account does not exist or is already in use

    It's going round in circles, I have the same problem, I deleted my account in error by misinterpretation ms it. I can't in my laptop now, as it won't let me past the sign saying the username does not exist. I tried to create a new account with this e

  • My extention installed not through CC site.

    I wrote an extension that I would like to distribute, after tests and publish on Adobe Exchange , the Panel moved no CC.Successfully, I got the digital signature and place the files in the folder appropriate to CEP/Extensions manually on multiple com