Unique ID on Solaris in visualized environment?


 
Thread Tools Search this Thread
Operating Systems Solaris Unique ID on Solaris in visualized environment?
# 1  
Old 07-23-2014
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 course in virtualized environment) is told for
a) AIX
b) Linux
c) HPUX
as well.

Thanks
# 2  
Old 07-23-2014
The classic Solaris command
Code:
hostid

is HW-bound.
If you just want a unique ID I suggest this portable method:
Code:
cksum /etc/hosts | awk '{print $1}'

or
Code:
uname -n | cksum | awk '{print $1}'

# 3  
Old 07-23-2014
Hi

Thanks for the reply. But i need a unique ID under virtualization. and that too constant for a particular instance if run multiple times on single instance
# 4  
Old 07-23-2014
How about the ethernet address of the first (virtual) NIC on each host?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Setup print environment in Solaris 11

Hi Experts, Please help me on this. I've a print environment using NIS in Solaris 10. Recently we have new JDE environment which using Solaris 11 OS, and found that we can't use NIS anymore. So only the option is using CUPS. How do we integrate this print environment for both Solaris 10... (9 Replies)
Discussion started by: srigias
9 Replies

2. Linux

Unique Linux ID in virtualized environment

Hi I need to know what is the unique identifier for Linux OS even in a virtualized environment? eg like Machine GUID for windows. I need to know something similar for linux, AIX, Solaris in virtualized environment. Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies

3. 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

4. Solaris

Back up solution in Solaris 10 environment

Hi Friends, Good day! This is my first post in this forum :) In my company we have a requirement for back up application specific files and directories .We have around 40+ application which needs to be backed up .All these applications are running on Solaris 10 enviornment. Is... (8 Replies)
Discussion started by: Abilash_KP
8 Replies

5. Solaris

Setting up Java environment on VMware Solaris 10

Hello chings , Oracle Solaris OS Install (JDK) My host is win7 X64 and guest is solaris 10 X64 . My share file name is sharefile10 I unzip the file from host so I dont need type tar or gzip command through solaris . I have downloaded JDK from oracle offical website and the name : ... (4 Replies)
Discussion started by: SSUUser
4 Replies

6. Shell Programming and Scripting

Cron not inherting the environment in solaris 2.5.1

Solaris 2.5.1 I have written a shell script that creates a tar file and then ftp's the file to an other box. The shell script perfectly executes when run manually through terminal. But when i schedule it through cron, its not executing and showing exit code RC =1 in cron log. I have added the... (3 Replies)
Discussion started by: venu
3 Replies

7. UNIX for Advanced & Expert Users

File Auditing in Sun Solaris environment

Hi All, I have a requirement to report us on changing a group of static files. Those are the binary files that run in Production every day. Due to the in sercure environment situations, I found many are indulging in there own changes to the binaries by doing some changes in the souce code. ... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies

8. Shell Programming and Scripting

Copy unique files between two directories in Solaris

Hi, My requirement is to have a shell script: SOURCE_DIR=/usr/logs/restore/ --> Contains multiple subdirectories TARGET_DIR=/usr/data/logs --> Existing folders which contain similar subdirectories I want to copy only newer or uniquie files which are present in $SOURCE_DIR and its... (2 Replies)
Discussion started by: sujoy101
2 Replies

9. UNIX for Dummies Questions & Answers

Solaris 10.0 PATH environment

Hello, I am using Solaris 10.0 and defining PATH on command line by the following way: #export PATH=/usr/sfw/bin.... ...but after restart, Solaris forgets what I defined and I need to re-define the same PATH environment. I want to to get defined my PATH environment during booting... (10 Replies)
Discussion started by: XNOR
10 Replies
Login or Register to Ask a Question