Sponsored Content
Operating Systems Linux Unique Linux ID in virtualized environment Post 302910294 by Corona688 on Wednesday 23rd of July 2014 12:32:05 PM
Old 07-23-2014
It doesn't. It's a unique ID that's usually generated on install, but it can be duplicated. (For that matter, so can the Windows GUID!)

I don't think you can guarantee a unique ID in a virtualized environment, unless you generate a fresh ID every boot.

Last edited by Corona688; 07-23-2014 at 02:42 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

System environment Path in Linux

HI there people!! I'm really new with this great OS. I just installed a RedHat Linux 7.1 on my unit. Got it to work on dual boot with my Windows 2000. And I have some problem... how do i change/modify the system environment path? Thanks... and sorry for the ignorance ;) (5 Replies)
Discussion started by: spine_me
5 Replies

2. UNIX for Dummies Questions & Answers

how to set up linux environment variables?

Hi I'm using Linux, in the directory /root/my there is a.out. but when I try to run it , the shell indicate "bash:a.out: command not found" but I AM working in this directory. if I use "./a.out" , it works perfectly. can any body tell me how to do a permanent set up so that I can use... (5 Replies)
Discussion started by: dell9
5 Replies

3. UNIX for Advanced & Expert Users

Mail Receiving issue in linux Environment

we got one critical issue in job scheduling.we are migrating one application from solaris environment (Current PROD) to SUSE linux 9 environment (New or ported PROD).The application actually schedules the job by filtering the subject of the incoming mail (using PROCMAIL).Here incoming mail is... (0 Replies)
Discussion started by: prisaras
0 Replies

4. UNIX for Dummies Questions & Answers

Linux Dev environment for c/c++ on Fedora 10

Hello I have never used linux before and I am a bit confused as to what I am doing. I have been asked to port over some of our in house sdk to linux. Currently I am using .Net and c++. I have installed Fedora 10 on my computer and got that up and running nicely. I also installed eclipse for my... (1 Reply)
Discussion started by: morty346
1 Replies

5. Shell Programming and Scripting

sed command working different in linux environment.

Hi I tried running the code scrname=`whence $0 | sed -e 's/\.\///g'` where $0 is substituted by cm_dsjobrun.sh in unix env then the value it returns me is SCRNAME=/data/ds/dpr_ebicm_uat/etl/cm3_0/scripts/shell/cm_dsjobrun.sh whereas i ran the same code on linux env The value... (9 Replies)
Discussion started by: vee_789
9 Replies

6. Shell Programming and Scripting

select unique values from duplicates in linux

I have values in the variable as so the for loop just fetches one by one params=$'$HEW_SRC_DATABASE_LIB\nprmAttunityUser\nprmAttunityPwd\nprmODBCDataSource\nprmLoadInd\nprmSrc_Lib_ATM\nprmODBCDataSource_ATM' and i have a grep command like this ret=`grep \$y $pf` ... (0 Replies)
Discussion started by: vee_789
0 Replies

7. UNIX for Dummies Questions & Answers

setting a environment variable on linux

I want to set a enviroment variable VDC_DIR to a particular directory. I am doing it as export VDC_DIR=/abc it gets set but when i logout and do relogin than its not there. one way could be setting it in .profile file. but i have seen it on another box where it is not present in... (2 Replies)
Discussion started by: Jcpratap
2 Replies

8. HP-UX

Unique ID on HPUX in visualized environment?

Hi I need to know what is the unique identifier for HPUX OS even in a virtualized environment? Thanks (0 Replies)
Discussion started by: skyineyes
0 Replies

9. Solaris

Unique ID on Solaris in visualized environment?

