6 Posts
0
1201
January 9th, 2023 00:00
PowerEdge and asset tag
Hello Everyone ,
i am new to this forum and hope someone can help me
we have a list of servers in our environment and was wondering if there is a way to have a command line utility or a script that i can use to set the Asset tag on all the servers.
we are talking about a long list so if there any way to automate this via a script and pending a reboot would be appreciated



ichen
1 Rookie
•
8 Posts
0
January 22nd, 2023 00:00
Yeah, don't listen to these other guys. They clearly aren't reading or understanding your question. Since you want to script it, you'll want to use racadm. The command is going to look like this:
After that, you'll want to create a job like this:
And then reboot the machine since most BIOS changes require a reboot. Not sure if this one does or not. You should test this first, of course.
How you wrap your script will be up to your scripting skills, preferred language, or environment. I use python with pexpect to simulate an interactive session. I use a lot of regex and catch expected output from racadm. Beware that output may vary from generation to generation (e.g. iDRAC8 and iDRAC9 have different output strings).
DELL-Marco B
Moderator
•
4K Posts
0
January 9th, 2023 10:00
Hello,
what you mean as Asset Tag? If you are talking about service tag it doesn't exists.
Thanks
Amr_Vdell
6 Posts
0
January 18th, 2023 01:00
hey Marco,
no i m ean there is an option if go within the BIOS menu to edit a field called Asset tag, that is different than Service tag which is hard coded and need to be changed if the mother board was changed
DELL-Marco B
Moderator
•
4K Posts
0
January 18th, 2023 02:00
Hello,
no unfortunately it doesn't exist such command to set Asset tag on all the servers.
Regards
Praveen.Singh
3 Apprentice
•
483 Posts
0
January 20th, 2023 01:00
Not all Power Edge allow for Service Tag editing. On Gen 13 and higher, many do.
Enter the Service Tag into the field provided, exit and save the changes
6. Switch off the server and put the PWRD_EN jumper back to its default position.
Hope this helps
DELL-Shine K
4 Operator
•
3K Posts
1
January 22nd, 2023 04:00
Response from ichen will work. I can confirm setting asset tag also need a system reboot to apply. Can you share the system model and iDRAC/BIOS FW version you have on the server
Amr_Vdell
6 Posts
0
February 13th, 2023 02:00
heey Shine ,sorry for the late reply , i was on a long vacation . just catching up to work since last week.
my servers are all iDRAC9 , BIOS FWs for all different models ( R440 , R640, M640 ...etc ) are variant but non are older than june last year