@Tom-Elliott
Do I break the Data store up into 5 different data stores in ESXi, or leave it a single Data store and create 5 different storage nodes from the single data store?
Posts made by vkenny
-
RE: Mounting /images/dev Permission Denied
-
RE: Mounting /images/dev Permission Denied
So how are the storage Nodes synced? If I create an image in lets say “Room 1” but want to deploy that image to say “Room 2” will this be possible?
-
RE: Mounting /images/dev Permission Denied
@george1421
Each FOG VM is setup to have access to a specific VLAN through Virtual Switch and Port Group. We have that setup already. -
RE: Mounting /images/dev Permission Denied
I have removed the remote Windows server from the mix. I have added a PERC into the ESXi server that houses my FOG VM’s and connected the Disk Shelf directly into the ESXi host. Have created the Data Store in ESXi.
Now I need to make this Data Store available to 5 different FOG VM’s but with access to the entire storage system across all VM’s. I need to have all VM’s able to access all images.
I know the next question is going to be why do you need 5 FOG VM’s. The reason is we have 5 independent networks that cannot be accessed by any other. Each network is on a different VLAN with different IP schema.
Does anyone know of a FOG Wiki or otherwise that will assist with making this happen?
The Windows remote server didn’t work, and ended up being more trouble than it is worth. We gave up and decided to hook the disk shelf directly into the ESXi host.
-
RE: Windows server as FOG Storage Node - proof of concept blog
@george1421 Where is “Location Management” is that relating to an older version of FOG that no longer has this or am I completely missing something?
-
RE: Mounting /images/dev Permission Denied
@Junkhacker yes. poor choice of words on my part. I should have said creation of a “Deployment Solution”.
-
RE: Mounting /images/dev Permission Denied
I think i will revert to a snapshot and follow the instructions initially provided by george1421 and see where this gets me. If it doesn’t work, we will perhaps rethink the architecture. Whatever the case, i will attempt to provide details on the procedure we used once we get it up and running.
-
RE: Mounting /images/dev Permission Denied
@Tom-Elliott By all accounts you are correct. Problem is the security team sets parameters that I must follow. They are not going to spend the necessary time to STIG my Linux server and i cannot just do whatever i wish, certain things are set in place, and i must work within.
-
RE: Mounting /images/dev Permission Denied
Awesome!! How do i change these permissions, and what shall i change them to?
I thought if i have “Everyone” (In Windows) to be able to access the CIFS and have the fog user as an admin this would rectify the permission issue.
-
RE: Mounting /images/dev Permission Denied
I need a Windows server containing the Storage node so, if required, someone with no *nix experience can drop images, software etc… on the storage server.
I also need the Windows server where the images are stored to have certain security protocols in place that are only officially approved for Windows. They also have these protocols for REDHAT but the licensing costs required was not approved.
Further, i need this storage node to provide storage to 5 FOG VM’s. I have an enterprise setup with 5 different VLANs and need a FOG VM for each VLAN, but need the images to be available to all VLANs/FOG VMs.
I am still getting the Permission Denied even though “Everyone” can access the CIFS shared drive… I’m so close yet so far.
Time is running out for the network maps and submission of a proof of concept. There has to be a way…
-
RE: Mounting /images/dev Permission Denied
ran it with -X and it bypassed the storage setup which indicates failed when script is running. The /images directory still does not have the correct permissions.
what’s more is when I try to chmod or chown the /images directory I get permission denied even though I’m root, and the user used to mount cifs in fstab is in the administrators group in windows with full control.
-
RE: Mounting /images/dev Permission Denied
error log:
chmod: changing permissions of ‘/images’: Permission denied
chown: changing ownership of ‘/images’: Permission denied -
RE: Mounting /images/dev Permission Denied
@george1421
since I’m so close at this point, do you have any ideas on my previous post before I burn everything down and start over with your proof of concept… -
RE: Mounting /images/dev Permission Denied
@george1421 it says at the end of the comments you are at a stand still. Does this work?
ref: https://forums.fogproject.org/topic/6941/windows-server-as-fog-storage-node-proof-of-concept-blog -
RE: Mounting /images/dev Permission Denied
alright. so I mounted the Windows share as cifs. I can add and remove directories to the mounted share with no issues. I made and deleted directories to assure I was connected.
UUID=ca0220ba-82d7-434f-9231-74ba18706ac1 / ext4 defaults 1 1
UUID=20a99d10-8d99-429c-82b7-4c8655a22d22 swap swap defaults 0 0
//169.254.91.1/FOG-Share /images cifs username=fog_user,password=ThePasswordForFog_User,_netdev,defaults,user,auto,intr 0 0then I ran the fogsetup script again and received this:
-
You still need to install/update your database schema.
-
This can be done by opening a web browser and going to:
-
Press [Enter] key when database is updated/installed.
-
Setting up storage…Failed!
any ideas?
-
-
RE: Mounting /images/dev Permission Denied
Right. After 50 times of telling me I understand what you are saying. Problem is I’m now at a stand still because I don’t know a solution. Is there something else I can do to use this NFS Share as an image repo?
-
RE: Mounting /images/dev Permission Denied
ok, so I’m sorry this is confusing me, I’m just not grasping the direction you are providing. Sometimes I need to be told like I’m 5 yrs old… What it sounds like to me that you are saying is that I cannot use an NFS Share as a repository for images which I know is not the case…
If you could give me a few directions to follow I would be very grateful.
I also have to say the almost instant turn around in responses is exceptional. Thank you very much for such a solid support system. You guys rock!
-
RE: Mounting /images/dev Permission Denied
@vkenny said in Mounting /images/dev Permission Denied:
So if I make my /etc/fstab look like this:
$ cat /etc/fstab
UUID=ca0220ba-82d7-434f-9231-74ba18706ac1 / ext4 defaults 1 1
UUID=20a99d10-8d99-429c-82b7-4c8655a22d22 swap swap defaults 0 0
169.254.91.1:/FOG-Share /FOG-Share nfs _netdev,defaults,user,auto,noatime,intr 0 0
169.254.91.1:/FOG-Share /images nfs _netdev,defaults,user,auto,noatime,intr 0 0then complete the necessary steps to change the storage node, this should work?
Or if not what should I do? -
RE: Mounting /images/dev Permission Denied
right, It will work if I re-run the installer now and will create /images on local storage instead of the NFS Share.
Please explain in a bit more detail how I’m re-sharing an NFS Share. Its simply an NFS share from my Windows server to the FOG server. Does FOG somehow create a share? If so how would I use an NFS share as the primary repo for the images?
I’m am not connecting what I’ve done with your response that I’m re-sharing an NFS share…