Is there a way where we can parameterize fastname in apt config file based on the server name on which the DS job is running?
I tried using uname -n in the fastname "" but it does not seem to be working. Even assigning a variable the value of uname -n and then recalling it also does not work. Has anyone tried this before?
E.g.
{
node "node1"
{
fastname "`uname -n`"
pools ""
resource disk "/usr/appl/datasets" {pools ""}
resource scratchdisk "/usr/appl/scratch" {pools ""}
}
}
Parameterize Fastname in APT Config file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
No. The configuration file is simply read when job execution is requested. No resolution of parameters or shell techniques is supported.
You could, of course, script something to rewrite the configuration file but, since it's only ever changed once per server, why would you bother?
You could, of course, script something to rewrite the configuration file but, since it's only ever changed once per server, why would you bother?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.