Hi I need to know what is the unique identifier for solaris OS even in a virtualized environment? Will "Using Universally Unique Identifiers" help? virtinfo -u Domain UUID: 9db53f14-f27c-69f9-a71c-8926e9ae6eed If Not, then let me know? Would appreciate if similar UNIQUE id (of... (3 Replies)
Discussion started by: skyineyes
3 Replies
Data::GUID(3pm) 					User Contributed Perl Documentation					   Data::GUID(3pm)

NAME
Data::GUID - globally unique identifiers VERSION
version 0.046 SYNOPSIS
use Data::GUID; my $guid = Data::GUID->new; my $string = $guid->as_string; # or "$guid" my $other_guid = Data::GUID->from_string($string); if (($guid <=> $other_guid) == 0) { print "They're the same! "; } DESCRIPTION
Data::GUID provides a simple interface for generating and using globally unique identifiers. GETTING A NEW GUID
new my $guid = Data::GUID->new; This method returns a new globally unique identifier. GUIDS FROM EXISTING VALUES
These method returns a new Data::GUID object for the given GUID value. In all cases, these methods throw an exception if given invalid input. from_string my $guid = Data::GUID->from_string("B0470602-A64B-11DA-8632-93EBF1C0E05A"); from_hex # note that a hex guid is a guid string without hyphens and with a leading 0x my $guid = Data::GUID->from_hex("0xB0470602A64B11DA863293EBF1C0E05A"); from_base64 my $guid = Data::GUID->from_base64("sEcGAqZLEdqGMpPr8cDgWg=="); from_data_uuid This method returns a new Data::GUID object if given a Data::UUID value. Because Data::UUID values are not blessed and because Data::UUID provides no validation method, this method will only throw an exception if the given data is of the wrong size. IDENTIFYING GUIDS
string_guid_regex hex_guid_regex base64_guid_regex These methods return regex objects that match regex strings of the appropriate type. from_any_string my $string = get_string_from_ether; my $guid = Data::GUID->from_any_string($string); This method returns a Data::GUID object for the given string, trying all known string interpretations. An exception is thrown if the value is not a valid GUID string. best_guess my $value = get_value_from_ether; my $guid = Data::GUID->best_guess($value); This method returns a Data::GUID object for the given value, trying everything it can. It works like "from_any_string", but will also accept Data::UUID values. (In effect, this means that any sixteen byte value is acceptable.) GUIDS INTO STRINGS
These methods return various string representations of a GUID. as_string This method returns a "traditional" GUID/UUID string representation. This is five hexadecimal strings, delimited by hyphens. For example: B0470602-A64B-11DA-8632-93EBF1C0E05A This method is also used to stringify Data::GUID objects. as_hex This method returns a plain hexadecimal representation of the GUID, with a leading "0x". For example: 0xB0470602A64B11DA863293EBF1C0E05A as_base64 This method returns a base-64 string representation of the GUID. For example: sEcGAqZLEdqGMpPr8cDgWg== OTHER METHODS
compare_to_guid This method compares a GUID to another GUID and returns -1, 0, or 1, as do other comparison routines. as_binary This method returns the packed binary representation of the GUID. At present this method relies on Data::GUID's underlying use of Data::UUID. It is not guaranteed to continue to work the same way, or at all. Caveat invocator. IMPORTING
Data::GUID does not export any subroutines by default, but it provides a few routines which will be imported on request. These routines may be called as class methods, or may be imported to be called as subroutines. Calling them by fully qualified name is incorrect. use Data::GUID qw(guid); my $guid = guid; # OK my $guid = Data::GUID->guid; # OK my $guid = Data::GUID::guid; # NOT OK guid This routine returns a new Data::GUID object. guid_string This returns the string representation of a new GUID. guid_hex This returns the hex representation of a new GUID. guid_base64 This returns the base64 representation of a new GUID. guid_from_anything This returns the result of calling the "from_any_string" method. TODO
o add namespace support o remove dependency on wretched Data::UUID o make it work on 5.005 AUTHOR
Ricardo SIGNES, "<rjbs@cpan.org>" BUGS
Please report any bugs or feature requests to "bug-data-guid@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. COPYRIGHT
Copyright 2006 Ricardo Signes, All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-01-18 Data::GUID(3pm)
All times are GMT -4. The time now is 10:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy