fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

BOOTPROTO=dhcp in NFS node em1 iface #164

Closed A1ve5 closed 7 years ago

A1ve5 commented 7 years ago

this is bad when we do a full cluster restart. NFS node needs to be the first to boot and if install node is down it doesn't get an IP.

BOOTPROTO=static with all network settings set is the way to make this fool proof

martbhell commented 7 years ago

Updated the default ansible variables. What do you think? I have not tested this update on our test system in https://github.com/CSC-IT-Center-for-Science/fgci-ansible/commit/c25aef419119741506d1fe55452a694ec16fd806 Should we leave the kickstart settings as they are?

A1ve5 commented 7 years ago

Looks good. I'll have to have a deeper look on kickstart settings, but after installation we should static IPs ASAP.

From: "Johan Guldmyr" notifications@github.com To: "CSC-IT-Center-for-Science/fgci-ansible" fgci-ansible@noreply.github.com Cc: "Luis Sequeira Alves" luis.alves@csc.fi, "Author" author@noreply.github.com Sent: Monday, 31 October, 2016 13:10:48 Subject: Re: [CSC-IT-Center-for-Science/fgci-ansible] BOOTPROTO=dhcp in NFS node em1 iface (#164)

Updated the default ansible variables. What do you think? I have not tested this update on our test system in [ https://github.com/CSC-IT-Center-for-Science/fgci-ansible/commit/c25aef419119741506d1fe55452a694ec16fd806 | c25aef4 ] Should we leave the kickstart settings as they are?

— You are receiving this because you authored the thread. Reply to this email directly, [ https://github.com/CSC-IT-Center-for-Science/fgci-ansible/issues/164#issuecomment-257267842 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AHwZASMHTLsFZXjzS2Z3SEHkRxhrpAXVks5q5cy4gaJpZM4KVuh2 | mute the thread ] .

Luís Alves

System Specialist . CORE Group Finnish Grid and Cloud Infrastucture (FGCI) . NGI_FI @ EGI.eu CSC - IT Center for Science, Ltd. . FINLAND Phone: +358 (0) 503 812 519 . http://www.csc.fi

martbhell commented 7 years ago

Think we also need to set defroute and gateway 1 Set it to {{ int_gateway }} Anything else we might have forgotten?

martbhell commented 7 years ago

Changes pushed to devel in https://github.com/CSC-IT-Center-for-Science/fgci-ansible/commit/1cf2c172b5749f24e0a1ce1a37cb2dab7d235c32 The NFS node is provisioned via kickstart and DHCP/PXE boot, having kickstart configure DHCP interfaces initially isn't that bad I think, ansible will later set them to static. Closing this issue for now.